Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Remove Image Catalog Entry (RMVIMGCLGE) command removes an image catalog entry from an image catalog object (*IMGCLG) in library QUSRSYS. Optionally, the image files associated with the catalog entry can be deleted from the system.
If the image catalog is currently loaded into a virtual device, an error message is sent and the image is not removed from the image catalog. The Load/Unload Image Catalog (LODIMGCLG) command can be used to unload the current image catalog from the virtual device.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
IMGCLG | Image catalog | Name | Required, Positional 1 |
IMGCLGIDX | Image catalog index | 1-256, *VOL | Required, Positional 2 |
VOL | Image catalog volume | Character value | Optional |
KEEP | Keep image file | *YES, *NO | Optional |
Top |
Specify the image catalog that the image is to be removed from.
This is a required parameter.
Top |
Specifies the image catalog index of the entry to be removed.
Top |
Specifies the volume name of the entry to be removed.
Top |
Specifies whether the image associated with the image catalog entry is to be kept.
Top |
Example 1: Removing an Image Catalog Entry
RMVIMGCLGE IMGCLG(MYCLG) IMGCLGIDX(2)
This command removes the image catalog entry at index 2 from image catalog MYCLG. The associated image is not deleted.
Example 2: Remove an Image Catalog Entry and Delete the Image File
RMVIMGCLGE IMGCLG(MYCLG) IMGCLGIDX(1) KEEP(*NO)
This command removes the image catalog entry at index 1 from image catalog MYCLG. The associated image file is deleted from the system.
Example 3: Removing a Tape Image Catalog Entry by Volume Name
RMVIMGCLGE IMGCLG(TAPECLG) IMGCLGIDX(*VOL) VOL(TAP001) KEEP(*NO)
This command removes the tape image catalog entry with a volume name of TAP001 from image catalog TAPECLG. The associated image file is deleted from the system.
Top |
*ESCAPE Messages
Top |