Thank you for that.
So effectively it is the order of the input filenames as defined in File-Control and the order they are passed into the program. Purely positional?
Ok, that would do it. :-)
Now in the example above, there were two files, so how does the program know which is which?
How does FILE-NAME and FILE-NAME1 get defined please.
I was thinking of just copying whatever file I needed to process to the hardcoded named file. :-)
Hi all, newbie here to the forum.
Retired now and was an old Analyst Programmer on Bull DPS7, using COBOL, JCL etc.
Decided to just play around with COBOL for fun and downloaded the GNU Cobol IDE.
I was wondering however, just a thought, how does PC Cobol handle different files?
In the DPS7...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.