LONGPARM: Long parameter option

The LONGPARM option indicates whether the program supports a parameter longer than 100 bytes. This applies mainly to programs that are invoked using a JCL EXEC statement or a z/OS® UNIX EXECMVS callable service. LONGPARM or LONGPARM=YES specifies that the program can accept a parameter string of more than 100 bytes. In this case, an appropriate directory entry bit will be turned on. The system checks for this attribute only when the program is being invoked with a parameter string of more than 100 bytes and the program is APF authorized. In this case, if the LONGPARM attribute is not set on, the system fails the invocation.

Code the LONGPARM option as follows:

  {LONGPARM | LONGPARM=YES | LONGPARM=NO | NOLONGPARM}

The LONGPARM value can be one of the following:

LONGPARM=YES
LONGPARM
Specifies that the program can accept a parameter string of more than 100 bytes.
LONGPARM=NO
NOLONGPARM
This is the default value. Specifies that the program can not accept a parameter string of more than 100 bytes if it is APF authorized.