CVSTAT field codes

The CVSTAT field codes are as follows.

0 (X'00')
No error occurred.
1 (X'01')
Data set name was not found, or VIER is empty.
2 (X'02')
Argument is outside VTOC extents or RBA range of VTOC index.
4 (X'04')
Invalid parameter was supplied (wrong key), or VRFAREA is too small.
5 (X'05')
DSN keyword was omitted.
6 (X'06')
Not authorized to perform this function.
7 (X'07')
Buffer list was omitted.
8 (X'08')
DEB was not valid, omitted, not open to VTOC, or not authorized to supply specified parameter
9 (X'09')
IOAREA=KEEP and user was not authorized, or I/O area was supplied and either user was not authorized or CVAFVOL function.
10 (X'0A')
Function is not supported on OS VTOC.
11 (X'0B')
DSCB is not format-0 DSCB and VERIFY=YES.
12 (X'0C')
MAPRCDS=YES or IXRCDS=KEEP, or both, but VTOC is nonindexed.
13 (X'0D')
IXRCDS=KEEP not specified for CVAFDSM ACCESS=IXADD or IXDLT.
14 (X'0E')
CTAREA keyword omitted or HADSCB keyword omitted.
15 (X'0F')
UCB is not valid, volume was not mounted; VIO unit, not DASD.
Start of change16 (X'10')End of change
Start of changeThe device has no paths and NOQUEUE=OK was specified.End of change
17 (X'11')
DSCB length invalid for the function requested: 96 bytes for CVAFDIR ACCESS=WRITE,VERIFY=YES; 140 bytes for CVAFSEQ reading in data set name sequence; 96 bytes for CVAFSEQ reading in physical sequence.
19 (X'13')
UCB was omitted and CVAF I/O area was not supplied.
22 (X'16')
Data set name was already supplied in index.
23 (X'17')
Invalid DSN was supplied (44 X'FF' is a reserved data set name).
24 (X'18')
ARG keyword was not supplied.
25 (X'19')
Conflicting or incomplete information specified in the space table for a CVAFDSM ACCESS=ALLOC, MAP=VOLUME request, or CVAFVSM ACCESS=ALLOC request.
27 (X'1B')
VTOC index is full. No free VIRs are available and a VIER split is required.
28 (X'1C')
Space keyword was omitted (CVSPACE field zero in CVPL).
29 (X'1D')
CVAFDSM ACCESS=ALLOC: no format-0 DSCB is available (MAP=VTOC), VTOC index is full (MAP=INDEX), or volume space is not available (MAP=VOLUME). CVAFVSM ACCESS=ALLOC: volume space is not available.
30 (X'1E')
CVAFDSM ACCESS=ALLOC: CCHHR (MAP=VTOC) or RBA MAP=INDEX or volume space extent (MAP=VOLUME) was already allocated. CVAFVSM ACCESS=ALLOC: volume space extent was already allocated.
31 (X'1F')
CVAFVSM ACCESS=ALLOC: Volume space extent invalid or outside VTOC extents (MAP=VTOC), or RBA outside VTOC index extents (MAP=INDEX), volume. CVAFDSM ACCESS=MAPDATA: Input starting RTA is invalid since the description of this macro refers to RTA values and not RBN values.
32 (X'20')
End of data. CVAFDSM ACCESS=MAPDATA: no more free extents in VPSM. CVAFSEQ: no more names in index or DSCBs in VTOC. For indexed access, no DSN in a VTOC index with higher or higher-or-equal key than that supplied. For physical-sequential access, no DSCB in the VTOC has a higher argument than that supplied. For a multiple DSCB request, the last DSCB in the VTOC was read and more DSCBs were requested.
33 (X'21')
EXTENTS keyword was omitted, or supplied number of extents is zero.
34 (X'22')
CVAFDSM ACCESS=RLSE and format-0 DSCB is already free (MAP=VTOC), or VIER is already unallocated (MAP=INDEX), or volume space extent is already unallocated (MAP=VOLUME). CVAFVSM ACCESS=RLSE: volume space extent is already unallocated.
42 (X'2A')
VRF data supplied for write too long.
43 (X'2B')
Buffer list is for VIRs, but a DSCB buffer list is required.
44 (X'2C')
No buffer list entry found.
45 (X'2D')
Invalid DSCB buffer length (neither 96 nor 140) in buffer list entry, or VIR buffer length not equal to VIB VIR size.
46 (X'2E')
Neither TTR nor CCHHR bits set in buffer list entry to be used in writing or reading a 140-byte DSCB.
47 (X'2F')
More than one of the TTR, CCHHR, and RBA bits set in the buffer list entry.
48 (X'30')
Both the DSCB and VIR bits set in the buffer list header.
49 (X'31')
RBA bit set in a buffer list entry for a DSCB buffer list.
50 (X'32')
TTR or CCHHR bit is set in buffer list entry, but buffer list header indicates that buffer list is for a VIR.
52 (X'34')
Combination of MAP and COUNT is not supported.
53 (X'35')
MAP was either omitted or multiply specified.
54 (X'36')
Buffer list for a VIR chained to or from a buffer list for a DSCB.
55 (X'37')
Unauthorized caller, and VIB was not initialized.
56 (X'38')
MAPRCDS=YES was not specified but is required.
57 (X'39')
Buffer list for a DSCB was supplied, but buffer list for a VIR is required (in MAPRCDS or IXRCDS buffer list address in CVPL).
58 (X'3A')
Neither the VIR nor DSCB bit set in a buffer list header.
60 (X'3C')
Invalid or conflicting setting of allocate option byte is in space parameter
61 (X'3D')
Filter criteria list address was omitted (CVFCL=0) or ID was not FCL (CVAFFILT).
62 (X'3E')
FCLCOUNT field is zero or no elements to process (CVAFFILT).
63 (X'3F')
FCLCOUNT field is greater than 1 and FCL1LIST indicates a generic data set name (CVAFFILT).
64 (X'40')
Insufficient number of user buffer list entries to complete this request. All data set names in the filter criteria list up to this point processed successfully. Use CVAFFILT ACCESS=RESUME function to continue processing.
65 (X'41')
Buffer list entry error occurred; for example, buffer length not 140 bytes (CVAFFILT).
66 (X'42')
CVAFFILT ACCESS=RESUME and filter save address (FSA) omitted (CVFSA=0), or FSA not in CVAF protect key.
67 (X'43')
Invalid partially qualified data set name for generic access (CVAFFILT).
68 (X'44')
Filter criteria list not in user key (CVAFFILT).
69 (X'45')
Internal GETMAIN error (CVAFFILT).
70 (X'46')
Direct VTOC access I/O error (CVAFFILT).
71 (X'47')
Sequential VTOC access I/O error (CVAFFILT).
72 (X'48')
Error occurred in CVAFFILT processing. CVAFFILT ACCESS=RESUME function is not recommended.
73 (X'49')
Insufficient number of user buffer list entries to complete this request. Error in DSCB chain. One or more names in the filter criteria list not processed successfully; however, CVAFFILT ACCESS=RESUME function recommended for remaining DSCBs.
74 (X'4A')
Data set name information is invalid (FCLDSNLG is either 0 or greater than 44, or FCLDSNA is either 0 or not in user key) (CVAFFILT).
75 (X'4B')
Extent is beyond 65536 track boundary. For CVAFDSM ACCESS=MAPDATA MAP=VOLUME: free extents up to 65536 tracks boundary, if any, are returned in extent table of XXYYZ format. User should specify RTA4BYTE=YES and use extent table mapped by ICVEDT02.
76 (X'4C')
VTOC status from format-4 DSCB does not match status indicated by CVPL flag CV1IVT.
77 (X'4D')
ID of free-space DSCB is incorrect.
78 (X'4E')
ID of extent table is incorrect. ICVEDT02 is expected.
79 (X'4F')
ID of space table is incorrect. ICVVLSDT is expected.
80 (X'50')
RTA4BYTE=YES was not specified for CVAFDSM ACCESS=MAPDATE MAP=VOLUME for an OSVTOC volume.
81 (X'51')
HADSCB=addr requested, but could not be determined. VIB not initialized or could not be determined from the VMDS.
82 (X'52')
CVAF operation issued to a volume with more than 65,520 cylinders and caller did not indicate support for it with EADSCB=OK. Applies to the following calls:
  • CVAFDIR, where the DSCB associated with the seek or search argument is a format-8 or format-9 DSCB
  • CVAFDSM, for a request for unallocated space
  • CVAFSEQ, where physical sequential access is requested or where index order is requested and a DSCB read is described by a format-8 or format-9 DSCB
