CL Command Reference - CHGIMGCLG

CL Command List > CHGIMGCLG Reference

Description:

The Change Image Catalog (CHGIMGCLG) command is used to change the attributes of an image catalog object (*IMGCLG) in library QUSRSYS.

Restrictions:

. This command is shipped with public *EXCLUDE authority.

. The following authorities are required to change an image catalog:
1. Execute (*EXECUTE) authority to library QUSRSYS.
2. *CHANGE authority to the image catalog.
3. Execute (*X) authority to each directory in the image catalog path name.

. If the Directory (DIR) parameter is specified, the following additional authority is required:
1. Execute (*X) authority to each directory specified on the DIR parameter.

. A directory can only be associated with a single image catalog.



Examples:

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.