APARM= parameter for procedures

Use the APARM= parameter in procedures to specify the 1- to 32-character parameter passed to the application program as part of the information returned in the INQY call with the ENVIRON or ENVIRON2 sub-functions.

Note: The PARM=() specified on the EXEC PGM=DFSRRC00 statement is limited to 100 characters. Thus, if you start a dependent region with other positional parameters that follow APARM=, the number of APARM characters you can specify might be fewer than 32.

The parameter must be enclosed in single quotation marks (') if special characters are used. Embedded commas (,) are not allowed.

If entered in the PARM=() string, the parameter must be enclosed in single quotation marks (') if special characters are used. Embedded commas (,) are not allowed.

You can set the APARM= parameter using the DFSOPT DD statement in IMS-supplied procedures. When using the DFSOPT stream to set APARM=, the parameter is enclosed by parentheses. Special characters and commas are allowed. The syntax for the APARM= parameter is:

APARM=(char_str) (No default)

For more information, see DFSOPT DD in DD statements for IMS procedures.