Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Create Product Definition (CRTPRDDFN) command creates a product definition object. This object contains common information for the product.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
PRDDFN | Product definition | Qualified object name | Required, Positional 1 |
Qualifier 1: Product definition | Name | ||
Qualifier 2: Library | Name, *CURLIB | ||
PRDID | Product ID | Character value, *SER | Required, Positional 2 |
RLS | Release level | Character value | Required, Positional 3 |
RGSID | Registration identifier | Element list | Required, Positional 4 |
Element 1: Registration type | *PHONE, *CUSTOMER | ||
Element 2: Registration value | Character value | ||
MSGF | Message file | Name | Required, Positional 5 |
PRDOPT | Product options | Values (up to 100 repetitions): Element list | Required, Positional 6 |
Element 1: Product option | 1-99, *BASE | ||
Element 2: Message identifier | Name | ||
Element 3: Allow dynamic naming | *NODYNNAM, *ALWDYNNAM | ||
Element 4: Language load ID |
Single values: *NONE, *IBMLNG, *BASEOPT Other values (up to 51 repetitions): Character value |
||
Element 5: Code load ID | Character value, *CODEDFT | ||
CPYRGTFST | Copyright first year | Character value, *CURRENT, *NONE | Required, Positional 7 |
CPYRGTCUR | Copyright current year | Character value, *CURRENT, *NONE | Optional |
ALWMLTRLS | Allow multiple releases | *NO, *YES | Optional |
PRDIDSFX | Product ID suffix | Character value | Optional |
RLSDATE | Release date | Date, *NONE | Optional |
TEXT | Text 'description' | Character value, *BLANK | Optional |
AUT | Authority | *LIBCRTAUT, *USE, *ALL, *CHANGE, *EXCLUDE | Optional |
Top |
Specifies the qualified name of the product definition object being created.
The name of the product definition can be qualified by one of the following library values:
Top |
Specifies the 7-character ID of the product for which a product definition is being created. The product identifier must be in the format nlxxxxx, where n is any numeric character 0 through 9, l is any upper-case letter A through Z, and x is any numeric character 0 through 9 or upper-case letter A through Z.
The possible values are:
Top |
Specifies the version, release, and modification level of the product being created.
Top |
Specifies the registration ID of the organization developing the product.
The possible Registration Type values are:
The possible Registration Value values are:
Top |
Specifies the name of the message file to contain the messages which describe the product and its options. The message ID for the base option is the message ID for the product. The message IDs are listed in the PRDOPT parameter. This message file must be in the base option of the product.
Note: If the base product has language features, the message file must be an object in the language load's object list rather than the code load. This allows for a message file to be created for each language and for the message files to be installed in the correct libraries.
Top |
Specifies the options allowed for this product.
A product requires the first option defined to be the base option. The option for the base option is *BASE. Specify additional options by selecting Options 1 through 99. Additional options do not have to be specified in sequential order. Specify up to 100 options (the base option and up to 99 additional options). Product options must be listed in the product definition before they can be packaged using the Package Product Option (PKGPRDOPT) command.
The possible Product Option values are:
The possible message ID value is:
The possible Allow Dynamic Naming values are:
The possible Language Load ID values are:
The possible Code Load ID values are:
Top |
Specifies the first copyright year for the product. The year must be specified as a four-digit number, such as 1990.
The possible values are:
Top |
Specifies the current copyright year for the product.
Note: If neither CPYRGTCUR(*NONE) nor CPYRGTFST(*NONE) is specified, CPYRGTCUR must be greater than or equal to CPYRGTFST. When both copyright years are specified, the CPYRGTCUR must be greater than or equal to the CPYRGTFST.
The possible values are:
Top |
Specifies whether more than one release of the product can exist on the system at the same time.
The possible values are:
Top |
Specifies the suffix to be used with the product ID when PRDID(*SER) is specified. Valid characters are uppercase letters A through Z and numbers 0 through 9.
Top |
Specifies the release date of the product.
The possible values are:
Top |
Specifies text that briefly describes the object. More information on this parameter is in "Commonly used parameters" section in the CL topic in the iSeries Information Center (http://www.ibm.com/eserver/iseries/infocenter).
The possible values are:
Top |
Specifies the authority given to users who do not have specific authority to the product definition, who are not on the authorization list, and whose user group has no specific authority to the product definition.
The possible values are:
Top |
CRTPRDDFN PRDDFN(TESTLIB/TEST01) PRDID(9XYZ123) RLS(V5R2M0) RGSID(*PHONE 1234567) MSGF(TSTMSGF) PRDOPT((*BASE MSG0001 *NODYNNAM 2924 *CODEDFT) CPYRGTFST(2001) CPYRGTCUR(2002) ALWMLTRLS(*NO) RLSDATE(*NONE) TEXT('product TEST01') AUT(*LIBCRTAUT)
This command creates product definition TEST01 in library TESTLIB. The product ID is 9XYZ123, the release level of the product is V5R2M0, and the registration telephone number is 1234567. The message file TSTMSGF in library TESTLIB will contain the messages to describe the product. The base option is used with a language load ID 2924. The remaining parameters are included to further define the object.
Top |
Top |