DB2 graphic QMF Version 8

Interface communications variables for REXX

The communications variables consist of the following REXX variables. They are set after the completion of every call.

Table 20 shows the interface communication variables, which must not be altered by the calling program:

Table 20. Interface communications variables for REXX
Structure name Description
dsq_return_code Integer that indicates the results of executing a QMF command. Possible values are:
dsq_success
Successful processing of the request
dsq_warning
Normal completion with warnings
dsq_failure
Command did not process correctly
dsq_severe
Severe error- QMF session has ended- additional calls to QMF cannot be made using this instance ID
The value of dsq_return_code is also placed in the REXX variable rc.
dsq_instance_id Identifier that is established by QMF during processing of the START command
dsq_product Query manager product in use- possible values are:
dsq_qmf
QMF
dsq_qm4
OS/400 Query Management
dsq_product_release Release level of the query product in use- possible values are:
  • OS/400:
    dsq_qm4_v1r4
    Version 1 Release 1
  • QMF:
    dsq_qmf_v3r3
    QMF Version 3 Release 3
    dsq_qmf_v6r1
    QMF Version 6
    dsq_qmf_v7r2
    QMF Version 7 Release 2
    dsq_qmf_v8r1
    QMF Version 8 Release 1
dsq_message_id Completion message ID
dsq_q_message_id Query message ID
dsq_start_parm_error Parameter in error when START failed due to a parameter error
dsq_cancel_ind Command cancel indicator- indicates whether the user had canceled command processing while QMF was running a command- possible values are:
dsq_cancel_yes
The user canceled the command
dsq_cancel_no
The user did not cancel the command
dsq_message_text Completion message text
dsq_q_message_text Query message text


Go to the previous page Go to the next page

Downloads | Library | Support | Support Policy | Terms of use | Feedback
Copyright IBM Corporation 1982,2004 Copyright IBM Corporation 1982, 2004
timestamp Last updated: March, 2004