Reassign cartridges when the system name changes

If you change your system name, you must move the cartridges from the categories that were owned by the old system name to categories that are owned by the new system name. If you do not do this, the cartridges will not appear in the inventory for the new system name.

For some library types, the cartridges may appear when you use the parameter CGY(*ALL *ALL) for the Work with Tape Cartridges (WRKTAPCTG) or Display Tape Cartridge (DSPTAPCTG) command, but you will not be able to use the cartridges.

If you have already changed the system name and need to recover the cartridges, perform the following steps:

  1. Type DSPTAPCGY (the Display Tape Category command) to display all of the tape categories, record the names of the user-defined categories for use in step 3, then exit.
  2. Do not restart the system after this step. Temporarily change the system name back to the previous name by using the CHGNETA command.
  3. If you were using user-defined categories with the old system name, type CRTTAPCGY (the Create Tape Category command) to create the same user-defined categories from step 1 above for the new system name.
  4. Type WRKTAPCTG (the Work with Tape Cartridge command) to work with all of the categories that are associated with the old system name.
    WRKTAPCTG DEV(mlb-name)
     CGY(*ALL old_system_name)
  5. Change the category system name to the new system name by selecting 2 (Change) with the parameter CGY(*SAME new_system_name).
  6. Type CHGNETA to return the system name to the new system name. Do not restart the system.
Related concepts
Cartridge categories
Related tasks
Configure tape libraries