Use the IKJEFTSJ macro to map the parameter list for IKJEFTSI.
This mapping macro is provided in SYS1.MACLIB. Use the TJDSECT=YES
option to map the TJDSECTD DSECT, instead of obtaining storage.
IKJEFTSJ TJDSECT=YES
TJDSECT=NO is the default.
Figure 1 describes the parameter list passed to the TSO/E Service Facility
initialization routine (IKJEFTSI) pointed to by register 1.
Figure 1. Parameter List for IKJEFTSI
The parameters are:
- Parameter 1
- IKJEFTSI (also IKJEFTSR and IKJEFTST) needs to invoke TSO/E
I/O services (STACK, PUTLINE, GETLINE, PUTGET). It needs to tell
these underlying services which environment control table (ECT) to
use. You have a choice at this point which ECT these services are
to use.
The first parameter specifies the environment control table
(ECT) to be used. It can be set to a fullword of either:
Note that it is important for you to pass this same ECT address
in parameter 8 to IKJEFTSR so that it also uses the same ECT.
- Parameter 2
- The second parameter is a reserved fullword. Although this
parameter is not used, it must contain X'00000000' on input.
- Parameter 3
- On input to IKJEFTSI this parameter must be set to four fullwords
of X'00000000'.
On output from IKJEFTSI, this parameter
consists of a token of four fullwords that identifies the TSO/E command/program
invocation platform that is created by the initialization routine.
The use of the token is an option with the calls to the TSO/E Service Facility routine
(IKJEFTSR) and the TSO/E Service Facility termination routine (IKJEFTST).
- Parameter 4
- The fourth parameter is a fullword containing an error code
if IKJEFTSI completes unsuccessfully. The error code is used with
return codes of decimal 12 or 24 to give a more detailed diagnosis
of the cause of the failure.
All following parameters are optional. Note that the high-order
bit of the address of the last parameter used must be on to indicate
the end of the parameter list.
- Parameter 5
- The fifth parameter is optional. It is a fullword containing
the abend code returned from IKJEFTSI when terminated abnormally.
- Parameter 6
- The sixth parameter is optional. It is a fullword containing
the reason code returned from IKJEFTSI when terminated abnormally.