If more than one file is opened during an activity, FILE-STATUS must be qualified with the appropriate file name as of CA Easytrieve release 11.6.
If there is more than one file being used in the program, the file status statement will need to be qualified as
IF filename:FILE-STATUS NE 0
IF FILE-STATUS(filename) NE 0
so that CA Easytrieve knows which file's FILE-STATUS is being requested.