QMF commands
Look up syntax, option descriptions, and usage information for commands used with QMF™.
- QMF command environments
You can enter QMF commands from TSO or CICS® environments. In TSO, you might also be using ISPF. - Entering commands
You can issue QMF commands in several ways: on the command line, with a function key, on a prompt panel, or from a procedure or application. - QMF commands that access data at a remote server
Several points apply to QMF commands that access data at a remote server. - Confirmation panels
If there is a CONFIRM parameter on a command, you can specify YES or NO (or use the default in your profile). - Canceling commands
The method you use to cancel a QMF command or query that is currently in process depends on the type of terminal connection you have and your environment. - Command parameters
A command can allow positional parameters and keyword parameters. - ADD
Use the ADD command to add rows to a table in the Table Editor or add global variables to the global variable list. - BACKWARD
The BACKWARD command scrolls toward the top of the active panel (or to the first field of the current row if you are using the Table Editor). In a panel, you can scroll backward to the cursor position, to the beginning, or scroll a half page, a full page, or a specific number of lines. - BATCH
BATCH is a command synonym supplied by QMF that accesses the QMF batch application. This application lets you run queries and procedures as QMF batch jobs rather than interactively. - BOTTOM
The BOTTOM command scrolls to the last line of queries, procedures, reports, global variable lists, and scrollable form panels. - CANCEL
Use the CANCEL command to discard pending modifications made during a Table Editor session. You can also use the CANCEL command to return to a primary QMF panel from a help panel or to cancel a confirmation panel for a command. - CHANGE
In Prompted Query, the CHANGE command displays a panel on which you can make changes. In the Table Editor, the CHANGE command modifies rows in a table or view. - CHECK
The CHECK command checks form panels for errors and conflicting entries. - CICS
The CICS command starts a CICS transaction when you are running QMF under CICS. The transaction can be started without ending your current QMF session. - CLEAR
Use the CLEAR command to erase input from all fields in the Table Editor. - CONNECT in CICS
With the CONNECT command, you can connect to any database server that is part of the distributed network from within a QMF session. If you are connected to a DB2® Server for VSE and VM database, you can also use the CONNECT command to change the database user. - CONNECT in TSO
You can use the CONNECT command from within a QMF session to connect to any database server that is part of the distributed network. - CONVERT
The CONVERT command converts a Prompted, SQL, or QBE query into a query with standard SQL syntax. - DELETE
The DELETE command removes different elements, depending on the panel on which it is used. - DESCRIBE
Use the DESCRIBE command to display information about tables, views, columns of tables or views, or objects that are saved to the QMF catalog (QUERY, PROC, FORM, FOLDER, or ANALYTIC objects). To issue the command, press the Describe key from an object list panel or a Prompted Query panel. You cannot enter the DESCRIBE command on the command line. - DISPLAY
The DISPLAY command displays an object from QMF temporary storage or an object from the database. - DPRE
DPRE is a command synonym that provides a print preview so that you can see how a report will appear when it is printed. - DRAW
The DRAW command helps you compose a basic SQL query or QBE query. - EDIT object
Use the EDIT object command to modify QMF objects by using an external editor. - EDIT TABLE
The EDIT TABLE command invokes the QMF Table Editor. During a Table Editor session, you can make additions, changes, or deletions to records in your table using fields on the panels provided. - END
The END command ends the current operation and returns to an earlier state. - ENLARGE
The ENLARGE command in QMF increases the size of a QBE example table. - ERASE
The ERASE command removes an object from the database. - EXIT
The EXIT command stops your QMF session. - EXPORT in CICS
Use the EXPORT command in CICS to send queries, forms, procedures, reports, and data from QMF temporary storage to a CICS data queue. You can also use the EXPORT command to send queries, forms, procedures, and tables from the database to a CICS data queue, or to send charts from QMF to a GDDM library that contains GDF files. - EXPORT in TSO
The EXPORT command sends queries, forms, procedures, reports, tables, data, and charts to certain data sets and files. - FORWARD
The FORWARD command scrolls toward the bottom of a scrollable area. You can scroll until the last line is at the top of your screen. - GET GLOBAL
The linear syntax of the GET GLOBAL command assigns values of QMF global variables to REXX variables in applications and procedures written in REXX. - GETQMF macro
GETQMF is an edit macro, not a QMF command. It inserts a QMF report into a document. - HELP
The HELP command displays information about QMF. Two forms of help information are available. - IMPORT in CICS
The IMPORT command copies the contents of a CICS data queue into QMF temporary storage or into the database. - IMPORT in TSO
The IMPORT command copies the contents of a TSO data set or UNIX file into QMF temporary storage or into the database. - INSERT
The INSERT command inserts lines onto specific panels. - INTERACT
The INTERACT command enables user interaction while a procedure or application is running. - ISPF
ISPF is a command synonym that is supplied by QMF. ISPF calls the Interactive System Product Facility (ISPF). - LAYOUT
The LAYOUT command generates a sample QMF report using just a QMF form as input. This can assist in the development of a QMF form by providing a visual rendering of a representative report. - LEFT
The LEFT command scrolls toward the left boundary of a report panel or a QBE query. - LIST
Use the LIST command to display lists of QMF objects and database tables stored in the database. When you first issue the LIST command in a QMF session, ensure that you use one of these parameters: Queries, Forms, Procs, Analytics, Folders, QMF, Tables, or All. - MESSAGE
Use the MESSAGE command from user applications (procedures, programs, execs, and CLISTs) to pass a message to the QMF message area. - NEXT
Use the NEXT command to navigate forward through the set of variations associated with the FORM.DETAIL panel. You can also use the NEXT command to display the next column or the next definition from the Column Definition or Column Alignment panel, or to display the next row in the set of accessed rows in the Table Editor. - PREVIOUS
Use the PREVIOUS command to navigate backward. - PRINT in CICS
The PRINT command in CICS prints a copy of an object in the QMF temporary storage area or an object that is stored in the database. - PRINT in TSO
The PRINT command prints a copy of an object in the QMF temporary storage area or an object that is stored in the database. - QMF
Use the QMF command to issue a base QMF command, bypassing command synonym recognition. This avoids ambiguity with any site-defined commands that have the same names as base QMF commands. - REDUCE
The REDUCE command is used in reports and in QBE. - REFRESH
Use the Refresh function key to issue the REFRESH command. You cannot enter the REFRESH command on the command line. - RENAME
The RENAME command renames an object in the database. - RESET GLOBAL
The RESET GLOBAL command deletes the names and values of variables that were created by an administrator or user. These are global variables with names that do not begin with "DSQ." - RESET object
The RESET command restores an object in temporary storage to its initial state. This command does not apply to ANALYTIC objects. - RETRIEVE
The RETRIEVE command displays your most recent command line entry. Using RETRIEVE repeatedly displays command line input in reverse order. - RIGHT
The RIGHT command scrolls toward the right boundary of a QBE query or report panel. - RUN
The RUN command runs queries or procedures from QMF temporary storage or from the database at the current location. - SAVE
The SAVE command saves in the database at the current location objects that are currently in QMF temporary storage. - SEARCH
In the Table Editor, the SEARCH command locates specified information in a database table. - SET GLOBAL
The SET GLOBAL command assigns values to global variables from the QMF command line, from a procedure, or through the callable interface. You cannot change the value of a global variable that is defined as read-only. - SET PROFILE
The SET PROFILE command changes values in your QMF profile. These values influence the behavior of your QMF session. - SHOW
The SHOW command has many uses. For example, you can use the SHOW command to navigate among object panels and show a variation of the FORM.DETAIL panel. - SORT
The SORT command sorts items in a database object list. You can issue this command only by pressing the Sort function key. When you request sorting, a panel is displayed that lets you select the order of the object names. - SPECIFY
The SPECIFY command can be used in Prompted Query and on FORM.COLUMNS. - START
The START command begins a new QMF session. - STATE
STATE is an application-support command and can be run only through the QMF command interface. - TOP
The TOP command scrolls to the beginning of queries, procedures, reports, global variable lists, and scrollable form panels. - TRACE
The TRACE command allows application programs that are written in C, COBOL, FORTRAN, PL/I, or ASSEMBLER to use the callable interface to request a service trace. This command can be issued only from within a QMF application. - TSO
The TSO command lets you issue a command in the TSO environment without terminating your use of QMF.
Parent topic: Reference information for QMF for TSO and CICS