Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Extract Exit z/OS MVS Programming: Writing Transaction Schedulers for APPC/MVS SA23-1398-00 |
|||||||||||||||||||||||||
The transaction scheduler extract exit is an optional exit invoked
by APPC/MVS to perform one of the following two functions:
EnvironmentThe transaction scheduler extract exit is given control on the same dispatchable unit that invoked the particular service: Allocate, Get_TP_Properties, Get_Conversation, or Extract_Information. Note that these services support SRB mode callers. Therefore, if the service is invoked from the transaction scheduler address space in SRB mode, the exit is driven in SRB mode as well, and is restricted in the services that it can issue. For example, the exit cannot issue SVCs, nor issue a WAIT or SUSPEND macro, because the exit might be invoked on the synchronous path of an asynchronous service. The exit receives control in the following environment:
Exit RecoveryThe caller of the exit routine should establish its own recovery
environment before calling the exit routine. The exit routine should
also establish its own recovery environment and, within its recovery,
request a tailored dump. Before each exit routine returns control
to its caller, the exit routine must delete the recovery environment
it established and free the storage that it obtained. If the exit
routine does not establish its own recovery environment, the caller
does the following when the exit routine ends abnormally:
The dump and the logrec data set error record might not contain enough information to diagnose the error. For more information on providing recovery, see z/OS MVS Programming: Authorized Assembler Services Guide. Programming Requirements
Entry SpecificationsAPPC/MVS passes information to the extract exit in registers and in the scheduler extract control block. Registers on EntryOn entry to the extract exit, the registers contain the following information:
Scheduler Extract Control BlockThe scheduler extract control block is in key 1 storage, so its
contents are immediately accessible by the exit. The scheduler exit
control block contains a service indicator that the exit can use to
determine what processing needs to be done:
The scheduler extract exit control block is mapped by the ATBSECB mapping macro; for detailed information about all of the fields in ATBSECB, see z/OS MVS Data Areas, Vol 1. Return SpecificationsOn return, the extract exit does not have to place any information
in the GPRs. However, depending on the service indicator, the extract
exit must place values in certain fields before returning to its caller:
|
Copyright IBM Corporation 1990, 2014
|