Computing.Net > Forums > OpenVMS > what is sys$batch and how is it def

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

what is sys$batch and how is it def

Reply to Message Icon

Name: Athanasopolous
Date: July 5, 2005 at 16:43:05 Pacific
OS: OPENVMS
CPU/Ram: unknown
Comment:

I have been following an installation for some software and I have come across this instruction which has stopped me in my tracks.

"The batch processing queue, SYS$BATCH, must be defined for the system..."

If I type:

$ show log sys$batch

I get:

%SHOW-S-NOTRAN, no translation for logical name SYS$BATCH

So this is not something that is already defined. I need to do it myself.

The documentation continues:

SYS$BATCH must be initialized as an

execution queue. The /GENERIC option for SYS$BATCH initialization is not allowed.

What does this mean?

none




Sponsored Link
Ads by Google

Response Number 1
Name: erensm
Date: July 5, 2005 at 18:21:17 Pacific
Reply:

SYS$BATCH is a queue and should show up with the command :
$ SHOW QUEUE SYS$BATCH

Something like this will be displayed :

Batch queue SYS$BATCH, idle, on RULBR4::
/AUTOSTART_ON=(RULBR4::) /BASE_PRIORITY=3
/JOB_LIMIT=4 /OWNER=[SYSTEM]
/PROTECTION=(S:M,O:D,G:R,W:S)

If the queue is defined with /GENERIC it points to one or more batch or print queues. Generic queues show up like:

$ SHOW QUEUE SYS$BATCH

Generic batch queue SYS$BATCH
/GENERIC=(RULBR4_BATCH) /OWNER=[SYSTEM]
/PROTECTION=(S:M,O:D,G:R,W:S)

In this case the generic queue SYS$BATCH points to an execution queue RULBR4_BATCH

More info about queues with the command :
$ HELP QUEUE
or the OpenVMS system manager's manual, Volume 1 Essentials :
http://h71000.www7.hp.com/doc/os82_index.html



0

Response Number 2
Name: Athanasopolous
Date: July 6, 2005 at 08:20:52 Pacific
Reply:

How do I get sys$batch up and running?

Username: system
Password:
Welcome to OpenVMS (TM) Alpha Operating System, Version V7.2-1 on node AS800
Last interactive login on Tuesday, 5-JUL-2005 14:02:20.11
Last non-interactive login on Tuesday, 5-JUL-2005 16:30:33.79
$ SHOW QUE SYS$BATCH
%JBC-E-JOBQUEDIS, system job queue manager is not running
$ SHOW QUEUE SYSBATCH
%JBC-E-JOBQUEDIS, system job queue manager is not running
$


none


0

Response Number 3
Name: Athanasopolous
Date: July 6, 2005 at 11:05:44 Pacific
Reply:

The documentation for starting the Queue Manager and Creating a Queue Database says to do this or to do that “only if you want to crate new database files” I assume that I do want to create new database files because of this:

$ SHOW QUEUE SYSBATCH
%JBC-E-JOBQUEDIS, system job queue manager is not running


none


0

Response Number 4
Name: erensm
Date: July 6, 2005 at 18:50:24 Pacific
Reply:

Have you tried to START the queue manager ?
$ START /QUEUE /MANAGER

If it complains about not having a database, you probably do not have one, or the logical pointing to it is lost. The name of the default database is SYS$SYSTEM:QMAN$MASTER.DAT

Do you have a printer connected to the machine, because they also use queues and a queue manager.



0

Response Number 5
Name: Athanasopolous
Date: July 7, 2005 at 07:49:06 Pacific
Reply:


$ START/QUEUE/MANAGER/NEW_VERSION

Is supposed to create the server. Isn't that correct?

I type:


$ START/QUEUE/MANAGER/NEW_VERSION

and it does not give me any errors. THat means it
started. Isn't that correct?

So I go to where the QMAN$MASTER.DAT file is to make
sure it is created

$ SET DEF SYS$SYSROOT:[SYSEXE]
$ DIR *MASTER.DAT

Directory SYS$COMMON:[SYSEXE]

QMAN$MASTER.DAT;1 TFF$MASTER.DAT;1

Total of 2 files.

So, I see it is there.

Now I check on sys$batch.

$ SHOW QUEUE SYS$BATCH
%JBC-E-NOSUCHQUE, no such queue
$

It still does not work.

none


0

Related Posts

See More



Response Number 6
Name: erensm
Date: July 7, 2005 at 11:37:31 Pacific
Reply:

You have only created the queue-manager, not the queue. You create one with a command like:
$ INITIALIZE/QUEUE/BATCH SYS$BATCH

To see if it is created you can do :
$ SHOW QUEUE SYS$BATCH /FULL

I don't know if your package has some requirements for the queue, like the amount of jobs that can run concurrent, security, ownership or the priority of the jobs ? You can always change queue parameters with the SET QUEUE command.

After you created the queue you activate it with the START /QUEUE command.

You should als put the start/queue and start/queue/manager comands in your startup file.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to OpenVMS Forum Home


Sponsored links

Ads by Google


Results for: what is sys$batch and how is it def

Adding New Job to SYS$BATCH QUEUE www.computing.net/answers/openvms/adding-new-job-to-sysbatch-queue/558.html

SYS$OUTPUT and SYS$ERROR www.computing.net/answers/openvms/sysoutput-and-syserror/562.html

What is vms and what does it do www.computing.net/answers/openvms/what-is-vms-and-what-does-it-do/138.html