onfailedresume
STATEMENTS

The onfailedresume statement is used to setup a semi-graceful recovery if a resume statement fails because there was no pause statement.


Parameters

This statement has one parameter:

statements – is a text string that contains one or more Panorama statements to be executed when a resume fails. Notice that this is not the name of a procedure, but the actual statements themselves (as a string of text). This is similar to the execute statement. Once a failure has occurred these statements will run.


Description

The onfailedresume statement can be used to setup a semi-graceful recovery if a resume statement fails because there was no pause statement. This can occur if the procedure that was going to run the pause statement stops due to an error. This statement is used by Panorama’s rundialog statement, we don’t know of any other uses for it.

Note: The onresumefailure code is cleared each time a resume statement is executed, whether successful or not.


See Also


History

VersionStatusNotes
10.0NewNew in this version.