The WAIT command causes the program to wait for a specified number of seconds (you can specify any decimal value from 0.01 to 600) before executing the next REXX statement. It works only from within a REXX program.
This command has the following format:
"WAIT seconds"
Specifies the number of seconds that an executing REXX program pauses before executing the next REXX statement. Specify any integer value from 1 to 600.
Example:
Use the WAIT command to give a mainframe session time to react to a SESSCMD command before checking the screen for a result. For example, suppose that:
To cause the REXX program to wait for the SESSCMD command to execute, include this statement in the program:
"WAIT 5"
When the statement executes, the REXX program pauses for five seconds before executing the next instruction in the program.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|