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.
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.