Interface communications area mapping for C language (DSQCOMMC)

DSQCOMMC provides DSQCOMM mapping for C language and is shipped with the product. Table 16 shows the values for DSQCOMMC.

Table 16. Interface communications area for DSQCOMMC
Structure Name Data Type Description
DSQ_RETURN_CODE signed long integer Indicates the status of a QMF command after it has been 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 signed long integer Identifier established by QMF during execution of the START command
DSQ_COMM_LEVEL character, length 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 character, length 2 Identifies the IBM query product in use.
DSQ_PRODUCT_RELEASE character, length 2 Identifies the release level of the query product in use.
DSQ_RESERVE1 character, length 28 Reserved for future use
DSQ_MESSAGE_ID character, length 8 Completion message ID
DSQ_Q_MESSAGE_ID character, length 8 Query message ID
DSQ_START_PARM_ERROR character, length 8 Parameter in error when START failed due to a parameter error
DSQ_CANCEL_IND character, length 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 character, length 23 Reserved for future use
DSQ_RESERVE3 character, length 156 Reserved for future use
DSQ_MESSAGE_TEXT character, length 128 Completion message text
DSQ_Q_MESSAGE_TEXT character, length 128 Query message text
[ Previous Page | Next Page | Contents | Index ]