|
DELAY |
|
|
This command is used to suspend the processing of the issuing task for a specified interval of time or until a specified time of the day. It suspends any previously initiated POST command for the task.
Options INTERVAL(hhmmss) specifies, in packed decimal format, the interval of time that is to elapse from the time when the DELAY command is issued. The mm and ss are in the range 0-59. The time specified is added to the current clock time by CICS when the command is executed to calculate the expiration time TIME(hhmmss) specifies, in packed decimal format, the time when the task should resume processing. MINUTES(data-value) specifies a fullword binary value in the range 0-59, when HOURS or SECONDS are also specified, or 0-5999 when MINUTES is the only option specified. REQID(name) specifies a name (1-8 characters), which should be unique, to identify the DELAY request. Using this option to specify an application-defined name enables another transaction to cancel the DELAY request. To enable other tasks to cancel unexpired DELAY requests, you must make the request identifier dynamically available. For example, storing it in a TS queue, whose name is known to other applications that may want to cancel the DELAY request, is one way you can pass a request identifier to other transactions. SECONDS(data-value) specifies a fullword binary value in the range 0-59, when HOURS or MINUTES are also specified, or 0-359 999 when SECONDS is the only option specified. |