I know how to read file when the file is fixed in cobol. But how can I let the user input a filename and the system checks if it exists and if it does, it loads that? All files will have the same structure..
I now have it like this:
SELECT gegevens ASSIGN TO "projectenIIexport.csv"
ORGANIZATION IS LINE SEQUENTIAL
ACCESS MODE IS SEQUENTIAL.
But that's hardcoded.. Any ideas?