Change the write protection for image catalog entries for virtual tape

Use this information to change the write protection for virtual tape media.

All image catalog entries include a write-protect switch, which functions identically to the write-protect switch on actual media. The default setting is that the image catalog entry is not write-protected.
Note: All image catalog entries in dependent catalogs are write protected.

When you add a new image catalog entry to an image catalog, the image catalog entry is not write-protected by default. After you add an image catalog entry to an image catalog, you can change whether it is write-protected with the Change Image Catalog Entry (CHGIMGCLGE) command.

To change an image catalog entry to be write-protected, type the following command, where the image catalog name is MYCAT and the image catalog index is 3:

       CHGIMGCLGE IMGCLG(MYCAT) IMGCLGIDX(3) WRTPTC(*YES)

To change an image catalog entry to be not write-protected, type the following command where the image catalog name is MYCAT and the image catalog index is 3:

       CHGIMGCLGE IMGCLG(MYCAT) IMGCLGIDX(3) WRTPTC(*NO)