gtpg2m1v | General Macros |
This general macro interrogates the status of a specific event. It is used with macros for defining internal events (see EVNTC-Define Internal Event), waiting for events to complete (see EVNWC-Wait for Event Completion), and marking event completions (see POSTC-Mark Event Completion).
Format
|
Entry Requirements
Return Conditions
For an MSK-, CNT-, or CB-type event, the error indicator in the EVNBKE field is the value returned in the ERCODE parameter as coded in the POSTC macro. If the event is a CB type, the core block reference word (CBRW) information will not be returned. That information can only be obtained by issuing an EVNWC macro.
For a LIST-type event, the error indicator in the EVNBKE field is set to a generic error code value of X'7F'. The error indicator field (EVNBKLIE) for each list item contains the value returned in the ERCODE parameter as coded in the POSTC macro.
If an NFOUND parameter was coded and the name is not found, an immediate return is made to the specified label. Otherwise control is returned to NSI.
Programming Considerations
Examples