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 status of SAA Query. 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; SAA Query session has ended. Because the SAA Query session has ended, additional calls to SAA Query 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 SAA Query during processing of the START command.
dsq_product Query manager product in use. Possible values are:
dsq_qrw
OS/2 Query Manager
dsq_qmf
QMF
dsq_qm4
OS/400 Query Management
dsq_product_release Release level of the query product in use. Possible values are:
  • OS/2:
    dsq_qrw_v1r2
    Version 1 Release 2
    dsq_qrw_v1r3
    Version 1 Release 3
  • OS/400:
    dsq_qm4_v1r4
    Version 1 Release 1
  • QMF:
    dsq_qmf_v2r4
    QMF Version 2 Release 4
    dsq_qmf_v3r1
    QMF Version 3 Release 1
    dsq_qmf_v3r1m1
    QMF Version 3 Release 1 Modification 1
    dsq_qmf_v3r2
    QMF Version 3 Release 2
    dsq_qmf_v3r3
    QMF Version 3 Release 3
    dsq_qmf_v6r1
    QMF Version 6
    dsq_qmf_v7r2
    QMF Version 7 Release 2
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.
[ Previous Page | Next Page | Contents | Index ]