- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- To search which .com procedure is scheduled in que...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2010 10:38 PM
тАО06-01-2010 10:38 PM
I want to search whether this abc.com DCL is scheduled to run in queue.
If sh queue/all, I can only see the job name and the schedule time.
Tried this as well:
pipe show que /all | sea sys$Input abc
Still not able to get what i want. Appreciate yr help. Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2010 11:24 PM
тАО06-01-2010 11:24 PM
Re: To search which .com procedure is scheduled in queue
/ALL just show all jobs from all users (if privs allow).
Add /FULL to see the attributes (including filename) for all queue entries.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2010 11:37 PM
тАО06-01-2010 11:37 PM
Re: To search which .com procedure is scheduled in queue
Can i find only that particular job name which matches the DCL abc.com
Similiarly to UNIX, when crontab -l
I'm able to know directly which scripts is in the scheduled. Not sure whether this can be done in VMS....
35,40,45,50,55 * * * * /scripts/monitoring/myresmon.sh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2010 11:40 PM
тАО06-01-2010 11:40 PM
Solution>> If sh queue/all, I can only see the job name and the schedule time.
This command will only give basic details of various jobs in the queue.
Details such as Entry, Jobname, username ,status.
The /FULL qualifier will give more details such as COM procedure name, logfile name and so on...
To know if a COM procedure is running in a queue,
$SHOW QUEUE/ALL/FULL
-> From this output, check if your COM procedure is listed.
or
$PIPE SHOW QUEUE/ALL/FULL | SEARCH SYS$INPUT ABC
Hope this helps.
Regards,
Murali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2010 11:48 PM
тАО06-01-2010 11:48 PM
Re: To search which .com procedure is scheduled in queue
>> I'm able to know directly which scripts is in the scheduled
Try this command
$PIPE SHOW QUEUE/ALL/FULL | SEARCH SYS$INPUT EXECUTING
This will give you a list of command procedures that are currently executing.
Is this what you were looking for ?
Regards,
Murali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2010 12:04 AM
тАО06-02-2010 12:04 AM
Re: To search which .com procedure is scheduled in queue
Also,
You can use the F$GETQUI lexical in order to get a set of information about
various jobs in the queue.
For more information of F$GETQUI lexical refer DCL help
$HELP LEXICAL F$GETQUI
Check the arguments of the above lexical, it may help you retrieve the
information you are looking for.
Regards,
Murali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2010 02:45 AM
тАО06-02-2010 02:45 AM
Re: To search which .com procedure is scheduled in queue
As Murali has noted, the command modifier to show the details of each batch queue entry is /FULL (without the /ALL, SHOW QUEUE will only display jobs belonging to the user issuing the command).
For a one-time or infrequent requirement, I would use the piped solution of processing the output of the SHOW QUEUE/ALL/FULL command (or use the an editor on the output if I wanted more details about matching jobs).
If this is a constant requirement, I would consider using F$GETQUI in DCL or a conventional program using the OpenVMS library services.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2010 06:36 AM
тАО06-02-2010 06:36 AM
Re: To search which .com procedure is scheduled in queue
Others have described aspects of how this batch scheduling is usually implemented on-site, using DCL and the SUBMIT /AFTER and analogous commands.
The default VMS scheduling mechanisms are most charitably referred to as weak; it's arguably inferior to even Vixie cron, and nowhere near what you can implement with a modern scheduling package.
As for options, you can get a (free) cron port or there's the (free) Kronos tool for OpenVMS, and there are various commercial scheduling packages available from vendors.
But by default? The available scheduling is most charitably referred to as rather lame; it's usually based on a self-requeing batch job with locally-implemented or no error recovery available using DCL, and with the occasional issues around jobs lost during ill-timed restarts and other such.
Some related reading:
http://labs.hoffmanlabs.com/node/97
http://labs.hoffmanlabs.com/node/501
http://labs.hoffmanlabs.com/node/872
http://labs.hoffmanlabs.com/node/1053
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2010 10:46 AM
тАО06-02-2010 10:46 AM
Re: To search which .com procedure is scheduled in queue
You can also use
$ show queue /all /files
and combine that with pipe and search as well.
More information is available with
$ help show queue
OpenVMS help is the place to start. If you're not sure where to start, try
$help hints
The documenation set is availble at http://h71000.www7.hp.com/doc/index.html
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2010 04:47 PM
тАО06-02-2010 04:47 PM
Re: To search which .com procedure is scheduled in queue
Thanks!