Previous Topic: Warning Messages


Return Codes

Two types of errors can be reported by the return codes of n1, n2, n3, and n4--non-VSAM file errors and VSAM file errors. The error is described by n2 and n4. For VSAM file errors, n4 is always equal to 28. The error is described by n1, n2, and n3. A general return code is given by n4 for both non-VSAM and VSAM errors. All return codes are decimal values.

n4

Reason

Action

4

End-of-file

Call Product Support.

8

Open error or file is not open

Look for JCL errors or for the use of improper files.

12

An I/O error has occurred

Find cause for I/O error.

16

Request not recognized

Call Product Support.

20

File was already opened

Call Product Support.

24

Parameter list error

Call Product Support.

28

VSAM error
n1=R15 return code from VSAM
n2=low order byte from R0
GENCB/MODCB type of error
n3=VSAM feedback byte error in I/O request

Use n1, n2, and n3 to check for possible user errors. If there are no user errors, call Product Support.

32

Insufficient storage

Increase storage for job step.

36

SYNAD error occurred
n1=byte 1 of DECB
n2=byte 2 of DECB
N3=byte 3 of DECB

For BDAM files.

40

BPAM FIND error
n1=R15
n2=R0

Use n1 and n2 (as described in Data Management Macro Instructions) to check for errors.

44

BPAM STOW error
n1=R15
n2=0

Use n1 and n2 (as described in Data Management Macro Instructions) to check for errors.

n2

Reason

Action

0

n4=8, use of unopened file
n4=24, parameter list error

Call Product Support.
Call Product Support.

1

JCL/label overrode parm list

Remove DCB information from JCL and ensure that the correct files are referenced.

2

Parm list overrode JCL/label

Remove DCB information from JCL and ensure that the correct files are referenced.

3

Unrecognized request

Call Product Support.

4

MVS x13 ABEND trapped at open

Fix cause for x13 ABEND.

5

Tried to update seq. file

Call Product Support.

6

VSAM write at other than load

Call Product Support.

7

SOS table could not expand

Call Product Support.

8

MVS DCB open failed

Call Product Support.

9

SOS table buffer pointer lost

Call Product Support.

10

SOS table file CB not built

Call Product Support.

11

MVS DD statement Missing

Supply missing DD statement.

12

VSAM ACB open failed

Call Product Support.

13

Record format invalid

Call Product Support.

14

Macro format invalid

Call Product Support.

15

Record length not numeric

Call Product Support.

16

Record length too large

Call Product Support.

17

Block size not numeric

Call Product Support.

18

Block size too large

Call Product Support.

19

Invalid VSE sysname table

Assemble a valid sysname table.

20

VSE sysname table entry missing

Assemble a sysname table with an entry for the missing one.

21

VSE LU number too large

Use an LU number within range.

22

VSE sysname is not numeric or is misspelled

Correct to a valid sysname.

23

VSE sysname blank

Do not use blank sysname.

24

VSE LU not assigned

Call Product Support.

25

VSE DTF prototype missing

Call Product Support.

26

VSE logic module missing

Generate missing logic module.

27

VSE CCW mismatch

Call Product Support.

28

File is not a PDS

Allocate file to a PDS.

Figure 6.2: Return Codes