Delete entry from MRSCAT of home pubset
| Component: | BS2000 | 
| Functional area: | Pubset and MRSCAT management | 
| Domain: | MULTI-CATALOG-AND-PUBSET-MGMT | 
| Privileges: | TSOS | 
| Routing code: | $ | 
Function
The relevant pubset must be set to “inaccessible”, otherwise the command is rejected.
Once the entry has been deleted, the pubset can no longer be identified. A new catalog ID can be entered by systems support using the ADD-MASTER-CATALOG-ENTRY command.
Format
| REMOVE-MASTER-CATALOG-ENTRY | 
| ENTRY-NAME = <cat-id 1..4> ,VOLUME-SET-ENTRIES = *REMOVE / *KEEP | 
Operands
ENTRY-NAME = <cat-id 1..4>
Identifies the MRSCAT entry which is to be deleted.
VOLUME-SET-ENTRIES = *REMOVE / *KEEP
Governs whether deletion of the MRSCAT entry for a system-managed pubset (SM pubset) also means deletion of the associated volume set entries.
VOLUME-SET-ENTRIES = *REMOVE
When the MRSCAT entry for an SM pubset is deleted, the associated volume set entries are to be deleted as well.
VOLUME-SET-ENTRIES = *KEEP
Only the MRSCAT entry for an SM pubset is to be deleted, not the associated volume set entries. 
Return codes
| (SC2) | SC1 | Maincode | Meaning | 
|---|---|---|---|
| 0 | CMD0001 | No error | |
| 1 | 0 | CMS0312 | MRSCAT entry not found | 
| 2 | 0 | CMS0002 | Disk error | 
| 1 | CMS0011 | Syntax error | |
| 1 | CMS0314 | Syntax error in entry name or error in wildcard specification | |
| 32 | CMS0001 | Error in SLOT Manager | |
| 32 | CMD0221 | Internal system error | |
| 32 | CMS031F | MRSCAT parameter error | |
| 32 | CMS0310 | Error during privilege checking | |
| 32 | CMS0317 | Locked MRSCAT entry cannot be released | |
| 32 | CMS0318 | Synchronization error due to task lock manager problem | |
| 64 | CMS0010 | Command reserved for systems support | |
| 130 | CMS0003 | MRSCAT entry cannot be deleted because pubset is occupied |