DB2 graphic  QMF Version 8

From a procedure

You can include almost any QMF command as a line in a procedure, including a RUN command that runs the same or another procedure. This is helpful when using commands that are too long to enter on the command line.

When you put commands into a procedure, use the full command names, parameters, and values rather than the abbreviations. The minimum acceptable abbreviation for an existing word might change in future releases and cause your procedure to fail.

Commands in procedures with logic

When you use QMF commands in a procedure with logic, the commands:

Commands in linear procedures

Commands in linear procedures can be continued over more than one line by placing a plus sign (+) as a continuation character in column 1 of each additional line. The continued line then starts in column 3.

An object name, authorization ID, or location must be within double quotes (delimited identifiers) when continued over more than one line:

PROC MODIFIED LINE 1

ERASE QUERY
+"LOCATION12345678"."LONGOWNERID12345678912123456789312345678941234567
+123456789112345678921234567893123456789412345678951234567896123456789712345"."
+LONGNAME1234567891123456789212345678931234567894123456789512345678961234567897
+123456789112345678921234567893123456789412345"

Use single quotes when using the LIST command. See LIST for more details.

For more information on using commands in both types of procedures, see Procedures.


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