- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Batch queue
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
04-19-2007 10:42 PM
04-19-2007 10:42 PM
Batch queue
plz tell me how to create a batch queue in OVMS?
The Queue manager is already running.
$ SHOW QUE/MANA/FULL
Master file: SYS$SYSROOT:[SYSEXE]QMAN$MASTER.DAT;
Queue manager SYS$QUEUE_MANAGER, running, on ABACUS::
/ON=(*)
Database location: SYS$COMMON:[SYSEXE]
But im not sure how to create the batch queue.
i got the this error while submitting the batch queue.
-----------------------------------
$ submit/notify 1213640757_fetch.txt
%SUBMIT-F-CREJOB, error creating job
-JBC-E-NOSUCHQUE, no such queue
----------------------------------
bye
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2007 11:08 PM
04-19-2007 11:08 PM
Re: Batch queue
If there is no such logical, the queue SYS$BATCH is used, if one exists.
So in Your case first do a SHOW LOG SYS$BATCH .
If not existing, do a SHOW QUEUE * to see if the system has queues at all.
If none at all, then if You are a system manager, use INIT/QUEUE/BATCH to create a queue, else ask the sysmgr which queues are accessible and why there is no SYS$BATCH queue or logical.
There was a discussion last year in ITRC about the pros and cons of having a common sys$batch, or an individual node_batch queue defined by logical sys$batch, or a generic sys$batch.
It depends on the cluster-structure/uniformity what should be preferred.
For a standalone system, there I would prefer an execution queue defined by
INIT/QUEUE/BATCH SYS$BATCH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2007 11:09 PM
04-19-2007 11:09 PM
Re: Batch queue
DCL command procedures (.COM, by default) are.
The baseline batch queue creation command is:
INITIALIZE /QUEUE /BATCH /START [queue-name]
Privileges are required. Usually OPER.
The default batch queue name is SYS%BATCH, though sites will regularly not have that queue and will redirect access to other queues by defining a SYS$BATCH logical name.
There will probably be other qualifiers needed.
The time taken to skim the System Managers' Manual: Essentials book in the OpenVMS documentation set and (for information on creating DCL command procedures) the OpenVMS User's Guide will also save you time and effort.
And if that command does not permit you to submit to the queue, issue SHOW SYMBOL SUBMIT and SHOW LOGICAL SYS$BATCH, and post the output here.
Stephen Hoffman
HoffmanLabs LLC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2007 11:11 PM
04-19-2007 11:11 PM
Re: Batch queue
Welcome to the OpenVMS forum.
Please consider picking a more reasonable forum name and sticking to just that one.
When you give a $SUBMIT command it targets the batch queue SYS$BATCH.
You can create that with $INIT /QUEUE
Please use $HELP QUEUE for an quick overview of all queue related command and then drill down further with help for the details: $HELP INIT /QUEUE
Hope this helps some,
Hein van den Heuvel (at gmail dot com)
HvdH Performance Consulting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2007 11:16 PM
04-19-2007 11:16 PM
Re: Batch queue
to begin with:
Welcome to the VMS forum.
Second, you had better enter "my Profile", choose EDIT, and replace "how to create batich queue in OVMS " into Ramesh (or whatever you like to be named here)
As for your question.
First try
$ show queue /batch
to find out if any batch queues are available (obviously, the default SYS$BATCH is not)
As with any VMS problem
$ HELP is your best friend.
try
$ HELP INIT /QUIEU
and then look through the documenteation for creating (print & ) batch queues.
The simplest command that satisfies your wishes would be
$ init queue/batch sys$batch
but the HELP gives all kind of info to make the queue more to your specific needs.
btw, if $ SHOW QUEU /BATCH _does_ displat other batch(es) running, than you may well only have to modify your SUBMIT command with /QUE=
hth
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2007 12:08 PM
04-20-2007 12:08 PM
Re: Batch queue
The START/QUEUE command restarts a queue that has been stopped or paused.
You must create the queue with the INITIALIZE/QUEUE command before you can use the START/QUEUE command.
To create and start the queue at the same time, use the INITIALIZE/QUEUE/START command.
Do go through this docs...
http://h71000.www7.hp.com/doc/73final/6017/6017pro_054.html#bottom_054
and
http://h71000.www7.hp.com/DOC/731FINAL/4477/4477pro_012.html
Archunan
Archie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2007 12:36 PM
04-20-2007 12:36 PM
Re: Batch queue
Archunan
Archie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 05:17 PM
05-01-2007 05:17 PM
Re: Batch queue
Thanks for ur updae...and i hav one more
problem also...
I hav created the batch queue's are
$ show queue/batch
Batch queue QUEUE, idle, on ABACUS::
Batch queue SYS$BATCH, idle, on ABACUS::
if i give this submit job command..
$ submit/notify 1213640757_fetch.txt
Its submitted in the SYS$BATCH queue.
But i need to submit in the another queue called QUEUE.
Please tell me how to submit it into another queue.
After submit the job ..,
$ show queue/batch
Batch queue QUEUE, idle, on ABACUS::
Batch queue SYS$BATCH, busy, on ABACUS::
Entry Jobname Username Status
----- ------- -------- ------
17 1213640757_FETCH
SYSTEM Executing
after this job i got this status like
Job 1213640757_FETCH (queue SYS$BATCH, entry 17) terminated with error status
So please tell me how can i see this error details and where i can see??
and also tell me how can i submit this job into another Queue called 'QUEUE'.
bye
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 05:41 PM
05-01-2007 05:41 PM
Re: Batch queue
In your command file (your 1213640757_FETCH.TXT) put
$ set verify
at the beginning
>>>and also tell me how can i submit this job into another Queue called 'QUEUE'.
$ submit/queue=queue/log=sys$scratch/notify 1213640757_fetch.txt
After the batch job completes,
$ type/page sys$login:1213640757_fetch.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 05:48 PM
05-01-2007 05:48 PM
Re: Batch queue
$ help hints batch_and_print_jobs
and
$ help submit
And for better tutorial, download the VMS User's Manual in pdf form.
http://h71000.www7.hp.com/doc/731FINAL/DOCUMENTATION/PDF/OVMS_731_USERS.PDF
and read and try things out on your system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 05:57 PM
05-01-2007 05:57 PM
Re: Batch queue
I see I suggested /log=sys$scratch and then type/page sys$login
That may work, but you should use the same logical for both.
A set of consistent commands:
$ submit/queue=queue/log=sys$scratch/noprint/notify 1213640757_fetch.txt
and to view log
$ type/page sys$scratch:1213640757_fetch.log
If you do not specify either /noprint or /keep the log file will be deleted after it is printed on sys$print
All this is explained better in the VMS User's Manual
Have fun,
Jon