POST


This command notifies an EXEC that has issued the IMFEXEC WAIT command that it can resume execution (for example, makes that EXEC dispatchable again).


Command

Parameters

POST

name

CODE(code)

TARGET(targetName)

The following table describes the parameters:

Parameter

Function

Notes

name

Specify a name that matches the name specified by another EXEC using the IMFEXEC WAIT command.

The value of this parameter must match the NAME parameter of a previously executed IMFEXEC WAIT command. Refer to WAIT for more information.

1-32 alphanumeric characters

CODE

If the code value contains blanks, you must enclose the value in single quotation marks.

Available to the reawakened EXEC in the TSO variable IMFPOST.

1-255 alphanumeric characters

TARGET

Specify a target system name.

Valid target names are defined in the BBIJNT00 member of the BBPARM data set.

1-8 alphanumeric characters

Condition codes are listed in the following table:

Value

Description

0

Name was posted successfully.

4

No waiting EXEC was found.

8

Node was not found.

12

Target was not found.

16

Node was not available.

Example

This example posts the name TEST with a code of ABC to the target called SYSA. An EXEC that is waiting for TEST to be posted will now be re-enabled when TEST is posted. The value of the code can be examined by the re-enabled EXEC by using the variable IMFPOST.

"IMFEXEC POST TEST CODE(ABC) TARGET(SYSA)"

CLIST example:

IMFEXEC POST TEST CODE(ABC) TARGET(SYSA)

 

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