Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

VSAM FILE STATUS CODES.

Status key Description


SUCCESSFUL COMPLETION.
0 0 Successful completions .
0 2 Duplicate key condition found for nonunique key alternate index.
0 4 Wrong fixed length record.
0 5 Dataset created when opened, with sequential VSAM datasets. 0 returned.
0 7 Close with no Rewind or Reel , for no tape.
END-OF-FILE.
1 0 E-O-F condition or an optional ESDS file not available.
1 4 Relative record READ outside dataset boundary.
INVALID KEY.
2 0 No further information.
2 1 sequence error for sequential load in a KSDS.
2 2 duplicate key.
2 3 Record not found.
2 4 Key outside boundary of dataset.
PERMANENT I/O ERROR
3 0 No further information.
3 4 Record outside dataset boundary.
3 5 OPEN and required dataset not found.
3 7 OPEN with invalid mode.
3 8 OPEN of dataset closed with lock.
3 9 OPEN unsuccessful because of conflicting dataset attributes.
LOGIC ERROR
4 1 OPEN of dataset already OPEN.
4 2 CLOSE of dataset not OPEN.
4 3 READ not executed before REWRITE.
4 4 REWRITE of different size record.
4 6 READ after EOF reached.
4 7 READ attempted for dataset not opened in I-O or INPUT.
4 8 WRITE for dataset not opened OUTPUT, I-O OR EXTEND.
4 9 DELETE or REWRITE for dataset not opened I-O.
SPECIFIC COMPILER DEFINED CONDITIONS.
9 0 No further information.
9 1 VSAM Password failure.
9 2 Logic error.
9 3 VASM Resource (enough virtual storage) not available
9 4 VASM Sequential record not found.
9 5 VSAM Invalid or incomplete dataset information.
9 6 VSAM no DD statement.
9 7 VSAM open successful. Dataset integrity verified.

You might also like