Hi all,
I am using TinyCOBOL on a local Linux FC3 distro to compile my cobol progs. I need help regarding the syntax to be used in the FD statement. How do I bind the cobol file name with an actual external file in the file system.
I have tried SELECT myFile ASSIGN TO DISK and then
FD myFile LABEL RECORDS ARE STANDARD EXTERNAL FILE IS 'infile'. This gives me a SEGMENTATION FAULT error on compiling. If I don't give the external file clause it throws the error that no external file is assigned. How to solve this ?
All responses welcome.
Thanks!!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I am using TinyCOBOL on a local Linux FC3 distro to compile my cobol progs. I need help regarding the syntax to be used in the FD statement. How do I bind the cobol file name with an actual external file in the file system.
I have tried SELECT myFile ASSIGN TO DISK and then
FD myFile LABEL RECORDS ARE STANDARD EXTERNAL FILE IS 'infile'. This gives me a SEGMENTATION FAULT error on compiling. If I don't give the external file clause it throws the error that no external file is assigned. How to solve this ?
All responses welcome.
Thanks!!