Server Administration > Change Packages for SCM > Modifying Change Package Entry Attributes > To create a change package entry attribute in the CLI
 
To create a change package entry attribute in the CLI
From the CLI, type the following command:
im createcpentryattribute
--dataType=[integer|stringlist|float|logical|date|string|user|cpid]
--maxLength=value
--cpType=change package type
--decimalPlaces=value
--displayFormat=[truefalse|tf|yesno|yn]
--displayName=value
--[no]mandatory
--strings=value
--description=value
--name=value
--position=[first|last|before:<name>|after:<name>]
where:
--dataType=[integer|stringlist|float|logical|date|string|user|cpid] specifies the attribute data type.
--maxLength=value specifies the maximum length of value for the entry attribute. This option is valid for data types string, stringlist, and cpid.
--cpType=change package type specifies the name of change package type the entry attribute is being created for.
--decimalPlaces=value specifies the number of decimal places in the value the attribute takes. This option is valid for data type float.
--displayFormat=[true|false|t|f|yes|no|y|n] specifies if to display the format of change package entry attribute value. This option is valid for data type logical.
--displayName=value specifies if to display name of the change package entry attribute.
--[no]mandatory specifies if the change package entry attribute value is mandatory.
--strings=value specifies string values for the attribute. This option is valid for data type stringlist.
--description=value specifies a short description for the attribute.
--name=value specifies the name for the change package entry attribute being created.
--position=[first|last|before:<name>|after:<name> specifies the position of the change package entry attribute you are creating in the attribute order.