I have couple errors when I test my code with Cobol:
1: car1.cbl:44: libcob: READ/START not allowed (STATUS = 47) File : 'D:\cobol\CARFILE.TXT'
2: you can see the error but it show nothing
I think maybe because of my app so I tried to reinstall and when i run the same code it show error like the picture. Please help. thanks
STATUS = 47means that a file operation was attempted after the file was closed. In this case, aREADstatement.After the first
READ, the file is closed at line 57. The nextREADcauses the error.Remove the
CLOSEstatement at line 57.This will keep the file open until end-of-file. The file will be closed by the
CLOSEstatement at line 36.