Page 1 of 1

file status 35 in COBOL

Posted: Fri Feb 23, 2024 2:48 pm
by Jagjeet Dayal
Anyone has idea on file status 35. I checked ddname and filename it's correct.

Re: file status 35 in COBOL

Posted: Fri Feb 23, 2024 10:26 pm
by zum13
For a VSAM file, this error can occur if the file is empty. If that's the case, then you need to load a dummy record into the file. This can be done programatically or you can use the REPRO statement under IDCAMS to get the record in there.

Re: file status 35 in COBOL

Posted: Sun Feb 25, 2024 12:46 pm
by ThorBap
Have you considered the possibility that the file might be empty, especially if it's a VSAM file, and have you tried loading a dummy record into it?