Previous Topic: Request Identifier (IDENTIFIED BY:)Next Topic: IGNORE ASYNC


Conditional Clauses (WHEN)

When executing the CHECK ASYNC RESPONSE statement, the process flow gives control to an applicable WHEN clause, if it is present. When the block of code associated with the WHEN clause has completed, processing continues with the statement immediately after the CHECK ASYNC RESPONSE statement. All of the WHEN clauses are included in the code when the CHECK ASYNC RESPONSE statement is constructed by the PAD editor. You can delete any of the WHEN clauses, as required.

Control is passed to the associated WHEN clause under the following circumstances: