RENAME macro - is type 3, gets LOCAL lock.
Calls module IGC00030.
GTF data is:
- R15
- No applicable data.
- R0
- Address of the UCB for the device on which volumes can be mounted,
or zeros.
- R1
- Address of the parameter list.
- PLIST
- The parameter list is 16 bytes long; format is:
- Bytes
- Contents
- 0-3
- X'C1002000' If bit 1 of byte 1 is set to 1 and JSCBPASS=1
then the RACDEF macro is not issued.
- 4-7
- Address of the old data set name.
- 8-11
- Address of the new data set name.
- 12-15
- Address of the volume list.
|
|
|
OLDDSN |
ccccc... |
fully qualified name of the data set to be renamed. |
NEWDSN |
ccccc... |
new name of the data set being renamed. |
- VOLIST
- The volume list is variable in length; format is:
- Bytes
- Contents
- 0-1
- Number of 12-byte volume list entries to follow.
- 2-5
- UCB device code.
- 6-11
- Volume serial number.
- 12
- Reserved.
- 13
- Rename status byte.
Note: Each succeeding volume list entry (if any) has
the same format as offset 2-13.