VSAM STATUS CODE

 

VSAM-EXTENDED-RETURN-CODE

 

 

0

Successful completion

4

Another request is active

8

There is a logical error

12

There is a physical error

 

 

 

VSAM-EXTENDED-FUNCTION-CODE

 

 

0

Accessing base cluster, no problem

1

Accessing base cluster, may be a problem

2

Accessing alternate index, no problem

3

Accessing alternate index, may be a problem

4

Upgrade processing, no problem

5

Upgrade processing, may be a problem

 

 

 

VSAM-EXTENDED-FEEDBACK-CODE

 

 

PHYSICAL-ERROR.

 

Use this when there is RC 12 in vsam-extended-return-code

 

4

Read error on data

8

Read error on index

12

Read error in sequence set

16

Write error on data

20

Write error on index

24

Write error in sequence set

 


 

LOGICAL-ERROR.

 

Use this when there is RC 8 in vsam-extended-return-code

 

4

Read past end of file

8

Duplicate key

12

Key sequence error

16

Not found

20

Control interval in use by other job

24

Volume cannot be mounted

28

Unable to extend dataset

32

RBA not found

36

Key is not in a defined key range

40

Insufficient virtual storage

64

No available strings

68

Open did not specify proc type

72

Key access to ESDS or RRDS

76

Attempted insert to wrong type dataset

80

Attempted delete from ESDS

84

Optcd loc for put request

88

Position not established

92

Put without get for update

96

Trying to change primary key

100

Trying to change LRECL

104

Invalid RPL options

108

Invalid LRECL

112

Invalid key length

116

Violated load mode restriction

120

Wrong task submitting request

132

Trying to get spanned rec in loc mode

136

Trying to get spanned rec by address

140

Inconsistent spanned rec

144

Alt index pointer with no matching

148

Exceeded max pointers in alt index rec

152

Insufficient buffers available

156

Invalid control interval

192

Invalid relative rec number

196

Attempted addressed request to RRDS

200

Invalid access through a path

204

Put in backward mode

208

Invalid ENDREQ macro

252

Record mode processing is not allowed for a Linear data set

 

      Speak the truth, but leave immediately after..