Displays the last initiated request for the specified user ID (for LAST) or the next scheduled request for the specified user ID (for NEXT). If you do not specify a user ID, the user ID that issued the QUERY command is the default.
Specifies the CP LOGON password for the user ID whose requests are being queried. You must specify the password when you query the requests of another user ID. Your system administrator can specify that users are not allowed to enter the password in the option string. Instead, you are required to use the prompting procedure for password entry. You do not have to supply your password when querying requests you submitted on your own user ID.
Specifies the system name of a Single System Image member. If specified, only requests that are defined to run on this member, and that meet the rest of the selection criteria, display. Specify * if you want to only QUERY the requests that are not assigned a SYSNAME. If not specified, then systemname is not used as part of the output selection criteria. This option is invalid if CA VM:Schedule is not configured for Single System Image mode.
Specifies the user ID whose requests you want to query. The default is the user ID that issued the QUERY command. If you specify another user ID, the CP logon password must be specified unless you have NOPASS authorization. If you have NOPASS authorization, you can specify an asterisk to query requests for all user IDs.
The QUERY command displays information about one or more scheduled requests. The display is either in long or short form.
Example
To query the status of all requests with names that begin with PROD and that belong to user LYDIA, enter the following command:
vmsched query prod* (user Lydia
CA VM:Schedule displays the following response:
ENTER PASSWORD:
Enter your password.
If CA VM:Schedule recognizes it as the correct password, it displays output similar to the following output:
REQUEST EXECUTION STATUS LAST DATE/TIME NEXT DATE/TIME USERID ------- ---------------- --------------------- --------------------- ------ PROD1 NORMAL EXECUTION WED 01/15/16 23:00:00 THU 01/16/15 23:00:00 LYDIA
Example
The long format of the QUERY display contains fields that represent the CA VM:Schedule scheduling capabilities and features. To query the status of request REQ1, enter the following command:
vmsched query req1 (long
CA VM:Schedule displays the following response:
USERID: POTTER REQUEST: REQ1 AT: 23:00:00
WITHIN: 00:02:00 EVERY: N/A FOR: N/A
TO: N/A FROM: 01/15/14 UNTIL: 01/30/14
ON DAYS: N/A
SHIFT/RANGE: N/A
REPEAT INTERVAL: EVERY BUSINESS DAY
RELEASE BY: N/A SPOOL TO: POTTER CLASS: N/A
STORAGE: N/A
REQUEST MONITOR: YES SPOOL CONSOLE: YES DUMP TYPE: VM
SEND CONSOLE TO: POTTER SEND DUMP TO: POTTER LOGOFF: YES
LAST RUN: WED 01/15/02 23:00:00 END TIME: WED 01/15/02 23:05:25 RC: 0
NEXT RUN: MON 01/16/02 23:00:00 STATUS: NORMAL INITIATION
COMMAND: EXEC DLYRPT
RESOURCE LIMITS:
CPU: 10 SIO: 1000 UIO: 1000
RESOURCE USAGE:
CPU: 0 SIO: 164 UIO: 0
ELAPSED RUN TIME: 00:05:25
|
Copyright © 2013 CA.
All rights reserved.
|
|