![]() |
Page History
...
- In your file system, create a JSON file that specifies a search query. (For more information, TBD)
Run the following command:
Code Block dm_query_dataobject [-D REST-response] [-o output-file] <criteria.json> [search-path]
The following table describes each parameter:
Parameter Description [-D <REST-response>]
An optional parameter, specifying a path and filename in your file system. The system always creates a response file:
- If you specify this parameter, the system saves the response from the server to the specified file in the specified location.
- If you omit this parameter, the system saves the file as query-dataobject-response-header.tmp in your home directory.
[-o <output-file>]
An optional parameter, specifying a path and filename in your file system. The system always creates a metadata file:
- If you specify this parameter, the system saves the metadata to the specified file in the specified location.
- If you omit this parameter, the system prints the metadata to standard output and saves the file as query-dataobject-response-message.json.tmp in your home directory.
<criteria.json>
A path and filename for a JSON file in your file system, containing the compound query for the search. [search-path]
An optional parameter, specifying the path to the collection in DME in which you want to search.
For example, consider the following criteria.json file.
Code Block |
---|
TBD |
With the above criteria.json file, the following command generates a list of data files in DME.
Code Block |
---|
TBD |