Hello, I am learning COBOL and am having trouble reading and writing to files.
From my understanding it works something like this
INPUT OUTPUT SECTION.
SELECT RRR ASSIGN TO FILE.
OPEN EXTEND RRR.
I am having trouble getting the file to link. I have seen some documentation saying that the JCL must link to the actual file. I am compiling using OpenCOBOL on a GNU/Linux system so I am not doing anything with JCL. Do I have to emulate a mainframe running JCL to get this to work? Is there any way to get it to work in my environment? What kind of file formats are supported? Thank you.