General
Application area: | Requesting and accessing lists and tables; see "Requesting and accessing lists and tables" |
Macro type: | Type R; see "R-type macros" |
Additional attributes (job parameters) relating to the job class can be specified in the SET-LOGON-PARAMETERS, ENTER-JOB and ENTER-PROCEDURE commands if they were previously defined and made known by system administration (see the ENTER-JOB, ENTER-PROCEDURE and SET-LOGON-PARAMETERS commands in the “Commands” manual [19 (Related publications)]).
Macro description
The JMGJPAR macro transfers the job parameters specified in the SET-LOGON-PARAMETERS, ENTER-JOB or ENTER-PROCEDURE command to a specified area.The JMGDJP macro generates a description (DSECT/data list) of the output area.
Macro format and description of operands
JMGJPAR |
PARLIST=addr / (r) |
PARLIST=
Specifies the address of an area to receive the job parameters. The area should be aligned on a word boundary and must start with the standard header. The standard header is initialized if and when the area is created with the JMGDJP macro.
addr
Symbolic address (name) of the area.
(r)
Register containing the address value “addr”.
Return information and error flags
During macro processing, register R1 contains the operand list address.
R15:
+---------------+ | | | | | |0|0|a|a|a|a|a|a| +---------------+
A return code relating to the execution of the JMGJPAR macro is transferred in register R15.
X'aaaaaa' | Meaning |
X'000000' | Normal execution. |
X'000004' | No job parameters specified. |
X'000008' | Operand error. |
X'00000C' | System error. |
Other return codes which, in accordance with conventions, apply to all macros are given in the table “Standard return codes” (Standard header).