The requirements for the caller are:
Environmental factor | Requirement |
---|---|
Minimum authorization: | CREATE, DELETE and UPDATE: APF authorization,
supervisor state or system key READ: Problem or supervisor state and any PSW key |
Dispatchable unit mode: | Task or SRB |
Cross memory mode: | If the caller specifies the ASCB parameter, any PASN, any HASN, any SASN; otherwise, PASN=HASN is required. |
AMODE: | 31-bit |
ASC mode: | Primary or access register (AR) |
Interrupt status: | Enabled or disabled for I/O and external interrupts |
Locks: | The caller may hold locks, but is not required to hold any. |
Control parameters: | None |
Include these mapping macros in your program: IAZJSAB, IHAASCB and IHAASSB. If you do not code the ASCB parameter, also include these additional mapping macros: IHAPSA, IKJTCB, and IHASTCB.
If you need more information about:
Mapping macro: | Look in: | Under the name: |
---|---|---|
IAZJSAB | z/OS MVS Data Areas in the z/OS Internet library | JSAB |
IHAASCB | z/OS MVS Data Areas in the z/OS Internet library | ASCB |
IHAASSB | z/OS MVS Data Areas in the z/OS Internet library | ASSB |
IHAPSA | z/OS MVS Data Areas in the z/OS Internet library | PSA |
IHASTCB | z/OS MVS Data Areas in the z/OS Internet library | STCB |
IKJTCB | z/OS MVS Data Areas in the z/OS Internet library | TCB |
Before issuing the IAZXJSAB macro, the caller does not have to place any information into any register unless using it in register notation for a particular parameter, or using it as a base register.
Some callers depend on register contents remaining the same before and after issuing a service. If the system changes the contents of registers on which the caller depends, the caller must save them before issuing the service, and restore them after the system returns control.
None.
The IAZXJSAB macro is written as follows:
Syntax | Description |
---|---|
name | name: symbol. Begin name in column 1. |
␢ | One or more blanks must precede IAZXJSAB macro. |
IAZXJSAB | |
␢ | One or more blanks must follow IAZXJSAB macro. |
CREATE |
|
,TYPE=SUBTASK | |
Default: ADDRSP (Restricted use) | |
,ASCB=ascb addr | ascb addr: RX-type address or register (2) - (12). |
Default: The address of the ASCB for the caller's home address space. | |
,COMPID=compid addr | compid addr: RS-type address or register (2) - (12). |
,CODELEV=codelev addr | codelev addr: RX-type address or register (2) - (12). |
,WORKID=workid addr | workid addr: RS-type address or register (2) - (12). |
,JOBID=jobid addr | jobid addr: RS-type address or register (2) - (12). |
,JOBNAME=jobname addr | jobname addr: RS-type address or register (2) - (12). |
,PREFIX=prefix addr | prefix addr: RS-type address or register (2) - (12). |
,USERID=userid addr | userid addr: RS-type address or register (2) - (12). |
,EXECST=execst addr | execst addr: RS-type address or register (2) - (12). |
,XCFGPNM=xcfgpnm addr | xcfgpnm addr: RS-type address or register (2) - (12). |
,JESTAT=jestat addr | jestat addr: RS-type address or register (2) - (12). |
,JSABLVL=jsablvl addr | jsablvl addr: RS-type address or register (2) - (12). |
,JOBCORR=jobcorr addr | jobcorr addr: RS-type address or register (2) - (12). |
The parameters are explained as follows:
ASCB is valid only for the READ and DELETE services. The default value is the address of the ASCB that represents the caller's home address space.
COMPID is required for the CREATE service and is optional for the READ service. COMPID is not valid on the UPDATE and DELETE services.
CODELEV is required for the CREATE service and is optional for the READ service. CODELEV is not valid on the UPDATE and DELETE services.
WORKID is not valid on the DELETE service and is optional on the CREATE, READ, and UPDATE services.
JOBID is not valid on the DELETE service and is optional on the CREATE, READ, and UPDATE services.
JOBNAME is not valid on the DELETE service and is optional on the CREATE, READ, and UPDATE services.
PREFIX is not valid on the DELETE service and is optional on the CREATE, READ, and UPDATE services.
USERID is not valid on the DELETE service and is optional on the CREATE, READ, and UPDATE services.
EXECST is not valid on the DELETE service.
XCFGPNM is not valid on the DELETE service and is optional on the CREATE, READ, and UPDATE services.
For the meaning of values that can be returned to the specified address, see the field JSABJSTA in the mapping macro IAZJSAB in z/OS MVS Data Areas in the z/OS Internet library.
JES status only applies on the job level. Therefore, using the JESTAT keyword forces the access to the address space level JSAB. JESTAT is not compatible with TYPE(SUBTASK). For READ and UPDATE, JESTAT can only be used with the JOBCORR keyword—JESTAT cannot be used together with any other job attribute.
JSABLVL is valid only on the READ service.
JOBCORR is optional for CREATE, READ and UPDATE. JOBCORR is not valid for DELETE.
None.
When IAZXJSAB macro returns control to your program, GPR 15 contains one of the following hexadecimal return codes.
Return Code | Meaning and Action |
---|---|
0 | Meaning: Processing completed successfully. Action: None. |
4 | Meaning: Storage was not obtained
or released for the JSAB. (CREATE and DELETE only.) Action: None. |
8 | Meaning: The JSAB was not found. No
information was returned. Action: None required; however, you might want to make sure the specified ASCB address is correct. |
12 | Meaning: The requested field does not exist
in the active JSAB. Action: None. |
IAZXJSAB READ,JOBID=MYJOBID
.
.
.
MYJOBID DS CL8