Change Image Catalog (CHGIMGCLG)

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

Parameters

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
TEXT Text 'description' Character value, *SAME, *BLANK Optional
Top

Image catalog (IMGCLG)

Specifies the image catalog to be changed.

This is a required parameter.

name
Specify the name of the image catalog.
Top

Write protect (WRTPTC)

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.

*SAME
The value for the write protect will not be changed.
*ALL
The write protect value will be set on for all images.
*NONE
The write protect value will be set off for all images.
Top

Directory (DIR)

Specifies the directory to be associated with this image catalog.

*SAME
The directory will not be changed.
path-name
Specify the path name of the directory to be associated with this image catalog.
Top

Text 'description' (TEXT)

Specifies the text that briefly describes the image catalog.

*SAME
The text description will not be changed.
*BLANK
The text description will be blank.
character-value
Specify up to 50 characters of text for this image catalog.
Top

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.

Top

Error messages

*ESCAPE Messages

CPFBC08
Image catalog &1 not changed.
CPFBC45
Image catalog &1 not found.
CPF9802
Not authorized to object &2 in &3.
CPF9820
Not authorized to use library &1.
Top