Default values

If you are defining an optional parameter, you can define a value on the DFT parameter to be used if the user does not enter the parameter value on the command.

This value is called a default value. The default value must meet all the value requirements for that parameter (such as type, length, and special values). If you do not specify a default value for an optional parameter, the following default values are used.

Data Type Default Value
*DEC 0
*INT2 0
*INT4 0
*UINT2 0
*UINT4 0
*LGL '0'
*CHAR Blanks
*NAME Blanks
*SNAME Blanks
*CNAME Blanks
*GENERIC Blanks
*DATE Zeros ('F0')
*TIME Zeros ('F0')
*ZEROELEM 0
*HEX Zeros ('00')
*NULL Null
*CMDSTR Blanks
*PNAME Blanks