Authorization: USER, SYSADMIN
To display outstanding messages from CA VM:Backup or status information about active and pending jobs, use the QUERY command.
This command has the following format:
Query {"Parms"}
Parms:
ENCrypt[ALL] | MSG [(STACK] | EDRsup [(STACK] | OWNer filename filetype [(STACK] | REQuests [(CONTents | STACK] | STOrage [(STACK] | BACkups [(STACK]
Lists the default encryption algorithm name that CA VM:Backup uses if a security algorithm name is not specified, but a security key is specified in the exception file. ALL lists the names of all the available security algorithms this release of CA VM:Backup supports. ALL also indicates whether the processor on which CA VM:Backup is running provides hardware assistance for the algorithm.
Displays all outstanding messages. Each message is identified by a reply identification number and the time the request was issued. You can use the reply identification number to respond to CA VM:Backup.
If a user is asked to detach a minidisk, the user can detach the minidisk, log off, or use the CANCEL command to cancel the job. If a CA VM:Backup operator has outstanding messages, the operator can use the REPLY command to respond to the request, or use the CANCEL command to cancel the job. The STACK option specifies that CA VM:Backup is to place the response from the QUERY command in the requesting user ID program stack in first-in, first-out (FIFO) order. If you use the STACK option, check for a nonzero return code; this code indicates that there are no outstanding messages or requests.
Displays whether Enhanced Device Recognition Support is enabled. The STACK option specifies that CA VM:Backup is to place the response from the QUERY command in the requesting user ID program stack in first-in, first-out (FIFO) order. If you use the STACK option, check for a nonzero return code; this code indicates that there are no outstanding messages or requests.
Displays the user ID that created the template, exception, or exclusion file identified by filename filetype. You cannot use pattern matching to specify filename or filetype. Valid filetypes are:
Job template
Exception
Exclusion
The STACK option specifies that CA VM:Backup is to place the response from the QUERY command in the requesting user ID program stack in first-in, first-out (FIFO) order. If you use the STACK option, check for a nonzero return code; this code indicates that there are no outstanding messages or requests.
You must have SysAdmin authorization to specify OWNER. If a CA VM:Backup system administrator creates a template, exception, or exclusion file, the owner is VMBACKUP. If CA VM:Archiver creates a template, or exception file, the owner is the user ID of the CA VM:Archiver service virtual machine.
Displays information about active and pending jobs, as follows:
CA VM:Backup operators can view the status of all jobs submitted to CA VM:Backup; users can only view information concerning their own restore requests.
Use the CONTENTS option to specify that CA VM:Backup is to list backup job content or restore job sources and targets. For backup jobs, CA VM:Backup lists a maximum of 10 file spaces or minidisks contained in the backup; for restore jobs, CA VM:Backup lists a maximum of 10 paired sources and targets. This option allows you to distinguish between multiple end-user restore jobs listed on the display.
The STACK option specifies that CA VM:Backup is to place the response from the QUERY command in the requesting user ID program stack in first-in, first-out (FIFO) order. If you use the STACK option, check for a nonzero return code; this code indicates that there are no outstanding messages or requests.
Displays message 075I which includes the amount of virtual storage available to CA VM:Backup and the maximum amount of virtual storage that was used since CA VM:Backup was started. The STACK option specifies that CA VM:Backup is to place the response from the QUERY command in the requesting user ID program stack in first-in, first-out (FIFO) order.
Displays the status of all the backup jobs that are running. Each job’s output begins with a line displaying the following:
This introductory line is followed by a pair of lines for each initialized stream. These line pairs describe the state of each initialized stream as follows:
The STACK option specifies that CA VM:Backup is to place the response from the QUERY command in the requesting user ID program stack in first-in, first-out (FIFO) order. If you use the STACK option, check for a nonzero return code; this code indicates that there are no outstanding messages or requests.
vmbackup query msg
CA VM:Backup displays:
REPLYID MESSAGE
1 DETACH 0291 WITHIN 5 MINUTES. VALID REPLIES: OK, CANCEL
To reply to this message, you must type REPLY followed by the reply identification number, and either OK or CANCEL. To cancel the detach request in this example, enter:
vmbackup reply 1 cancel
CA VM:Backup displays the following:
REPLY 1 CANCEL HAS BEEN ACCEPTED.
13:56 VMBLNK0117I REQUEST 1 HAS BEEN CANCELED.
vmbackup query requests
CA VM:Backup displays:
JOB NAME STATUS JOB TYPE STARTED PROCESSED ORIGIN JOBID OPTIONS RESTORE RUNNING RESTORE 13:55:53 0 OF 1 MARY2 00000002 .e...... RESTORE ON HOLD RESTORE MARY2 00000004 p....... RESTORE ON HOLD RESTORE ALEX1 00000005 ........ DAILY WAITING BACKUP OPER 00000007 pe......
vmbackup query owner weekly template
CA VM:Backup responds:
THE OWNER OF WEEKLY TEMPLATE IS VMBACKUP.
vmbackup query storage
CA VM:Backup responds:
VMBSYS0075I Maximum virtual storage used since VM:Backup was started was 2.1M out of 1.0G bytes.
vmbackup query backups
If two backup jobs are currently running, job name BKP3 and job name BKP6, CA VM:Backup displays the following report:
Job ID 00000001, Job Name BKP3, Active streams 2, Copies 1, Elapsed 00:18:50 01: File Space SFSVM200:GUIRI01, Elapsed 00:18:50, Tape blocks 615 01: Tape mount elapsed N/A 02: Minidisk VMSERVP 0305, Elapsed 00:18:50, Tape blocks 702 02: Tape mount elapsed N/A Job ID 00000005, Job Name BKP6, Active streams 2, Copies 1, Elapsed 00:01:33 01: Minidisk DON 0191, Elapsed 00:00:10, Tape blocks 0 01: Tape mount elapsed N/A, Linking DON 0111, Elapsed 00:00:10 02: Minidisk VINDO01 0191, Elapsed 00:00:09, Tape blocks 0 02: Tape mount elapsed N/A
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|