Change storage class catalog
Component: | BS2000 |
Functional area: | Pubset and MRSCAT management |
Domain: | MULTI-CATALOG-AND-PUBSET-MGMT |
Privileges: | TSOS |
Functions
The CHANGE-STORAGE-CLASS-CATALOG command allows systems support personnel to change the storage class catalog.
The command can also be used to dynamically load the storage class catalog if it was corrupt when the SM pubset was imported and so could not be loaded at that time (message DMS1483).
The file named :<sm-pubset-catid>:$TSOS.SYSCAT.STORCLS contains the current storage class catalog. If the catalog is to be changed using CHANGE-STORAGE-CLASS-CATALOG, the new catalog must be stored as SYSCAT.STORCLS.BAK (with the same user and catalog IDs). When the command is executed, the original catalog is saved as SYSCAT.STORCLS.<date>.<time>, where <date> is the date (in yyyy-mm-dd format) and <time> is the time (in hhmmss format) when the catalog was changed. The new catalog is renamed to SYSCAT.STORCLS and thus becomes the current storage class catalog.
The procedure for dynamically loading and changing the storage class catalog is as follows:
Create a file named SYSCAT.STORCLS.BAK in the control volume set. It is best to create the file in VOLRES, so that the control volume set can also be reduced in size later.
Using HSMS, transfer the contents of a backup copy of the storage class catalog to SYSCAT.STORCLS.BAK.
Run the CHANGE-STORAGE-CLASS-CATALOG command. The storage class catalog will then be dynamically loaded from SYSCAT.STORCLS.BAK.
Format
CHANGE-STORAGE-CLASS-CATALOG |
PUBSET = <cat-id 1..4> |
Operands
PUBSET = <cat-id 1..4>
Identifies the pubset for which the storage class catalog is to be changed or dynamically loaded.
Return codes
(SC2) | SC1 | Maincode | Meaning |
---|---|---|---|
0 | CMD0001 | No errors | |
1 | CMD0202 | Syntax error in command | |
32 | CMD0221 | Internal system error | |
64 | CMD0216 | No authorization for command | |
64 | DMS1485 | Pubset not known | |
64 | DMS1486 | Pubset is not a system-managed pubset | |
64 | DMS1487 | Pubset not available | |
64 | DMS1490 | Storage class management not available for this pubset | |
64 | DMS1483 | Storage class catalog invalid | |
64 | DMS1481 | Error accessing storage class catalog | |
64 | DMS1499 | Catalog SYSCAT.STORCLS.BAK not in control volume set | |
64 | DMS1495 | Catalog SYSCAT.STORCLS.BAK invalid | |
64 | DMS1496 | Catalog SYSCAT.STORCLS.BAK does not exist | |
129 | DMS148D | Not enough class 4/5 memory | |
129 | DMS148E | Error on HIPLEX MSCF connection to master | |
129 | DMS148F | GCF subsystem not ready |