Contents

The QMF Library
About This Book
Prerequisite knowledge
How to send your comments
QMF Commands
QMF command environments
Entering commands
On the command line
With a function key
On a prompt panel
From a procedure
From an application
Using remote data access
Confirmation panels
Canceling commands
How to read syntax diagrams
Command parameters
ADD
Notes
BACKWARD
Description
Notes
BATCH
BOTTOM
Notes
CANCEL
Notes
CHANGE
Notes
CHECK
Notes
Error conditions
Warning conditions
CICS
Description
Notes
Examples
CLEAR
Notes
CMS
Description
Notes
Connect in VM
Description
Notes
Examples
Connect in OS/390
Description
Notes
Examples
Connect in CICS
Description
Notes
Examples
CONVERT
Description
Notes
Examples
DELETE
Notes
DESCRIBE
Notes
DISPLAY
Description
Notes
Examples
DPRE
Notes
DRAW
Description
Notes
Examples
EDIT OBJECT
Description
Notes
Examples
Edit a table
Description
Notes
Examples
END
Notes
ENLARGE
ERASE
Description
Notes
Examples
EXIT
EXPORT in CICS
Description
Notes
Examples
EXPORT in TSO
Description
Notes
Examples
EXPORT in CMS
Description
Notes
Examples
EXTRACT
Description
Notes
FORWARD
Description
Notes
GET GLOBAL
Description
Notes
GETQMF macro
Description
HELP
Description
Notes
IMPORT in CICS
Description
Notes
Examples
IMPORT in TSO
Description
Notes
Examples
IMPORT in CMS
Description
Notes
Examples
INSERT
Notes
INTERACT
Description
ISPF
Description
LAYOUT
Description
Notes
Examples
LEFT
Description
Notes
LIST
Description
Notes
Examples
MESSAGE
Description
Notes
Examples
NEXT
Description
Notes
PREVIOUS
Description
Notes
PRINT in CMS and TSO
Description
Notes
Examples
PRINT in CICS
Description
Notes
Examples
QMF
Description
Notes
Examples
REDUCE
REFRESH
Notes
RESET GLOBAL
Description
Notes
Examples
RESET object
Description
Examples
RETRIEVE
Description
Notes
Examples
RIGHT
Description
Notes
RUN
Description
Notes
Variable values for the RUN command
System considerations
Examples
SAVE
Description
Notes
Examples
SEARCH
Notes
SET GLOBAL
Description
Notes
Examples
SET PROFILE
Description
Notes
Examples
SHOW
Description
Notes
SORT
SPECIFY
Description
Notes
START
QMF Program Parameters
Description
STATE
Notes
SWITCH
Notes
TOP
Notes
TSO
Description
Notes
Examples
SQL Keywords and Functions Used in QMF Queries
ADD
ALL
ALTER TABLE
AND
Parentheses
ANY
AS
AVG
BETWEEN x AND y
COUNT
CREATE SYNONYM
DBCS data
CREATE TABLE
CREATE VIEW
DELETE
DISTINCT
DROP
EXISTS
GRANT
GROUP BY
HAVING
IN
INSERT INTO
Insert some column values in a row
Copy rows from one table to another
IS
LIKE
Select a string of characters: LIKE '%abc%'
Ignore characters: LIKE '_a_'
MAX and MIN
NOT
NOT with NULL, LIKE, IN, and BETWEEN
NULL
OR
ORDER BY
Sorting sequence
Order by more than one column
Order columns by column number
REVOKE
SELECT
Select every column from a table
Select columns from a table
Add descriptive columns
Subqueries
Examples:
SOME
SUM
UNION
Results:
UPDATE
WHERE
Equality and inequality symbols in a WHERE clause
Calculated results
@IF function
Example
SQL scalar functions
Date/time functions
Conversion functions
String functions
Concatenation
Examples
Forms, Reports, and Charts
Using QMF forms
Creating reports in QMF
Display a report without any data
Symbols used in reports to indicate errors
Quick reference to form panels for reports
Creating charts in QMF
FORM.MAIN
Nonentry Areas
FORM.BREAKn
FORM.CALC
Summary of Editing Expressions
FORM.COLUMNS
Specifying column attributes
Printing considerations
FORM.CONDITIONS
FORM.DETAIL
FORM.FINAL
FORM.OPTIONS
FORM.PAGE
Mistakes on form panels
Error conditions
Warning conditions
Checking for and correcting mistakes
Form and data incompatibility
Using REXX with QMF forms
Using calculated values in reports
How QMF and REXX Iiteract
When expressions are evaluated by REXX
REXX Operators
Report calculation expression examples
Usage Codes
ACROSS Usage Code
Aggregation Usage Codes
BREAK Usage Codes
CALCid Usage Code
GROUP Usage Code
OMIT Usage Code
Date and Time Usage Codes
Edit Codes
Edit Codes for Character Data
Edit Codes for Graphic Data
Edit Codes for Numeric Data
Edit Codes for Date Data
Edit Codes for Time Data
Edit Codes for Timestamp Data
User-Defined Edit Codes
Considerations for Aggregation Functions and Edit Codes
Variables Used in Forms
General Topics
Naming conventions
Names with double-byte characters
Commas instead of decimal points
QMF temporary storage areas
Report completion and the incomplete data prompt
Changing QMF's response to long-running queries
Avoiding using nulls as data when editing a QMF object
Methods of writing queries
Prompted query
Query-by-example (QBE)
Procedures
Procedures with logic
Linear procedures
System initialization procedure
Printing QMF objects
Reports, tables, profiles, procedures, SQL queries, and QBE queries
Charts
Prompted queries and forms
The table editor
Online help
Object help
Message help
Field-sensitive help
Remote data access
Distributed unit of work access (DB2 for OS/390 only)
Remote unit of work access
The governor interrupt
Appendix A. QMF Sample Tables
Q.APPLICANT
Q.INTERVIEW
Q.ORG
Q.PARTS
Q.PRODUCTS
Q.PROJECT
Q.STAFF
Q.SUPPLIER
Appendix B. QMF Global Variable Tables
DSQ global variables for profile-related state information
DSQ global variables for state information not related to the profile
DSQ global variables associated with CICS
DSQ global variables related to a message produced by the previous command
DSQ global variables associated with table editor
DSQ global variables that control how information is displayed on the screen
DSQ global variables that control how commands and procedures are executed
DSQ Global Variables That Show Results of CONVERT QUERY
DSQ Global Variables That Show RUN QUERY Error Message Information
Appendix C. QMF Functions that Require Specific Support
QMF functions not available in CICS
Appendix D. Notices
Trademarks
Glossary of Terms and Acronyms
Bibliography
APPC Publications
CICS Publications
COBOL Publications
DATABASE 2 Publications
DCF Publications
DRDA Publications
DXT Publications
Graphical Data Display Manager (GDDM) Publications
HLASM Publications
ISPF/PDF Publications
OS/390 Publications
PL/I Publications
REXX Publications
ServiceLink Publications
VM Publications
VSE Publications
Index
[ Previous Page | Next Page | Contents | Index ]