The WAIT statement causes the LDMAMS utility to wait until an application on a remote system becomes active.
WAIT [[APPL(name1)] [LIMIT(minutes)] [QUAL(name2)]]
|
Operand |
Explanation |
|---|---|
|
APPL |
Represents the primary ID of the test application that will receive data. This ID must match the primary ID of the receiving application, which is specified on the COMMTEST statement that creates the application. Default Value: Name of the current LDMAMS job or previous value. See the Notes section. |
|
LIMIT |
Represents the number of minutes that the test application should wait. If the receiving application is not running by then, the sending application will end. Default Value: 60 or previous value. See the Notes section. |
|
QUAL |
Represents the secondary ID of the test application that will receive data. This ID must match the secondary ID of the receiving application, which is on the COMMTEST statement that creates the application. Default Value: COMMTEST or previous value. See the Notes section. |
Notes:
Example
To wait until application TESTAPP SYS2 is active before sending test data, specify this statement as input to your LDMAMS job:
WAIT APPL(TESTAPP) QUAL(SYS2)
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |