Interface communications area mapping for COBOL (DSQCOMMB)

DSQCOMMB provides DSQCOMM mapping for COBOL language programs and is provided with QMF.

The table shows the values for DSQCOMMB.

Table 1. Interface communications area for COBOL (DSQCOMMB)
Structure name Data type Description
DSQ-RETURN-CODE PIC 9(8) Indicates the status of a QMF command after is run

Its values are:

DSQ-SUCCESS
Successful execution of the request
DSQ-WARNING
Normal completion with warnings
DSQ-FAILURE
Command did not run correctly
DSQ-SEVERE
Severe error; QMF session terminated
DSQ-INSTANCE-ID PIC 9(8) Identifier established by QMF during execution of the START command
DSQ-COMM-LEVEL PIC X(12)

Identifies the level of the DSQCOMM

In your application, include instructions that initialize this variable to the value of DSQ_CURRENT_COMM_LEVEL before issuing the QMF START command.

DSQ-PRODUCT PIC X(2)

Identifies the IBM® query product in use

Variables that begin with DSQ-QMF specify QMF for TSO and QMF for CICS® versions.

DSQ-PRODUCT-RELEASE PIC X(2)

Release level of QMF in use

Variable DSQ_QMF_V13R1 specifies QMF Version 13 Release 1.

DSQ-RESERVE1 PIC X(28) Reserved for future use
DSQ-MESSAGE-ID PIC X(8) Completion message ID
DSQ-Q-MESSAGE-ID PIC X(8) Query message ID
DSQ-START-PARM-ERROR PIC X(8) Parameter in error when START failed due to a parameter error
DSQ-CANCEL-IND PIC X(1) Contains one of two values, depending on whether the user canceled while a QMF command was running:
  • DSQ-CANCEL-YES
  • DSQ-CANCEL-NO
DSQ-RESERVE2 PIC X(23) Reserved for future use
DSQ-RESERVE3 PIC X(156) Reserved for future use
DSQ-MESSAGE-TEXT PIC X(128) Completion message text
DSQ-Q-MESSAGE-TEXT PIC X(128) Query message text