Thanks to webrabbit for pointing me in the right direction. The DISK addition did work, but I had to remove the literal after it and include it in the file ID syntax. I clipped the code below for reference....
Thanks to Glen and Joe as well...
The "TO" Statement does not seem to fix the problem as does the DISK addition. Believe it or not, it is Microsoft 2.20 from the fabulous 80's!
Thanks for the suggestions.
Hi.
Having a tough time understanding why I am getting the following syntax error. I am using Microsoft Cobol Compiler v2.2.
Invalid SELECT sentence. C:\temp\test.txt
Unrecognizable element is ignored C:\temp\test.txt
Here is the small program I am trying to get a clean compile on....this is...
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.