The contents of the registers on entry are:
- R0
- Irrelevant
- R1
- Address of the Exit Parameter List (IATYUX70)
- R2-R12
- Irrelevant
- R13
- Address of a Register Save Area
- R14
- Return Address
- R15
- Exit Routine Entry Address
The following is the contents of the parameter list.
- YUX70ID
- The parameter list identifier 'YUX70'.
- YUX70VER
- The parameter list version indicator
- YUX70PTX
- The pointer to primary message text. If the current message
is a single line WTO or the major line of a multi-line WTO, this field
contain the address of the message text and YUX70STX is zero.
If
the current message is a minor line of a multi-line WTO, this field
contains the address of the original major line and YUX70STX contains
the address of the text of the current minor line.
- YUX70STX
- The pointer to the secondary text. When called for a minor
line of a multi-line message, this field contains the address of the
text of the current minor line and YUX70PTX contains the address of
the original major line.
- YUX70PTL
- The length of the primary message text
- YUX70STL
- The length of the secondary message text
- YUX70SEQ
- The WTO sequence number (DOM/Connect ID)
- YUX70TVT
- The address of the JES3 TVT
- YUX70FCT
- The address of the current FCT
- YUX70WRK
- A 20 byte work area for use by the exit routine(s). JES3 initializes
this area to zero before calling the exit routine(s).
If multiple
exit routines exist for this exit, this work area can be used to pass
information from one routine to another. If the information can fit
within the 20 byte area, then the information may be placed directly
in the work area. Otherwise, the exit routines can obtain storage
and store the address of the obtained storage in this work area.
The exit routines are responsible for freeing any storage obtained.
- YUX70JBD
- The job identifier of the WTO/WTOR issuer
- YUX70JBN
- the job name of the WTO/WTOR issuer
- YUX70SYS
- The JES3 processor/system name from where the message originated
- YUX70KEY
- The WTO retrieval key
- YUX70TYP
- The message type flag which may contain one of the following:
- YUX70SIN
- Indicates a single line request
- YUX70MAJ
- Indicates the major line of a multi-line message
- YUX70TOR
- Indicates the message is a WTOR
- YUX70CMD
- Indicates the message is an operator command
- YUX70REP
- Indicates the message is a WTOR reply
- YUX70MIN
- Indicates the minor line of a multi-line message
NOTE: The flags in YUX70TYP are
mutually exclusive. Only one of these flags is set for each call to
exit 70.
- YUX70MLW
- Indicates a multi-line message flag
- YUX70CON
- Indicates a control line
- YUX70LBL
- Indicates a label line
- YUX70DAT
- Indicates a data line
- YUX70END
- Indicates an end line