WAIT SIGNAL

Suspend task on a logical unit.

WAIT SIGNAL

Read syntax diagramSkip visual syntax diagramWAIT SIGNAL

Conditions: NOTALLOC, SIGNAL, TERMERR

 

Description

WAIT SIGNAL, for a principal facility only, suspends a task until a SIGNAL condition occurs. Some logical units can interrupt the normal flow of data to the application program by a SIGNAL data-flow control command to CICS®, signaling an attention, that in turn causes the SIGNAL condition to occur.

The HANDLE CONDITION SIGNAL command causes a branch to a user routine when an attention is received.

The logical units for which you can code a WAIT SIGNAL command are:
  • LUTYPE4
  • LUTYPE6.1
  • 3600 (3601)
  • 3767 interactive
  • 3770 batch
  • 3790 full-function

Conditions

61 NOTALLOC
occurs if the principal facility of the task is not a terminal.

Default action: terminate the task abnormally.

24 SIGNAL
occurs when the data-flow control command has been received from the principal facility.

EIBSIG is always set when an inbound signal is received.

Default action: ignore the condition.

81 TERMERR
occurs for a terminal-related error.

A CANCEL TASK request by a user node error program (NEP) may cause this condition if the task has an outstanding terminal control request active when the node abnormal condition program (CSNE) handles the session error.

Default action: terminate the task abnormally with abend code ATNI.