Change Product Object Desc (CHGPRDOBJD)

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

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

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.

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.

Product (PRDID)

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

Release level (RLS)

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

The release level can be passed as one of the following two formats:

Specify the release level in VxRyMz format, where Vx is the version number, Ry is the release number, and Mz is the modification level. The variables x and y can be a number from 0 through 9, and the variable z can be a number from 0 through 9 or a letter from A through Z.

Specify the release level in vvrrmm format, where vv are any numeric characters 00 through 35 representing the version of the product, rr are any numeric characters 00 through 35 representing the release of the product, and mm can be 00 through 09 or 0A through 0Z representing the modification of the product.

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.

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.

Examples

CHGPRDOBJD   OBJ(MYLIB/*ALL)  OBJTYPE(*ALL)
             PRDID(9XYZ123)  RLS(V5R4M0)
             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 V5R4M0.

Error messages

*ESCAPE Messages

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