CHGPRDOBJD (Change Product Object Description)
Note: To use this command, have the 5722-SM1 (System Manager for iSeries) licensed program installed.
CHGPRDOBJD Command syntax diagram
Purpose
The Change Product Object Description (CHGPRDOBJD) command updates product information in object descriptions.
Required Parameters
- OBJ
- Specifies the qualified name of the object being changed.
The possible library value is:
library-name: Specify the name of the library where the object is located.
*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. For more information on the use of generic names, refer to generic names.
object-name: Specify the name of the object to be changed.
- OBJTYPE
- Specifies the types of object being changed.
*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.
- PRDID
- Specifies the 7-character identifier (ID) for the product to which the objects being changed belong.
- RLS
- Specifies the version, release, and modification level of the product to which the objects being changed belong.
- OPTION
- Specifies the product option to which the objects being changed belong.
*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.
- LODID
- Specifies the ID of the product load to which the objects being changed belong.
*CODEDFT: The default code load ID, 5001, is used.
product-load-ID: Specify a language load ID (29xx) or a valid code load ID.
Example for CHGPRDOBJD
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.
Error messages for CHGPRDOBJD
*ESCAPE Messages
- CPF358A
- Release not valid.
- SMU1307
- Not all object descriptions changed.
- SMU1312
- Objects not found.