QUERY
- Last UpdatedOct 28, 2024
- 2 minute read
Function
The QUERY command outputs information about named administration elements.
Description
Note that there are many other elements and attributes of elements that can be queried in other modules. This section lists those available in Monitor.
Examples
Some examples of output from querying commands are given below. For a complete specification of the options, see the command syntax.
|
Command |
Output |
|---|---|
|
Q USER |
User: SAMPLE |
|
Q USER SAMPLE |
SAMPLE (General) |
|
Q USER SYSTEM ACCESS |
(Free) |
|
Q USER SYSTEM DESCRIPTION |
system administrator |
Note:
Description must have been set.
Note:
This information will only be output if you are a Free user.
|
Q ACTIVE |
Number of Active Users is 1 |
|
Q TEAM SAMPLE |
SAMPLE |
|
USERS: SYSTEM SAMPLE |
|
|
DBS: /DESI /PADD /COMP |
|
|
Q TEAM SAMPLE DESCRIPTION |
Team for Sample Project |
|
q set team |
** SAMPLE ** |
Note:
A description must have been set.
|
Q MDB /SAMPLE |
MDB: /SAMPLE |
|
Current DBS:1 SAMPLE/DESI DESI Update |
|
|
2 SAMPLE/PADD PADD Update |
|
|
. . . |
|
|
11 MASTER/DICT DICT Update Foreign |
|
|
12 MASTER/PROP PROP Update Foreign |
|
|
Deferred DBS: |
|
|
**NONE** |
|
|
Q MDB /SAMPLE |
MDB for Sample Project |
Note:
A description must have been set.
|
Q DB SAMPLE/DESI |
SAMPLE/DESI DESI Number 8010 Update |
|
MDBS: /SAMPLE |
|
|
Q DB MASTER/PIPEOLD TYPE |
CATA |
|
Q DB MASTER/PIPECATA FILE |
Filename /%MAS000%/mas005 |
|
Q DB MASTER/PIPECATA NUMBER |
Number 8101 |
|
Q DB MASTER/PIPECATA SIZE |
Size 623 pages |
|
Q DB MASTER/PIPECATA FOREIGN |
FOREIGN |
|
Q DB SAMPLE/DESI FOREIGN |
Local |
|
Q DB SAMPLE/DESI ACCESS |
Update |
|
Q COPIES SAMPLE/DESI |
Database SAMPLE/DESI has copies: ABC/DESI |
|
Q MACRO 1 |
/%SAMMAC%/sam001.mac TEST/DESI SAMPLE/DESI |
|
Q MACRO 1 FROM |
TEST/DESI |
|
Q PROJ |
Number (01223) 556666 |
Related Commands
LIST
Command Syntax
>--- Query ---+--- USer ---+-------------------------------.
| | |
| ‘--- userid --+-- ACCess -------|
| | |
| |-- DESCription --|
| | |
| ‘-- PASS ---------|
| |
|--- ACTIVE ---------------------------------|
| |
|--- TEam teamid ----------+-----------------|
| | |
| ‘-- DESCription --|
| |
|--- DB dbname --+---------------------------|
| | |
| |-- DESCription ------------|
| | |
| |-- TYpe -------------------|
| | |
| |-- FIle -------------------|
| | |
| |-- NUmber -----------------|
| | |
| |-- SIze -------------------|
| | |
| |-- FOREign ----------------|
| | |
| ‘-- ACCess -----------------|
| |
|--- COpies dbname --------------------------|
| |
|--- MDB mdbname --+-------------------------|
| | |
| ‘-- DESCription ----------|
| |
|--- MACRO integer --+-----------------------|
| | |
| |-- FILEname -----------|
| | |
| |-- FROMdb -------------|
| | |
| ‘-- TOdb ---------------|
| |
|--- PASSWORDLOCK ---------------------------|
| |
|--- SET TEam -------------------------------|
| |
‘--- PROject ---+--- NAMe -------------------|
| |
|--- NUMber -----------------|
| |
|--- DEScription ------------|
| |
‘--- MESsage ----------------+-->