# QRY Console Command: Open NOMADS Query

> Source: https://manual.pvxplus.com/commands/qry

## Format

**QRY** *query_name$,library_file$*

***Where:***

|  |  |
| --- | --- |
| *query_name$* | Name of the NOMADS query object. |
| *library_file$* | Name of the library file. If the location of the library file is ***different*** from the current directory, enter the ***full pathname*** of the library file. |

The *query_name$* and *library_file$* must be separated by either a ***comma*** or a ***semi-colon***.

## Description

The **QRY** command can be used to invoke the **[NOMADS Session Manager](https://manual.pvxplus.com/nomads-graphical-application/nomads-development/getting-started#sessionmgr)** for opening a NOMADS query definition if *query_name$* exists.

If *query_name$* does not exist, a prompt for selecting the **[Query Type](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/query-subsystem/defining-a-query#type)** will display, treating this as a new query definition.

*(The QRY command was added in PxPlus 2025.)*

## Example:

QRY clientsqry;scrnlib.en

QRY deptsqry,c:\\work\\data\\scrnlib.en
