- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- retained on error for testing
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-25-2007 03:46 AM
04-25-2007 03:46 AM
retained on error for testing
I have a command to do that as well BUT without jobs "retained on Error" existing in the queue a can not test the command.
So anyone know How I can force (so to speak)
an job to be retained on error.
I have tried set /queue Que1 /retain=all thinking that anything retained would work, but is seems that it can be only Retain on error
Thank for any help anyone can give me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2007 04:26 AM
04-25-2007 04:26 AM
Re: retained on error for testing
this is a bogus command line
^Z
$ set queue/retain=error sys$batch
$ submit/nolog/queue=sys$batch error
$ show entry/full '$entry'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2007 04:31 AM
04-25-2007 04:31 AM
Re: retained on error for testing
the following should work for a print-queue (not tested):
$ create x.x
$ SUBMIT/HOLD/QUE=print_q/RET=ALL x.x
$ DELETE x.x.0
$ SET ENT/NOHOLD '$ENTRY'
$ SHOW ENT '$ENTRY'
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2007 04:37 AM
04-25-2007 04:37 AM
Re: retained on error for testing
The attached DCL may act as a an example for such a procedure.
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2007 04:59 AM
04-25-2007 04:59 AM
Re: retained on error for testing
Ooops, my bad. I didn't read closely enough and presumed batch. Give Volker's solution a try.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2007 05:08 AM
04-25-2007 05:08 AM
Re: retained on error for testing
Tried your suggestion but once the hold is taken off the entry the job prints. Or just sits in a "busy" queue.
thanks anyway.
Denise
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2007 05:12 AM
04-25-2007 05:12 AM
Re: retained on error for testing
did you really delete the print-file - the correct version ? The job can't print, if the file has been deleted !
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2007 05:12 AM
04-25-2007 05:12 AM
Re: retained on error for testing
Thats OK, I will save your suggestion in my..
"this could be useful later" files.
Denise
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2007 05:23 AM
04-25-2007 05:23 AM
Re: retained on error for testing
I use a procedure lpd-check once posted to comp.os.vms:
< http://wwwvms.mppmu.mpg.de/vms$common/sysmgr/lpd-check.com >
(despite the name, it handles all output queues, not just LPD).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2007 05:23 AM
04-25-2007 05:23 AM
Re: retained on error for testing
I thought the same thing and after submitting the job with:
$submit /hold/que=test1
when I tried to add the /ret=all it gave me an error so I SET /que /retain=all test1 first
Then I deleted the file x.x.0 I checked to be sure it was gone. ( i admit the first time I may have delete a wrong file)
then entered $set entry/nohold Entry#
and the queue shows busy and the job show starting. That is how it stays.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2007 05:28 AM
04-25-2007 05:28 AM
Re: retained on error for testing
try this on a working print-queue. If the print-queue does not work (e.g. because the printer is not reachable), I see the same effect as you. If you try it on a working queue, you should get the job into retained-on-error. I've only tested this on a batch-queue.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2007 05:42 AM
04-25-2007 05:42 AM
Re: retained on error for testing
we are getting closer. I got a RETAINED on Completion.
and what is actually printing is a page reports the file not found.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2007 05:44 AM
04-25-2007 05:44 AM
Re: retained on error for testing
this 'feature' may depend on the print-symbiont used on that queue.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2007 05:45 AM
04-25-2007 05:45 AM
Re: retained on error for testing
The command that I am tried to build it for deleting and recreating Multiple queues, (close to 100)
denise
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2007 05:59 AM
04-25-2007 05:59 AM
Re: retained on error for testing
I can use the RETAINED on Completion.
SO thank you for your help.
Denise
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2007 06:35 PM
04-25-2007 06:35 PM
Re: retained on error for testing
now we could start to ask the question: why do you think you need to do this (delete and re-create stopped queues) ?
A STOP/QUEUE/RESET will get rid of the symbiont process (or at least of the data associated with this printer stream in the symbiont, if the symbiont handles multiple queues).
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2007 12:59 AM
04-26-2007 12:59 AM
Re: retained on error for testing
Here's what happens. Our network connections are not reliable and because of this we lose communication between our servers. It the connections stays down too long one of the servers in the cluster believes it has been tossed and restarts itself to get back in. This wreaks havoc with the printer queues. Not all of them just about half, which is still close to 100. The Execution queue will return but the generic queues associated with it will not work. Stop /reset for the queues does not solve the problem they have to be deleted and recreated. There are way to many to do that one at a time.
So while i work to get a redundant connection I need something to help with the clean up until I do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2007 01:16 AM
04-26-2007 01:16 AM
Re: retained on error for testing
so you seem to be seeing CLUEXIT crashes due to network outages longer than RECNXINTERVAL between your OpenVMS nodes. Did you try increasing this parameter value to ride out longer outages (default is 15 seconds) ?
Depending on your OpenVMS version and print-symbiont type, you may be able to set up the execution queues as AUTOSTART-Queue, so they will automatically fail over to the remaining system and continue to function.
Having to delete and re-create printer queues after a system crash is not something you would expect to be doing on OpenVMS !
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2007 04:56 AM
04-26-2007 04:56 AM
Re: retained on error for testing
In a correctly setup cluster, QUORUM should prohibit this behaviour. I would review the system setup vs. EXPECTED_VOTES, VOTES and the QUORUM resulting.
Normal behaviour should result in a "quorum lost" and block activity until the network is o.k. again.
The symtom Denise describes shows a partitioning cluster: nodes loose connection to each other, but still have enough votes to continue, remove each other from cluster, and one of them has to "voluntarily" leave after network connections are re-established.
I would rather try to correct the cluster problem, then the queue messup should not happen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2007 12:34 AM
05-02-2007 12:34 AM
Re: retained on error for testing
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2007 09:03 PM
05-04-2007 09:03 PM
Re: retained on error for testing
Normal behaviour should result in a "quorum lost" and block activity until the network is o.k. again.
Yes, the quorum will be lost, if the network doesn't work between the nodes. But the nodes will still time out and remove each other after RECNXINTERVAL seconds. And if the network comes back later, one of the nodes has to re-join the cluster by taking a CLUEXIT bugcheck and reboot.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2007 07:25 PM
05-06-2007 07:25 PM
Re: retained on error for testing
since my cluster has a long recnxinteval, I was not patient enough ...