Interface communications area mapping for COBOL (DSQCOMMB)

DSQCOMMB provides DSQCOMM mapping for COBOL and is shipped with the product. Table 17 shows the values for DSQCOMMB.

Table 17. Interface communications area for DSQCOMMB
Structure Name Data Type Description
DSQ-RETURN-CODE PIC 9(8) Indicates the status of a QMF command after it has 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. You should set this 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.
DSQ-PRODUCT-RELEASE PIC X(2) Identifies the release level of the query product in use.
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 if 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
[ Previous Page | Next Page | Contents | Index ]