gtpg2m39General Macros

POSTC-Mark Event Completion

Use this general macro to inform the control program that an element of an internally named event was completed successfully. This macro is used with the EVNTC (see EVNTC-Define Internal Event), EVNWC (see EVNWC-Wait for Event Completion), and SAWNC (see SAWNC-Wait for Event Completion, Signal Aware) macros.

You can use the EVNTC, POSTC, EVNWC, and SAWNC macros to pass the contents of a core block from one entry control block (ECB) to another ECB.

Format




label
A symbolic name can be assigned to the macro statement.

TYPE
The type of event being posted:

CNT
Post is posting a counter type event.

MSK
Post is posting a mask type event.

CB
Post is posting a core block type event.

LIST
Post is posting a data list-type event.
Note:
For TYPE=LIST, the BLOCK parameter is required.

BLOCK=address
The address of an area formatted as defined in EV0BK that contains the required POSTC input parameters. BLOCK and LEVEL are mutually exclusive except for TYPE=CB.

LEVEL=level
The core block reference word and the file address reference word (D0-DF) used to pass the information. LEVEL and BLOCK are mutually exclusive except for TYPE=CB.

ERCODE=character|(Rx)
This parameter, if specified, indicates that this post is an error post. The error is specified as a 1-byte value or register notation, where the register contains the error code in byte 3.

For CNT-, MSK-, and CB-type events, the event is completed with an error return condition. The value of ERCODE is set in the error indicator field (BVNBKE) for the event.

For LIST-type events, the status flag field (EVNBKLIF) for the data item in error is set to indicate an error condition (X'40'). The value of ERCODE is saved in the error indicator field (EVNBKLIE) for the data item. The event is not completed unless all data items in the list have been set to completed (X'80') or in error (X'40').

NFOUND=label
Label in which to branch if the event is not outstanding.

LINFND=label2
Label in which to branch if a data item to post to is not found in the event list. The status flag field for the data item in the post list is set to X'20' to indicate that the data item was not found in the event list.

Entry Requirements

Return Conditions

Examples

None.