CIC-DELAY

Suspend task processing for a prescribed time interval.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Target:

CICS

Syntax:

CIC-DELAY [REQID(name)]
... [INTERVAL(hhmmss)|TIME(hhmmss)]
... [ERROR(errorpara)]

Parameters:

ERROR (errorpara)

User-defined error routine to perform when an abnormal condition occurs.

INTERVAL (hhmmss)

Time interval between issuing and executing a call. Hhmmss can be replaced by zero, a decimal constant, or a COBOL data name defined as PIC S9(07) COMP-3.

REQID(name)

Unique call name; can be a literal or COBOL data name (maximum 8 characters).

TIME(hhmmss)

Expiration time for the DELAY function. Hhmmss can be replaced by a decimal constant or a COBOL data name defined as PIC S9(07) COMP-3.

Examples:

Suspend task processing for a 5-minute interval; let another task cancel this activity (UNIQCOM command).
CIC-DELAY INTERVAL(500) ERROR(ERROR-PARA) 
REQID('UNIQCOM')
Suspend task processing until 1:30 a.m.
CIC-DELAY TIME(013000) ERROR(ERROR-PARA) 
REQID('UNIQCOM')