- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Command procedure to get entry number of PENDING j...
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
Forums
Discussions
Discussions
Discussions
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
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
12-09-2006 06:56 PM
12-09-2006 06:56 PM
Thanks in advance,
Chaim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2006 11:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2006 02:43 AM
12-10-2006 02:43 AM
Re: Command procedure to get entry number of PENDING jobs
dcl.openvms.org
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2006 09:26 AM
12-10-2006 09:26 AM
Re: Command procedure to get entry number of PENDING jobs
SHOW QUEUE/ALL/BY_JOB_STATUS=PENDING
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 03:08 AM
12-12-2006 03:08 AM
Re: Command procedure to get entry number of PENDING jobs
Please take a look at
http://dcl.openvms.org/stories.php?story=05/04/04/4429625
This command procedure can be used to locate jobs in any particular state.
For example
$ @findjob * sys*batch* * pending_entry pending_jobs
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2006 06:47 AM
12-15-2006 06:47 AM
Re: Command procedure to get entry number of PENDING jobs
Otherwise if you just want something quick and dirty to spit out the number of pending jobs under the current queue manager you can try these:
The third line of the this example will generate 'xxx lines read...' That number will represent the amount of jobs pending:
$ show queue /all /by_job=pend /out=jobs.tmp
$ sear jobs.tmp "pend" /output=jobs.tmp2
$ edit/tpu/nodisp jobs.tmp2
This next example will display the pending count next to 'Records matched':
$ pipe show queue /all /by_job=pen | sear sys$pipe "pen" /noout /stat | sear sys$pipe "records matched"
Hope this helps.