- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: batch job submit another batch job
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
тАО11-29-2009 10:16 PM
тАО11-29-2009 10:16 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2009 10:28 PM
тАО11-29-2009 10:28 PM
Re: batch job submit another batch job
> batch process.
What, exactly, does this mean? As usual, it
can be helpful to show actual commands and
actual error messages instead of vague
descriptions and interpretations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2009 10:31 PM
тАО11-29-2009 10:31 PM
Re: batch job submit another batch job
Generally non-prived users can submit to queues that the user has submit access to, as long as qualifiers like /user=otheruser /priority=higher are not used. However, it is possible that the process has been setup with no batch access. See output from the AUTHORIZE utility, under access
UAF> SHOW
What error message are you getting? What command did you use to attempt to submit the file?
What do the following show?
$ show process/priv
$ show symbol submit
Please provide more info for better answers.
It is also possible that the SUBMIT verb has been removed from DCL tables, or that there is a DCL symbol submit has is redefining the command. In other words, there are many "possible" reasons why it does not work, but you haven't given us much info to determine the real cause.
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2009 10:34 PM
тАО11-29-2009 10:34 PM
Re: batch job submit another batch job
$ show queue/full
And do read the help for submit.
$ help submit
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2009 10:44 PM
тАО11-29-2009 10:44 PM
Re: batch job submit another batch job
In the command file that is running in batch context, make sure you have verification turned on, for example at the top of the command file
$ ver = 'f$verify(1)'
at the end
$ exit 1+0*f$verify(ver)
The 1 in the previous line will be the exit status, you may want it to be something set by what really happened in the command procedure, but that is out of scope of this question.
For a batch job the last part isn't necessary, because the process will disappear, but it the command file is ever going to be used interactively, it is good practice to leave the DCL state the way it was when you entered the process. A pet peave of mine are command files that disable control-y and don't restore to the previous state on exit.
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2009 12:25 AM
тАО11-30-2009 12:25 AM
Re: batch job submit another batch job
To begin with:
WELCOME to the VMS forum!
To summarize the previous answers:
- WHAT was the LITERAL command that "failed"
- WHAT was the literal failure message (or WAS there none, and dis the job "only" fail when trying to execute?)
- the output of
$ SHOW QUEUE SYS$BATCH /FULL
(in the not-unlilely evnet of another target queue, add the name of that queue)
Put the output in a plain-text file (in MS terminology: a NOTEPAD file); check or rename to a .TXT file type; and attach to your post.
From that info, probably the course to take can be derived.
hth
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2009 07:22 AM
тАО11-30-2009 07:22 AM
Re: batch job submit another batch job
$ SUBMIT/NAME=OTHER_JOB/NOIDENTIFY /DELETE /LOG_FILE=OTHER_JOB.LOG/NOTIFY /KEEP /NOPRINT
/PRIORITY=100 TEMPORARY.COM
If the temporary procedure is submitted, it should delete itself after execution. But the file was there, but it never got submitted and executed. And I did not see any log file was created.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2009 07:32 AM
тАО11-30-2009 07:32 AM
Re: batch job submit another batch job
Second, the command does nto specify a QUEUE NAME, so it default to SYS$BATCH. Is that reasonable?
What is $STATUS after the submit?
You may want to fetch the current queue first using something along the lines of:
f$getqui("DISPLAY_QUEUE","QUEUE_NAME","*","THIS_JOB")
Finally use ACCOUNTING /FULL / BEFOR=x /SINCE=y
X and Y should be fairly close aroudn the test time.
Also check out the /JOB and /TYPE options.
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2009 07:39 AM
тАО11-30-2009 07:39 AM
SolutionThere's no OpenVMS answer.
There is only "trace the DCL in your environment and find out what happened" answer.
This tracing can involve SET VERIFY or f$verify. This can involve checking the queue to see if the job was blocked from execution by the queue being paused or stopped, or by another long-running job or otherwise.
You're left to do your due diligence here; why this job didn't run is entirely system-specific. And only you can determine why the job didn't run.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2009 07:51 AM
тАО11-30-2009 07:51 AM
Re: batch job submit another batch job
$ acc/fu/since=15:31/before=15:40
and look at the "final status text"
By the way, check that the accounting is enabled,
$ show acc
should show something similar to
$ sh acc
Accounting is currently enabled to log the following activities:
PROCESS any process termination
INTERACTIVE interactive job termination
LOGIN_FAILURE login failures
SUBPROCESS subprocess termination
DETACHED detached job termination
BATCH batch job termination
NETWORK network job termination
PRINT all print jobs
MESSAGE user messages
$