DB2 graphic QMF Version 8

State information variables

Global variable names prefixed with DSQAO provide state information about QMF for Windows.

Note:
None of these variables can be modified by the SET GLOBAL command.

Table 70. State Information Global Variables
Global variable Length Description
DSQAO_BATCH 1 Batch or interactive mode. The value can be 1 (interactive session) or 2 (batch session).

See /Batch command parameter.

DSQAO_CONNECT_ID The ID used to connect to the current database.
DSQAO_CURSOR_OPEN 1 Status of current query's database cursor. Value can be:
  • 1 = cursor is open
  • 2 = cursor is closed
DSQAO_DBCS 1 DBCS support status. Value can be:
  • 1 = DBCS support
  • 2 = DBCS support is not present
DSQAO_NLF_LANG 1 National language ID.
DSQAO_NUM_FETCHED 10 Rows fetched by current query object.
DSQAO_OBJ_NAME 18 Name of current QMF object (query, form or procedure).
Note:
This value is blank if there is no current object.
DSQAO_OBJ_OWNER 8 Owner of current QMF object (query, form or procedure).
Note:
This value is blank if there is no current object.
DSQAO_QMF_RELEASE 2 Application release number.
DSQAO_QMF_VER_RLS 10 Application version and release number, such as QMF V8R1.
DSQAO_QRY_SUBTYPE 1 Subtype of current query. Value can be:
  • 1 = SQL query
  • 3 = prompted query
DSQAO_QUERY_MODEL 1 Model of current query. Value can be 1 (relational).
DSQAO_SYSTEM_ID 1 Operating system (OS). Values can be:
  • 6 = Windows 3.x
  • 7 = Windows 95 or Windows 98
  • 8 = Windows 2000 and Windows NT


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