Use this system macro to enable the WAITC service routine to suspend the
entry control block (ECB) until all pending input/output (I/O) for the
ECB completes. This macro is processed only by the WAITC
service routine.
Format
- label
- A symbolic name may be assigned to the macro statement.
Entry Requirements
- R9 must contain the address of the ECB being processed.
- This macro is called by the WAITC service code only when pending I/O
exists for an ECB.
Return Conditions
- Control is returned to the next sequential instruction (NSI) in the WAITC
service routine.
- The contents of R14 and R15 are unknown. The contents of all other
registers are preserved across this macro call.
Programming Considerations
- This macro is for use in the control program (CP) only, and is used by the
WAITC macro. See TPF General Macros for more
information about the WAITC macro.
- This macro can be run on any I-stream.
- This macro is for use only by the WAITC service routine.
- The service routine will save the current SVC_OLD_PSW and the calling
program's return address in ECB field CE1PSW prior to transferring
control to the system task dispatcher (CPU loop).
- The calling program regains control at the location saved in field CE1PSW
when all pending I/O completes.
Examples
None.