Some additional uses for IKJEFLD1 only are described below:
- Execute privileged instructions, such as changing the PSW key,
and perform authorized functions, such as issuing RACF® macros. For example, IKJEFLD1 can issue
the RACINIT macro to perform RACF authority
checking. IKJEFLD1 can then set the RACINIT control switch to prevent
logon processing from issuing RACINIT.
- Supply the first TSO/E command to be executed in the user's session.
IKJEFLD1 can supply an 80-byte TSO/E command to be executed by the
TMP at the beginning of the session. This function is intended for
installations that provide their own full-screen logon panel. If IKJEFLD1
does not set the Don't Prompt bit and allows logon to display the
full-screen logon panel, the first command is displayed on the panel
and the user can modify or delete it. IKJEFLD1 must also set the
First Command bit on.
For example, if IKJEFLD1 returned the MVSSERV
command, an MVSSERV would begin when the user logged on to TSO/E,
unless the user modified or deleted the MVSSERV command on the logon
panel.
- Supply SYSOUT and job classes for the PSCB. IKJEFLD1 can specify
the following classes to be used in the session:
- Submit hold class
- Submit class
- Submit message class
- SYSOUT class
IKJEFLD1 must also set the appropriate control switch bits
on. When IKJEFLD1 returns these job and SYSOUT classes, they are
stored in the PSCB and remain in effect throughout the user's session.
- Supply the RBA of the user's mail directory within the broadcast
data set. IKJEFLD1 can return the RBA, rather than request logon
processing to obtain it from the UADS or RACF. IKJEFLD1 must set the No UADS bit on,
and must also set the RBA bit on. The RBA is also available at logoff
if you code logoff exit IKJEFLD2.
- Monitor how long the user's TSO/E session lasts.
You can use
logon exit IKJEFLD1 and logoff exit IKJEFLD2 to monitor the approximate
duration of the user's TSO/E session. When IKJEFLD1 receives control,
it can:
- Invoke the TIME macro
- Use the exit-to-exit communication word to return the time to
the LOGON command processor.
The exit updates the Key, Length, and Data fields for the exit-to-exit
communication word as follows:
- Key
- X'01'
- Length
- Length of the data (time)
- Data
- Data (time).
- Set a return code of 0 and return to the LOGON command processor.
When the logoff exit IKJEFLD2 gets control, it receives
the time from IKJEFLD1 in the exit-to-exit communication word. Before
IKJEFLD2 returns control to LOGOFF, it can invoke the TIME macro.
The exit can calculate the time difference between the time from
the logon exit (in the exit-to-exit communication word) and the time
it receives from issuing the TIME macro. The result is the approximate
duration of the session. The logoff exit can include the processing
time in a data set. You can then periodically print the data set and
review the time calculations.
- Supply the primary and secondary language values for displaying
translated information to users if your installation does not have RACF installed.
- Set up a console profile for the user.