Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
TCTL — Transfer control from an SRB routine z/OS MVS Programming: Authorized Assembler Services Reference SET-WTO SA23-1375-00 |
|||||||||||||||||||||||||||||||||||||||||||||
DescriptionThe TCTL (transfer control) macro allows an SRB routine to exit from its processing and to pass control directly to a task. EnvironmentRequirements for the caller are:
Programming requirementsThe caller must include the following mapping macros:
RestrictionsNone. Input register informationIf you are using the default for the TCB parameter, on input to the TCTL macro, general purpose register (GPR) 4 must contain the address of the TCB. Output register informationThe system does not return to the caller after invoking this macro, so register contents on exit from the macro are not applicable. Performance implicationsNone. SyntaxThe TCTL macro is coded as follows:
ParametersThe parameters are explained as follows:
ABEND codes070 See z/OS MVS System Codes for an explanation and programmer responses for this code. Return and reason codesThe system does not return to the caller after this macro has been invoked, so return codes from the macro are not applicable. ExampleFrom SRB mode processing, terminate the SRB and give control to
the task specified in register 4.
|
Copyright IBM Corporation 1990, 2014
|