15,917,177 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 12177493 (Top 1 by date)
Member 12177493
3-Dec-15 9:02am
View
Shall I write my batch file as below after my rmcobol compilation?
runcobol PROGRAM1.COB /usr/rmcobol/indata/FILE1 /usr/rmcobol/outdata/file1.txt
runcobol PROGRAM2.COB /usr/rmcobol/indata/FILE2 /usr/rmcobol/outdata/file2.txt
runcobol PROGRAM3.COB /usr/rmcobol/indata/FILE3 /usr/rmcobol/outdata/file3.txt
runcobol PROGRAM4.COB /usr/rmcobol/indata/FILE4 /usr/rmcobol/outdata/file4.txt
runcobol PROGRAM5.COB /usr/rmcobol/indata/FILE5 /usr/rmcobol/outdata/file5.txt
runcobol PROGRAM6.COB /usr/rmcobol/indata/FILE6 /usr/rmcobol/outdata/file6.txt
runcobol PROGRAM7.COB /usr/rmcobol/indata/FILE7 /usr/rmcobol/outdata/file7.txt
runcobol PROGRAM8.COB /usr/rmcobol/indata/FILE8 /usr/rmcobol/outdata/file8.txt
My question is here - How do i pass every input/output path to cobol program in runtime.
I think we need to do with Linkage section to pass variable in runtime. I am not sure this concept. How will I tell this to unix that this is my input path/output path of COBOL program when run time?
Hope I am not confused you :)