Use the IKJEFTSV macro to map the parameter list for IKJEFTST.
This mapping macro is provided in SYS1.MACLIB. Use the TVDSECT=YES
option to map the TVDSECTD DSECT, instead of obtaining storage.
IKJEFTSV TVDSECT=YES
TVDSECT=NO is the default.
Figure 1 describes the parameter list passed to the TSO/E Service Facility
termination routine (IKJEFTST) pointed to by register 1.
Figure 1. Parameter List for IKJEFTST
The parameters are:
- Parameter 1
- IKJEFTST (and IKJEFTSI and IKJEFTSR) need to invoke TSO/E I/O
services (STACK, PUTLINE, GETLINE, PUTGET). It need 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 is a fullword containing a pointer to the environment
control table (ECT) for the current environment. The ECT address
can be set to one of the following values:
- The user's current environment control table (ECT)
- A value of X'00000000'
If the ECT address is set to X'00000000', the
original ECT created when your TSO/E session was initialized is used.
The address of the ECT is placed in this parameter on return to the
caller.
- Parameter 2
- The second parameter is a reserved fullword. Although this
parameter is not used, it must contain X'00000000'.
- Parameter 3
- The third parameter is a token consisting of four fullwords
that identifies the TSO/E command/program invocation platform. This
token must identify a command/program invocation platform that exists
on the current task.
- Parameter 4
- The fourth parameter is a fullword containing an error code
if IKJEFTST completes unsuccessfully.
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 optional. It is a fullword containing the
abend code returned from IKJEFTST to the application program when
IKJEFTST terminates abnormally.
- Parameter 6
- The sixth parameter is optional. It is a fullword containing
the reason code returned from IKJEFTST to the application program
when IKJEFTST terminates abnormally.