Newer version of documentation BMC provides a newer version of the documentation for this version of the product. As a result, BMC no longer accepts comments in this space.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see bao8301.

WAIT


This command suspends EXEC execution for a specified interval or until a value (or name) is posted by another EXEC by using the IMFEXEC POST command statement.

command

Parameters

WAIT

n

NAME

(name)

The following table describes the parameters:

Parameter

Function

Notes

Interval

Number of seconds to suspend execution

Numeric value in the range 1-9999

NAME

Used with the NAME parameter in the IMFEXEC POST command statement

Can be 1-32 alphanumeric characters long

This parameter allows you to stop execution of the EXEC until either the wait time expires or until the NAME parameter in an IMFEXEC POST command is posted. See POST for more information.

Condition codes are listed in the following table:

Value

Description

0

Command was executed successfully. (If WAIT on NAME and INTERVAL did not expire.)

8

Attempted WAIT on NAME timed out.

16

Syntax error occurred.

Example

This example pauses the EXEC for 15 seconds or until the name TOKEN is posted by the IMFEXEC POST command statement in another EXEC. The EXEC processing thread remains in use.

/* REXX */
'IMFEXEC WAIT 15 NAME(TOKEN)'

CLIST example:

IMFEXEC WAIT 15 NAME(TOKEN)

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*