WAIT JOURNALNUM. IBM iSeries
विज्ञापन
विज्ञापन
Description
WAIT EVENT synchronizes a task with the completion of an event initiated by the same task or by another task. The event would normally be the posting, at the expiration time, of a timer-event control area provided in response to a POST
command, as described in “POST” on page 387. The WAIT EVENT command
provides a method of directly relinquishing control to some other task until the event being waited on is completed.
See Chapter 18, “Interval control,” on page 193 for more information.
Options
ECADDR(
ptr-value
)
specifies the address of the timer-event control area that must be posted before task activity can be resumed.
Exception Conditions
INVREQ
RESP2 values:
0
2
A task is already waiting for this event.
The address specified for the timer event control area is zero or null.
Default action: terminate the task abnormally.
Examples
The following example shows you how to suspend the processing of a task until the specified event control area is posted:
EXEC CICS WAIT EVENT ECADDR(PVALUE)
WAIT JOURNALNUM
Synchronize with journal output.
(
WAIT JOURNAL JFILEID
data-value
(
)
data-value
) REQID (
data-value
) STARTIO
Description
On other CICS platforms, WAIT JOURNALNUM synchronizes the task with the output of one or more journal records that have been created but whose output has been deferred; that is, with asynchronous journal output requests.
Notes:
1. This is a no-operation for CICS/400. It is retained for portability with other
CICS platforms.
2. The WAIT JOURNAL command, with the JFILEID option in place of
JOURNALNUM but with all other options the same as on the WAIT
JOURNALNUM command, is supported for compatibility purposes.
462
CICS for iSeries Application Programming Guide V5
डाउनलोड
विज्ञापन