Invoking EXECs synchronously with IMFEXEC SELECT(EXEC) WAIT(YES)


Some automation procedures may need to include more than one EXEC to run.

Using the IMFEXEC SELECT statement in an EXEC allows one EXEC to schedule another EXEC-initiated EXEC are usually subroutines or service routines that carry out specialized tasks needed by several automation procedures.

An EXEC can schedule another EXEC under the same thread (synchronously) or under a new thread (asynchronously). IMFEXEC SELECT allows one EXEC to schedule another. If IMFEXEC SELECT is coded with WAIT(YES), the called EXEC is scheduled to execute under the same thread. Otherwise, the called EXEC executes as a separate task under a new thread.

The following table shows where you can find more information:

 

To read about

See

EXEC-initiated EXECs

using the IMFEXEC SELECT statement and its parameters

using variables

 

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