i need a pgm to read a file using alternate index with JCL. input file is KSDS and org is indexed ,access mode is random.
I tried to read a file ,but am getting 35 file status.file is exist ,even am getting that error.
A FS 35 doesn't say that the file does not exist, it says that your DD was not there or wrong:
An OPEN statement with the INPUT, I-O, or EXTEND phrase was attempted on a non-optional file that was not present.