Previous Topic: WADEPT Keyword—SYSOUT Department DeliveryNext Topic: WANAME Keyword—SYSOUT Person Delivery


WAIT Keyword—Synchronous or Asynchronous Processing

Valid on z/OS and z/VM.

Use the WAIT keyword to indicate whether a CA Top Secret command is processed synchronously (locked until a response is received from the targeted node) or asynchronously.

This keyword has the following format:

TSS function(acid) keyword(s)
                   WAIT(YES|NO)
YES

Specifies synchronous processing (CPF waits for a response from all remote nodes before processing resumes). When this type of processing is in effect, the CPF Recovery File is not used to save transmitted commands.

NO

Specifies asynchronous processing (CPF does not wait for a response). A response is returned to the CPF Journal File for that node only. The terminal keyboard is freed up as soon as the command is accepted. When this processing is in effect, the CPF Recovery File saves transmitted commands. Commands targeted for the local machine only are not saved.

This keyword is used with:

Examples: WAIT keyword

This example adds data sets beginning with SYS1. to the Accounting Department, transmits them to all nodes whose names start with R and processes them synchronously:

TSS ADDTO(ACCDPT) DSNAME(SYS1.)
                  TARGET(R*)
                  WAIT(Y)

This example removes the data sets:

TSS REMOVE(ACCDPT) DSNAME(SYS1.)
                   TARGET(R*)
                   WAIT(Y)