Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

PVSREN operation

&pagelevel(3)&pagelevel

PVSREN renames pubsets or volumes sets or converts pubset notations.
For simplicity, this is referred to as “renaming pubsets” below.

When files, file generation groups and job variables are referred to, the general term “object” is used.

The RENAME-PUBSET-OR-VOLUME-SET is used for renaming. This statement supports SF pubsets, SM pubsets and volume sets. By means of the MODE operand it is possible to select two different modes in order to rename a pubset or volume set:

  1. Complete renaming of a pubset or volume set.
    In this case, the catalog ID, user catalogs and SCI are modified.

  2. Renaming of a pubset or volume set after separation by SHC-OSD. In this case, the user catalogs and SCI are modified.

Complete Renaming should not be carried out until all the requirements have been checked (see section “Prerequisites for the execution of PVSREN”). Please also observe the “Restrictions and reworking”.

Renaming an SF pubset

  1. The lengths of the object names are checked, even if the CHECK-FILENAME-LENGTH statement has been processed previously. All objects whose names exceed the maximum permissible length are listed. Renaming is not performed until there are no more object names that are too long.

  2. The VSN is modified in the volume list of the catalog entry for files and file generation groups.

  3. The VSN is modified in the SVL of all disks that belong to the pubset.

  4. The VSN of all disks that belong to the pubset is modified in the OLC (online catalog on the Pubres).

  5. The old MRSCAT entry is deleted for the SF pubset and a new entry created with the new catalog ID.

  6. The default catalog ID in the user catalog (TSOSJOIN or SYSSRPM) of the home pubset and of the renamed pubset is modified. This action is carried out in interactive mode only after confirmation, and by default in batch mode. The SF pubset is also imported.

    The default catalog ID is modified with /MODIFY-USER-ATTRIBUTES.

  7. Change the affected entries in the IMON-SCI on the data pubset and (following confirmation) HOME pubset.

  8. The user can decide whether the pubset is to become or remain available.

Renaming an SM pubset

  1. If a disk with corresponding VSN (e.g. ABC 00 for catid=ABC) is present for the MRSCAT entry of an SM pubset, the renaming operation is aborted, since it is not clear whether the SM pubset or the SF pubset, which also exists, is to be renamed.

  2. A length check is performed for the object names, even if the CHECK-FILENAME-LENGTH statement has been executed. All objects whose names exceed the maximum permissible length are listed. Renaming is not performed until there are no more object names that are too long.

  3. The catalog ID of the SM pubset is modified in the pubset configuration file on the control volume set.

  4. The catalog ID of the SM pubset is modified in the SVL of each Volres of all SM volume sets that belong to the SM pubset.

  5. The MRSCAT entries of all volume sets that belong to the SM pubset are deleted. They are recreated when the SM pubset is imported.

  6. The old MRSCAT entry is deleted for the SM pubset and a new entry created with the new catalog ID.

  7. The default catalog ID in the user catalog (SYSSRPM) of the home pubset and of the renamed pubset is modified. This action is carried out in interactive mode only after confirmation, and by default in batch mode. In the course of the operation, the SM pubset is imported.

    The default catalog ID is modified with /MODIFY-USER-ATTRIBUTES.

  8. Change the affected entries in the IMON-SCI on the data pubset and (following confirmation) HOME pubset.

  9. The user can decide whether the pubset is to become or remain available.

Renaming a volume set

  1. The catalog ID of the volume set is modified in the pubset configuration file on the control volume set.

  2. The VSN is modified in the volume list of the catalog entry for files and file generation groups.

  3. The VSN is modified in the SVL of all disks that belong to the volume set.

  4. The VSN of all disks that belong to the volume set is modified in the OLC (online catalog on the Volres).

  5. A length check of the object names is not necessary, since the catalog ID of the volume set is not incorporated in the file name.

  6. The catalog ID of the volume set cannot be used as the default catalog ID; therefore, it is not necessary to modify the default catalog ID. The associated SM pubset is not imported after renaming. This action must be carried out by the user.

Renaming a control volume set

  1. The catalog ID of the control volume set is modified in the pubset control volume set.

  2. The VSN is modified in the volume list of the catalog entry for files and file generation groups.

  3. The VSN is modified in the SVL of all disks that belong to the control volume set.

  4. The VSN of all disks that belong to the control volume set is modified in the OLC (online catalog on the Pubres).

  5. The catalog ID of the control volume set is modified in the SVL of the primary disk of all volume sets that belong to the SM pubset.

  6. The MRSCAT entries of all volume sets that belong to the relevant SM pubset are deleted. They are recreated when the SM pubset is imported.

  7. The MSRCAT entry is deleted for the relevant SM pubset and the a new one created with the new catalog ID of the control volume set.

  8. A length check of the object names is not necessary, since the catalog ID of the control volume set is not incorporated in the file name.

  9. The catalog ID of the control volume set cannot be used as the default catalog ID; therefore, it is not necessary to modify the default catalog ID. The associated SM pubset is not imported after renaming. This action must be carried out by the user.

Completing a mirror disk separation initiated by SHC-OSD

After separating and renaming mirror disks using SHC-OSD (START-CLONE-SESSION .. UNIT=*BY-PUBSET(PUBSET=A, NEW-PUBSET=B) ), the references in the IMON-SCI and user catalog are not yet adjusted.
This still has to be done using //RENAME-PUBSET-OR-VOLUME-SET ... MODE=*COMPLETE-SHC-RENAME, i.e.

  1. (after query): Changing the standard catalog ID in the user catalog (SYSSRPM) of the home pubset and the changed pubset.

  2. Changing the affected entries in the IMON-SCI on the data pubset and (after a query) also on the home pubset.