












|
PUTQUERY

Saves the current query to a file. The saved file can be distributed to other users, edited using a text editor, and loaded back into MetaMAP for later use with the GETQUERY command.
Example
MM> PUTQUERY
Prompts
If no query has been set, a warning message will be displayed, and the command will be stopped.
Query has not been set
If no filename was entered on the command line, a prompt will appear asking for the name the file will be saved as. Do not put an extension after the filename, as the extension ".query" will be put after the name you choose.
Name of file for saved query >
File filename.query already exists - overwrite [Y] ?
If the filename already exists, the user is warned, and given the opportunity to overwrite the old query. If the Enter key is pressed, or "Y" is typed, the existing file will be overwritten. Any other key will cause the command to exit.
The query will then be saved to a file, and a message will be displayed stating that the command was successful, and the location of the query file.
Query for data layer n written to x:\metamap\mmsys6\temp\filename.query
Note
This is a MetaMAP and MetaVUE command.
|
|