z/OS DFSMSdfp Advanced Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Status Codes from RENAME

z/OS DFSMSdfp Advanced Services
SC23-6861-01

After the RENAME macro instruction is executed (for RENAME return codes 0, 4, and 8 only), the last byte of each 12-byte entry in the volume list indicates one of the following conditions described in Table 1.

Table 1. RENAME Status Codes
Status Code Meaning
0 (X'00') The format-1 DSCB for the data set has been renamed in the VTOC on this volume.
1 (X'01') The VTOC of this volume does not contain the format-1 or format-8 DSCB of the data set to be renamed.
2 (X'02') One of the following conditions occurred:
  • The data set could not be renamed because the data set was password protected and the password was not supplied in the two attempts allowed.
  • An attempt was made to rename a VSAM data space or an integrated catalog facility VSAM data set.
  • An attempt was made to rename a VTOC index data set.
  • An SMS-validation failure occurred.
3 (X'03') A format-1 or format-8 DSCB containing the new data set name already exists in the VTOC of this volume, or an attempt was made to rename a data set to a name starting with SYS1.VTOCIX.
4 (X'04') One of the following conditions occurred:
  • A permanent I/O error occurred while trying to rename the data set on this volume.
  • An invalid format-1 or format-8 DSCB was encountered while processing this volume.
  • No space is available in the index VIER for the new name, and no additional VIERs are available.
5 (X'05') It could not be verified that this volume was mounted nor was a unit available for mounting the volume.
6 (X'06') The operator was unable to mount this volume.
7 (X'07') The data set was not renamed, because it was currently open for processing.
8 (X'08') The data set is defined to RACF®, but either you are not authorized to the data set or the data set is defined to RACF on multiple volumes.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014