openi-obirthisam.DISPLAY 'file opened -- status 'ws-bday-status.moveall "0"tobday-record.display 'record to read 'bday-record.readbirthisam.DISPLAY 'record read ?? -- status 'ws-bday-status.ifws-bday-status>0display 'control recd not found--status 'ws-bday-status.
When run I get:
file opened -- status 00
record to read 00000000000000000000000000000000000000000000000000000000000000000000
record read ?? -- status 47
control recd not found--status 47
The ISAM file does exist, access is Dynamic and the record is on the file.
Why am I getting the status 47 -- file not open?
Last edit: Simon Sobisch 2021-08-25
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have the following lines in my program:
When run I get:
The ISAM file does exist, access is Dynamic and the record is on the file.
Why am I getting the status 47 -- file not open?
Last edit: Simon Sobisch 2021-08-25
Found the answer. 47 is misleading, the problem was caused by having 2 records defined in the FD creating differeent attributes for the file??