Make your own free website on Tripod.com

TOPICS.html

RC

REASON

14

A sequential READ statement was attempted for a relative file and the number of significant digits in the relative record number was larger than the size of the relative key data item described for the file.

21

A sequence error exists for a sequentially accessed indexed file. The prime record key value has been changed by the program between the successful execution of a READ statement and the execution of next REWRITE statement for that file, or the ascending requirements for successive record key values were violated.

22

An attempt was made to write a record that would create a duplicate key in a relative file; or an attempt was made to write or rewrite a record that would create a duplicate prime record key or a duplicate alternate record key without the DUPLICATES phrase in an indexed file. This key value applies to an indexed file in which the alternate key has been declared ‘UNIQUE’

23

An attempt was made to randomly access a record that does not exist in the file or a START or random READ statement was attempted on an optional input file that was not present.

24

An attempt was made to write beyond the externally defined boundaries of a relative or indexed file. Or, a sequential WRITE statement was attempted for a relative file and the number of significant digits in the relative record number was larger than the size of the relative key data item described for the file.

30

No further Information

34

A permanent error exists because of a boundary violation; an attempt was made to write beyond the externally defined boundaries of a sequential file.

35

An OPEN statement with the INPUT, I-O, or EXTEND phrase was attempted on a non-optional file that was not present

37

An OPEN statement was attempted on a file that would not support the open mode specified in the OPEN statement. Possible violations are :

  1. The EXTEND or OUTPUT phrase was specified but the file would not support write operations.
  2. The I-O phrase was specified but the file would not support the input and output operations permitted.
  3. The INPUT phrase was specified but the file would not support read operations.
  4. Under VSE, the EXTEND phrase was specified for a SAM file.

38

An OPEN statement was attempted on a file previously closed with lock.

39

The OPEN statement was unsuccessful because a conflict was detected between the fixed file attributes and the attributes specified for that file in the program. These attributes include the organization of the file (Sequential, Relative or Indexed), the prime record key, the code set, the maximum record size, the record type (fixed or variable), and the blocking factor.

41

An OPEN statement was attempted for a file in the open mode.

42

A CLOSE statement was attempted for a file not in the open mode.

43

For a mass storage file in the sequential access mode, the last input-output statement executed for the associated file prior to the execution of a REWRITE statement was not a successfully executed READ statement.

 

For relative and indexed files in the sequential access mode, the last input-output statement executed for the file prior to the execution of a DELETE or REWRITE statement was not a successfully executed READ statement.

44

A boundary violation exists because an attempt was made to rewrite a record to a file and the record was not the same size as the record being replaced, or an attempt was made to write or rewrite a record that was larger than the largest or smaller than the smallest record allowed by the RECORD IS VARYING clause of the associated file-name.

46

A sequential READ statement was attempted on a file open in the input or I-O mode and no valid next record had been established because :

  1. The preceding READ statement was unsuccessful but did not cause an at end condition.
  2. The preceding statement caused an at end condition.

47

The execution of a READ statement was attempted on a file not open in the input or I-O mode.

48

The execution of a WRITE statement was attempted on a file not open in the I-O, OUTPUT, or EXTEND mode.

49

The execution of a DELETE or REWRITE statement was attempted on a file not open in the I-O mode.

90

No further information.

91

For VSAM only: Password failure.

92

Logic error.

93

For VSAM only: Resource not available.

94

For VSAM with CMPR2 compiler-option only: No file position indicator for sequential request.

95

For VSAM only: Invalid or incomplete file information.

96

For VSAM under MVS: No DD statement specified for this file.

For VSAM under VSE: No DLBL statement specified for this file.

97

For VSAM only: OPEN statement execution successful: File integrity verified.