In the following SHC-OSD commands an SF pubset can be renamed with the NEW-PUBSET
operand:
/ACTIVATE-CLONE
(clone pubset)/ACTIVATE-SNAP
(snap pubset)/HOLD-REMOTE-COPY
(remote pubset)/RESTORE-FROM-CLONE
(clone pubset)/RESTORE-FROM-SNAP
(snap pubset)/RESTART-CLONE-SESSION
(clone pubset)/START-CLONE-SESSION
(clone pubset)/START-SNAP-SESSION
(snap pubset)
It depends on the storage system and the respective replication function, whether a renaming of the pubset by the respective command is possible.
The new pubset ID can also differ in length from the old pubset ID.
Renaming as a catalog ID with a different length is possible with the following exceptions:
Renaming a catalog ID which is not four characters long as a four-character catalog ID is rejected with
NDE1036
.Renaming a two-character catalog ID as a one-character or three-character catalog ID is only possible for two-character volume numbers (00-99). Otherwise renaming is rejected with
NDE1045
.
The following types of renaming are possible:
PUBSET=A (1-character, PUBAxy) 1 | NEW-PUBSET= | Result |
B (1-character, PUBBxy) | Successful | |
BB (2-character, BB.0xy | Successful | |
BBB (3-character, BBB.xy) | Successful | |
BBBB (4-character) |
| |
PUBSET=AA (2-character, AA.xyz) | NEW-PUBSET= | Result |
B (1-character, PUBByz) | Successful when x=0, | |
BB (2-character, BB.xyz) | Successful | |
BBB (3-character, BBB.yz) | Successful when x=0, | |
BBBB (4-character) |
| |
PUBSET=AAA (3-character, AAA.xy) | NEW-PUBSET= | Result |
B (1-character, PUBBxy) | Successful | |
BB (2-character, BB.0xy) | Successful | |
BBB (3-character, BBB.xy) | Successful | |
BBBB (4-character) |
| |
PUBSET=AAAA (4-character, AAAA.x) | NEW-PUBSET= | Result |
B (1-character, PUBB0x) | Successful | |
BB (2-character, BB.00x) | Successful | |
BBB (3-character, BBB.0x) | Successful | |
BBBB (4-character, BBBB.x) | Successful |
1 x, y, z: <integer 0..9>