| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Change Image Catalog (CHGIMGCLG) command is used to change the attributes of an image catalog object (*IMGCLG) in library QUSRSYS.
Restrictions:
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| IMGCLG | Image catalog | Name | Required, Key, Positional 1 |
| WRTPTC | Write protect | *SAME, *ALL, *NONE | Optional |
| DIR | Directory | Path name, *SAME | Optional |
| IMPORT | Import image catalog | *NO, *YES | Optional |
| CLGASPTHLD | Catalog ASP threshold | 1-99, *SAME, *CALC, *MAX | Optional |
| ALCSTG | Allocate storage size | *SAME, *IMGSIZ, *MIN | Optional |
| TEXT | Text 'description' | Character value, *SAME, *BLANK | Optional |
| Top |
Specifies the image catalog to be changed.
This is a required parameter.
| Top |
Specifies whether to force all catalog entries to be write protected or all entries to not be protected. The image catalog specified on the IMGCLG paramter must not be in ready status.
| Top |
Specifies the directory to be associated with this image catalog.
| Top |
Specifies whether to change the catalog by importing the data from the image catalog in the path specified on the Directory (DIR) parameter.
Note: The values of the Image catalog (IMGCLG), Directory (DIR), and Text description (TEXT) parameters specified on the Change Image Catalog (CHGIMGCLG) command are used for the image catalog. All other values are imported from image catalog object QIMGCLG.
| Top |
Specifies the auxiliary storage pool (ASP) threshold for this image catalog.
| Top |
Specifies for tape image catalogs, whether to change the storage allocation of image files.
| Top |
Specifies the text that briefly describes the image catalog.
| Top |
Example 1: Changing the Text Associated with an Image Catalog
CHGIMGCLG IMGCLG(MYCLG) TEXT('New Text')
This command changes the text associated with image catalog MYCLG.
Example 2: Changing the Directory Associated with an Image Catalog
CHGIMGCLG IMGCLG(MYCLG) DIR('/MyDir2')
This command changes the directory associated with image catalog MYCLG to /MyDir2.
Example 3: Changing an Image Catalog by Importing From the Image Catalog Directory
CHGIMGCLG IMGCLG(MYCLG) DIR('/MyDir') IMPORT(*YES)
This command changes image catalog MYCLG in library QUSRSYS and updates the catalog and entry information from the image catalog object in directory /MyDir.
Example 4: Changing the Allocated Size for all Image Files in a Tape Image Catalog
CHGIMGCLG IMGCLG(TAPECLG) ALCSTG(*MIN)
This command will change the size of each image file associated with image catalog TAPECLG to an allocated size required to contain the data.
| Top |
*ESCAPE Messages
| Top |