I have a VSAM file, which i'm deleting at the starting of the job and defining in again.
Then I'm trying to write records into from a Flat file. But I'm getting a VSAM error code of 35. I don't think there is any problem with the declaration of VSAM file or with the DD name.
I'm opening the file in Output mode and given organisation as indexed with access as random ( also tried with sequential )
Can anyone please tell me what am i supposed to do ?
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
Can you please supply us with the JCL? And if you?re writing from a COBOL program the FDs.
The file status of 35 says that you are trying to open a DD tat isn't there and not declared as optional. Usually this if a mismatch in spelling.
Code:
| | | 5 | An OPEN statement with the INPUT, I-O, or |
| | | | EXTEND phrase was attempted on a |
| | | | non-optional file that was not present. |
| | |______|____________________________________________|