PIPEWAIT control statement

Specifies the amount of time a writer or a reader of a pipe can remain in a wait state before the Smart Reorg Driver issues a message and abends.

Read syntax diagramSkip visual syntax diagramPIPEWAIT=( time,1,2)time,RDWR,OPEN

The first parameter time specifies how many minutes, in the range of 1 - 1440, a writer or a reader, connecting to the pipe that is specified by the second parameter, can remain in a wait state.

The second parameter specifies the pipe ID. If no pipe ID is specified, pipe ID 1 is used for the second parameter. This means that the PIPEWAIT specification is applied to the pipe that has pipe ID of 1. For information about valid pipe IDs, see Notes on pipe ID in PIPEBLKSZ control statement.

The third parameter specifies the target to apply the wait state:
RDWR
Specifies to apply the wait state to the read and write wait state of the pipe.
OPEN
Specifies to apply the wait state to the open wait state of the pipe.
If the third parameter is not specified, this control statement applies to both the wait state in opening the pipe and the wait state in getting a pipe block to write or read.

If the Smart Reorg Driver remains in a wait state longer than the specified interval, IMS Database Reorganization Expert issues a message and ends abnormally.

The default time value is 15 (minutes) for each pipe when the data is read from or written to the pipe, and is 0.5 minutes when a reader or writer task waits for the partner task to open the pipe.

Tip: You can change the default value of this control statement by creating an Installation Default Option Table (HPSCOPTI). For more information, see Setting installation default options.