Ensures terminal operation has completed.
Sintaxe:

Descrição:
WAIT TERMINAL ensures that a terminal operation has completed before further processing occurs.
The WAIT option can also be specified in a SEND command.
Either method can cause execution of a task to be suspended.
If suspension is necessary, control is returned to CICS.
Execution resumes when the terminal operation is completed.
Condições:
INVREQ
- Occurs when a remotely linked-to program attempts to execute an WAIT TERMINAL command that refers to the principal facility.
- Ação pré-definida: Terminates the task abnormally.