- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- initing a queue pointing to null device
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
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
тАО06-15-2003 06:47 PM
тАО06-15-2003 06:47 PM
initing a queue pointing to null device
How can i define a printer queue pointing to null device so that print requests can be submitted and completed without consuming computing resources?
I have tried to initting queue pointing to node::nla0:
but when i attempt to start it, the following error prompts up and the queue fails to startup:
%SYSTEM-W-DEVALLOC, device already allocated to another user.
Regards,
Patrick.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2003 04:43 AM
тАО06-17-2003 04:43 AM
Re: initing a queue pointing to null device
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2003 05:19 PM
тАО06-17-2003 05:19 PM
Re: initing a queue pointing to null device
As a result, thousands of pending jobs accumulated at the printer queues in a couple of days and i have to delete them periodically.
What I want to do is direct the submitted printer jobs to some "NULL" device so that the jobs will be consumed immediate after they are submitted.
I have tried to init the queue to null device by following command but failed:
$ init/queue queue1 /on=node::nla0: /start
I am still looking for other possible solution.
Thanks and Best Regards,
Patrick.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2003 07:49 PM
тАО06-17-2003 07:49 PM
Re: initing a queue pointing to null device
-Ben
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2003 08:32 PM
тАО06-17-2003 08:32 PM
Re: initing a queue pointing to null device
> /PROC=DCPS$SMB
Only if you have DCPS installed, right?
It would be easy enough to create a batch job to cruise the queue(s) and delete the entries on a periodic basis.
Also, you can define system logical names so that all the entries go to the same queue, so that you only have to "cruise" one queue. For example,
$ define/system/exec QUEUE_1 QUEUE_NOWHERE
$ define/system/exec QUEUE_2 QUEUE_NOWHERE
This will cause jobs sent to QUEUE_1 or QUEUE_2 to be queued into QUEUE_NOWHERE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 03:42 AM
тАО06-18-2003 03:42 AM
Re: initing a queue pointing to null device
.... our developers are reluctant to revise their batch jobs not to submit print jobs to such queues since it will not affect the result of batch jobs. ....
They _SHOULD_ be educated....
Anyway:
Just one execution queue, say "DEVELOPERS_PRINTER" printing to a regular (well working) printer, or, eventually, the bit-bin....(would it be possible: the devloper's terminal; THAT would teach them ;-))
Then redefine the queues the developer's seem reluctant to avoid, as /GENERIC and using DEVELOPERS_PRINTER as executing queue.
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 03:44 AM
тАО06-18-2003 03:44 AM
Re: initing a queue pointing to null device
I am a developer myself.....
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 07:45 AM
тАО06-18-2003 07:45 AM
Re: initing a queue pointing to null device
This way the system automatically cleans up after itself and you don't have to do anything manually.
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 09:04 AM
тАО06-18-2003 09:04 AM
Re: initing a queue pointing to null device
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 09:41 AM
тАО06-18-2003 09:41 AM
Re: initing a queue pointing to null device
I'm sure Patrick can find a time in the wee hours of the morning when things are quiet. If not, he can make things quiet by stopping the batch queues and checking for job completion of running batches before deleting the queues.
I'm sure a little analysis of the job schedules and run times will reveal the best time to recycle the queues.
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2003 05:27 AM
тАО06-19-2003 05:27 AM
Re: initing a queue pointing to null device
The DCPS kit no longer requires a separate
license PAK, but it probably still has to be installed separately with VMSINSTAL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2003 04:04 AM
тАО07-17-2003 04:04 AM
Re: initing a queue pointing to null device
We don't have any queues with a forms type of DEFAULT, but some programs and users insist on printing with this form.
I don't want a cleanup process running, and I don't need any of the output - I just want to dump it!
Is there any way this could be fed to a terminal server or LTA port that isn't connected to anything?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2003 01:46 PM
тАО07-28-2003 01:46 PM
Re: initing a queue pointing to null device
http://h71000.www7.hp.com/freeware/freeware50/dbs-nullsymbiont/
Last I tried, both the Alpha and VAX symbionts worked....
Note: While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 10:57 AM
тАО07-30-2003 10:57 AM
Re: initing a queue pointing to null device
$ show queue/full the$bitbucket
Terminal queue THE$BITBUCKET, busy, on NODENAME::TTA0:, mounted form DEFAULT
/BASE_PRIORITY=8 /DEFAULT=(FEED,FORM=DEFAULT) Lowercase /OWNER=[SYSTEM] /PROTECTION=(S:RSMD,O:RSMD,G:RSMD,W:RS) /SCHEDULE=(NOSIZE)
Unwanted print jobs "spill onto the floor" at 9600 baud ;-)
HTH,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2003 07:07 PM
тАО07-31-2003 07:07 PM
Re: initing a queue pointing to null device
;
; Module implementes a null symbiont -
; jobs entered on a queue using this
; symbiont will complete without
; producing any output.
;
; Build:
; $ MACRO NULLSYMB
; $ LINK NULLSYMB -
; /EXE=SYS$COMMON:[SYSEXE]NULLSYMB
; $ INITIALIZE/QUEUE/START queue-name
; /ON=(node::NL:)/DEVICE=PRINTER -
; /PROCESSOR=NULLSYMB
;
.LIBRARY 'SYS$SHARE:LIB'
$PSMDEF
$SSDEF
.EXTERNAL PSM$REPLACE,PSM$PRINT
.PSECT code,EXE,NOWRT
.ENTRY null_output_routine,^M<>
MOVL #SS$_NORMAL,R0 ; always succeeds
RET
.ENTRY Start,^M<>
PUSHAB null_output_routine
PUSHAL #PSM$K_OUTPUT
CALLS #2,G^PSM$REPLACE
BLBC R0,1$
PUSHAL #2048 ; buffer size
PUSHAL #16 ; accept 16 streams
CALLS #2,G^PSM$PRINT ; Start symbiont
1$: RET
.END Start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2004 10:19 PM
тАО04-29-2004 10:19 PM
Re: initing a queue pointing to null device
I'm a bit late to this conversation but you can try this.
$ INIT/QUEUE sink /ON="TCPIP$QUEUE:NULL" /PROC=TCPIP$TELNETSYM
which sets up a TCPIP relay queue (sink) to another queue (NULL) that doesn't exist. The jobs will go from the queue but the symbiont will moan via OPCOM about the NULL queue (or whatever you call it) not being available.
To suppress the messages, define TCPIP$TELNETSYM_NO_OPCOM to be true.
This is from the TCPIP Services Management Guide.
Frazer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2004 10:46 PM
тАО04-29-2004 10:46 PM
Re: initing a queue pointing to null device
I also do , what Frazer has recommended, on my systems:
INITIALIZE/QUEUE/PROCESSOR=UCX$TELNETSYM/ON="UCX$QUEUE:NL:" null_queue
Thanks & regards,
Lokesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2004 11:35 PM
тАО04-29-2004 11:35 PM
Re: initing a queue pointing to null device
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2005 08:45 AM
тАО08-29-2005 08:45 AM
Re: initing a queue pointing to null device
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2005 10:12 PM
тАО08-29-2005 10:12 PM
Re: initing a queue pointing to null device
Purely Personal Opinion