DB2 graphic  QMF Version 8

Using a placeholder on the list of database objects

You can use a slash (/) as a placeholder to represent the object type, owner, and name in a QMF command.

For example, entering the following command in the Action area for a table object:

EDIT / (MODE=ADD

means the same as entering:

EDIT TABLE owner.tablename (MODE=ADD

where owner.tablename is the owner and name of the table listed.

You can also use /T if you just want to specify the object type, or /N if you just want to specify the owner and name. The /T and /N placeholders are especially useful if you are issuing a command to run a user-written application that requires just the object type or just the object owner and name.

If you are displaying a list from a remote location, the placeholder symbols (/ and /N) include the location with the owner and name.

You can also display the prompt panel for a command with the object type and the object owner and name filled in. To do this, type the command followed by the / placeholder and a question mark.

For example, to display the RUN Command Prompt panel for the DEPTQUERY object, enter RUN / ? in the Action area next to the object. The RUN QUERY Command Prompt panels display. The first panel already has the object name and owner filled in. The next panel requests a form name to use in formatting the data from the query.


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