83 (X'53')
CVAFDIR or CVAFSEQ read a format-8 DSCB from a non-EAV
84 (X'54')
CVAFDIR or CVAFSEQ read a format-8 DSCB, yet the data set was not extended addressing space (EAS) eligible.
85 (X'55')
Same as error code 82 but request issued to any volume with DIAGxx ICVTESTEADSCB trap set and EADSCB=OK not specified. Applies to the following calls:
  • CVAFDIR, where the DSCB associated with the seek or search argument is an extended addressing space (EAS) eligible data set
  • CVAFDSM, for a request for unallocated space
  • CVAFSEQ, where physical sequential access is requested or where index order is requested and a DSCB read is an extended addressing space (EAS) eligible data set
86 (X'56')
CVAFFILT request, all FCL entries were processed, one or more DSCB access errors were found (for example, format-8 DSCB but the caller did not specify support for EAV, or format 1 DSCB for an EAV eligible data set and the ICVTESTEADSCB DIAGxx trap is in effect.
87 (X'57')
CVAFDIR or CVAFSEQ read a format-8 DSCB that did not point to a format-9 DSCB, or a format-8 DSCB was read that had a forward pointer of zeroes.
127 (X'7F')
I/O error occurred.
128 (X'80')
Reserved.
129 (X'81')
The first high-level VIER as indicated in the VIXM does not have the flag bit set indicating that it is the first high-level VIER.
130 (X'82')
A horizontal or vertical VIER pointer is outside the RBA range of the VTOC index.
131 (X'83')
A vertical VIER pointer points to a VIR that is not a VIER (invalid ID in header).
132 (X'84')
A level n vertical index entry pointer points to a VIER that is not at level n - 1.
133 (X'85')
Level n horizontal index entry pointer points to VIER that is not at level n.
134 (X'86')
Horizontal VIER/map pointer points to a VIR that is not a VIER/map (invalid ID in header).
135 (X'87')
Horizontal map pointer points to a VIR that is not one of the first n VTOC index records (n is recorded in VIXM field VIMRCDS), or the first record in the VTOC index is not a VIXM.
136 (X'88')
A level-1 index entry contains a CCHHR pointer that is outside the VTOC extent.
137 (X'89')
The first high-level VIER, as indicated in the VIB, does not have the flag bit set indicating that it is the first high-level VIER. (Either this error is either recovered by updating the VIB from the VIXM, or the error is changed to 129.)
138 (X'8A')
The RBA of the VTOC index VIR does not match the RBA recorded in the header of the record.
139 (X'8B')
The first record of a map (VIXM, VPSM, or VMDS) is not one of the first n VTOC index records (n is recorded in the VIXM field, VIMRCDS).
140 (X'8C')
The data set name in a level n + 1 VIER entry is lower than the high key of the level n VIER that the level n + 1 VIER entry points to.
141 (X'8D')
First high-level VIER structure error bit is on.
142 (X'8E')
I/O error indicating the VTOC index is not formatted correctly.
143 (X'8F')
Either the index bit is zero, or the VSE bit is zero in the format-4 DSCB of a VTOC previously found to be an indexed VTOC.
144 (X'90')
No SYS1.VTOCIX.nnn data set name in a VTOC whose format-4 DSCB has the index bit on, indicating the VTOC has an index.
145 (X'91')
The data set name in a level n + 1 VIER entry is higher than the high key of the level n VIER to which the level n + 1 VIER entry points.
146 (X'92')
Four or more high-level VIERs were found.
147 (X'93')
Too many levels in the VTOC index. The length of the search list was exceeded.
148 (X'94')
VIER is not valid because offset to last section is not valid.
149 (X'95')
VIER is not valid because offset to last entry in a section is not valid.
150 (X'96')
Media manager initialization failed.
151 (X'97')
Level-2 or higher VIER contains fewer than two entries.
152 (X'98')
RECOVER=YES was specified, but the static text module (ICVIXST0) indicates that recovery is not permitted.
153 (X'99')
The format-4 DSCB on an indexed VTOC is written with either the index bit or the VSE bit zeroed on an indexed VTOC.
154 (X'9A')
A space map extends over more than 20 VTOC index records.
155 (X'9B')
Data set name was not found in section with key greater than or equal to the name being searched for. The VIER section containing the name is invalid.
156 (X'9C')
Invalid VIER horizontal pointer. Horizontal pointer of VIER1 points to VIER2, whose high key is lower than or equal to the high key of VIER1.
157 (X'9D')
Could not find entry in level-2 or higher VIER that matches the high key of the VIER.
158 (X'9E')
Invalid section length or invalid number of sections in a VIER header.
159 (X'9F')
The first high-level VIER pointed to by the VIB has an invalid ID in the header.
160 (X'A0')
Request to write DSCB data (96 bytes) to the location of the format-4 DSCB. Data in buffer is not a valid format-4 DSCB (bytes 0-43 not X'04', or byte 44 not X'F4').
161 (X'A1')
Request to write a format-4 DSCB by name (44 X'04'). Data in buffer is not a valid format-4 DSCB: ID byte (byte 44) is not X'F4'.
162 (X'A2')
Request to write 140 bytes (key and data) to the location of the format-4 DSCB. Data in buffer is not a valid format-4 DSCB (bytes 0-43 not X'04', or byte 44 not X'F4'.
163 (X'A3')
Request to read DSCB data (96 bytes) from the location of the format-4 DSCB. Data read into buffer is not a valid format-4 DSCB (byte 0 is not X'F4').
164 (X'A4')
Request to access format-4 DSCB by name (44 X'04'), read data (96 bytes) and location (CCHHR). Data read into buffer is not a valid format-4 DSCB (byte 0 is not X'F4').
165 (X'A5')
Request to write a format-4 DSCB by name (44 X'04') and return the location (CCHHR). ID byte is not valid for a format-4 DSCB (byte 44 is not X'F4').
166 (X'A6')
Request to read DSCB key and data (140 bytes) from the location of the format-4 DSCB. Data read into buffer is not a valid format-4 DSCB (byte 44 is not X'F4').
167 (X'A7')
Request to write a format-1 DSCB. The extents are not valid. A beginning extent was larger than an ending extent.
168 (X'A8')
Request to write a format-4 DSCB. One of the following field or fields were invalid. The number of logical cylinders on the volume (DS4DSCYL); number of tracks in a logical cylinder (DS4DSTRK); device track length (DS4DEVTK)
169 (X'A9')
Request to write a VTOC Index record (VIR). A VIR did not have a valid ID on the front of the record. The ID should be VIXM, VPMS,VMDS, OR VIER.
170 (X'AA')
Request to write the first High Level VIER. One or more of the fields in the VIER was invalid.
171 (X'AB')
Invalid write attempted for format-5 DSCB - 140 byte DSCB
172 (X'AC')
Invalid write attempted for format-5 DSCB - 140 byte DSCB
173 (X'AD')
Invalid write attempted for format-5 DSCB - 96 byte DSCB
174 (X'AE')
Invalid write attempted for format-8 DSCB
175 (X'AF')
Invalid write attempted for format-3 DSCB
176 (X'B0')
Invalid write attempted for format-9 DSCB
177 (X'B1')
Invalid write attempted for DSCB