Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Load/Unload/Mount Image Catalog Entry (LODIMGCLGE) command is used to change the status of an image catalog entry in an image catalog. The status of the image catalog entry will be changed based on the value specified for the Option (OPTION) parameter as follows:
Only one image catalog entry can be in a mounted status. If OPTION(*MOUNT) is specified, an existing entry in mounted status will be changed to a loaded status.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
IMGCLG | Image catalog | Name | Required, Positional 1 |
IMGCLGIDX | Image catalog index | 1-256, *FIRST, *LAST, *NEXT, *VOL | Optional, Positional 2 |
OPTION | Option | *MOUNT, *LOAD, *UNLOAD | Optional, Positional 3 |
VOL | Image catalog volume | Character value | Optional |
Top |
Specifies the image catalog to be used.
This is a required parameter.
Top |
Specifies the index number of the image catalog entry whose status is to be changed.
Top |
Specifies the new status of the image catalog entry.
Top |
Specifies the volume name of the entry to be unloaded, loaded, or mounted.
Top |
Example 1: Mounting an Image Catalog Entry
LODIMGCLGE IMGCLG(MYCLG) IMGCLGIDX(*FIRST) OPTION(*MOUNT)
This command mounts the first image catalog entry in image catalog MYCLG. If there is an image mounted, it will be changed to a loaded status.
Example 2: Loading an Image Catalog Entry
LODIMGCLGE IMGCLG(MYCLG) IMGCLGIDX(5) OPTION(*LOAD)
This command loads the image catalog entry associated with index number 5 in image catalog MYCLG.
Example 3: Unloading an Image Catalog Entry
LODIMGCLGE IMGCLG(MYCLG) IMGCLGIDX(*LAST) OPTION(*UNLOAD)
This command unloads the last image catalog entry in image catalog MYCLG.
Example 4: Mounting a Tape Image Catalog Entry by Volume
LODIMGCLGE IMGCLG(TAPECLG) IMGCLGIDX(*VOL) VOL(TAP002) OPTION(*MOUNT)
This command mounts the tape image catalog entry associated with volume TAP002 in image catalog TAPECLG.
Top |
*ESCAPE Messages
Top |