EXCEPTDO


9.0C

 

The EXCEPTDO instruction triggers a specified exception program event. This instruction uses one of the following formats:

 

(1)

[label]

EXCEPTDO

{event},{msg}

(2)

[label]

EXCEPTDO

CHAR={char},{msg}

 

Where:

label

Optional. A Program Execution Label.

event

Required. One of the exception program events.

char

Required. A single character literal or a Character String Variable.

msg

Required. A Character String Variable or a literal that contains the user program message data that is sent to the exception program event handler.

Flags Affected: none

Note the following:

  1. If the exception program event is not enabled when the EXCEPTDO instruction is executed, the instruction is ignored. Otherwise, program control is dispatched to the exception handling routine.

  2. See EXCEPTSET for {msg} details.

 

 

See Also: EXCEPTCHECK, EXCEPTCLEAR, EXCEPTDISABLE, EXCEPTENABLE, EXCEPTSET, Exceptions, Trappable Events, Program Control Instructions

 



PL/B Language Reference EXCEPTDISABLE EXCEPTENABLE