Change Product Object Desc (CHGPRDOBJD)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Change Product Object Description (CHGPRDOBJD) command is used to update product information in object descriptions.

Top

Parameters

Keyword Description Choices Notes
OBJ Object name Qualified object name Required, Positional 1
Qualifier 1: Object name Generic name, name, *ALL
Qualifier 2: Library Name
OBJTYPE Object type Character value, *ALL Required, Positional 2
PRDID Product ID Character value Required, Positional 3
RLS Release level Character value Required, Positional 4
OPTION Product option 1-99, *BASE Required, Positional 5
LODID Load ID Character value, *CODEDFT Required, Positional 6
Top

Object name (OBJ)

Specifies the qualified name of the object being changed.

The possible values are:

*ALL
All objects in the specified library that are of the types specified on the OBJTYPE parameter are changed.
generic*-object-name
Specify the generic name of the object. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. The asterisk substitutes for any valid characters. A generic name specifies all objects with names that begin with the generic prefix for which the user has authority. If an asterisk is not included with the generic (prefix) name, the system assumes it to be the complete object name. If the complete object name is specified, and multiple libraries are searched, multiple objects can be searched only if *ALL or *ALLUSR library values can be specified for the name.
object-name
Specify the name of the object to be changed.

The possible library value is:

library-name
Specify the name of the library where the object is located.
Top

Object type (OBJTYPE)

Specifies the types of objects being changed.

The possible values are:

*ALL
All object types that have the specified object name are changed.
object-type
Specify the type of object being changed.

Note: Object type *PRDAVL is not valid.

Top

Product (PRDID)

Specifies the 7-character identifier (ID) for the product to which the objects being changed belong.

Top

Release level (RLS)

Specifies the version, release, and modification level of the product to which the objects being changed belong.

Top

Option (OPTION)

Specifies the product option to which the objects being changed belong.

The possible values are:

*BASE
Specifies that the object is part of the base option of the product.
product-option-number
Specify the option number of the product option to which the objects being changed belong. Valid values range from 1 through 99.
Top

Load ID (LODID)

Specifies the ID of the product load to which the objects being changed belong.

The possible values are:

*CODEDFT
The default code load ID, 5001, is used.
product-load-ID
Specify a valid language load ID or a valid code load ID.
Top

Examples

CHGPRDOBJD   OBJ(MYLIB/*ALL)  OBJTYPE(*ALL)
             PRDID(9XYZ123)  RLS(V5R2M0)
             OPTION(*BASE)  LODID(*CODEDFT)

This command changes the object description of all objects in library MYLIB. These objects are now marked to belong to the code load for the base option of product 9XYZ123 for release V5R2M0.

Top

Error messages

*ESCAPE Messages

CPF358A
Release not valid.
SMU1307
Not all object descriptions changed.
SMU1312
Objects not found.
Top