WTOR statement

The WTOR (Write to Operator with Reply) statement sends a message to the z/OS® system console and waits for a reply.

The following table shows the format of the WTOR statement.

Table 1. WTOR statement
Column Function Code Description
1-4 Identifies control statement WTOR WTOR statement.
5 Reserved b  
6-72 Message to send   Message to be written to the system console.
73-80 Sequence indication nnnnnnnn For SYSIN2 statement override.

Example of WTOR statement

This WTOR statement causes the test stream to hold until DFSDDLT0 receives a response from the z/OS console operator. Any response is valid.

|---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----<
WTOR AT A WTOR WITHIN TEST STREAM - ANY RESPONSE WILL CONTINUE