Error handling

At the completion of every QMF command, the DSQCOMM communications area contains message text in the dsq_message_text variable and a return code in the dsq_return_code variable.

The return code is assigned one of the following values:

dsq_success
Successful completion of the command
dsq_warning
Normal completion with warnings
dsq_failure
Command did not run correctly
dsq_severe
Severe error; QMF session terminated

The variables and fields in each DSQCOMM area are documented with the programming language specifications.