Operating System - OpenVMS
1752794 Members
6019 Online
108789 Solutions
New Discussion юеВ

Re: initing a queue pointing to null device

 
Benjamin Levy
Frequent Advisor

Re: initing a queue pointing to null device

If this is still an issue, one method that does work is specifying /PROC=DCPS$SMB
The DCPS kit no longer requires a separate
license PAK, but it probably still has to be installed separately with VMSINSTAL.
Robert Atkinson
Respected Contributor

Re: initing a queue pointing to null device

I have a similar problem.

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?
Sheldon Smith
HPE Pro

Re: initing a queue pointing to null device

Take a look at the nullsymbiont (DBS-NULLSYMBIONT) on the v5.0 Freeware disks.

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

Accept or Kudo

Art Wiens
Respected Contributor

Re: initing a queue pointing to null device

An alternative (we use it...it works) is to set up a queue that uses TTA0: as it's output device (assuming you don't have something connected to it). eg:

$ 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
John Gillings
Honored Contributor

Re: initing a queue pointing to null device

.TITLE NullSymbiont
;
; 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
A crucible of informative mistakes
Frazer Toseland
New Member

Re: initing a queue pointing to null device

Hi

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
Lokesh_2
Esteemed Contributor

Re: initing a queue pointing to null device

Hi,

I also do , what Frazer has recommended, on my systems:

INITIALIZE/QUEUE/PROCESSOR=UCX$TELNETSYM/ON="UCX$QUEUE:NL:" null_queue

Thanks & regards,
Lokesh
What would you do with your life if you knew you could not fail?
Ian Miller.
Honored Contributor

Re: initing a queue pointing to null device

I do what Art Wiens said. Have a queue to TTA0 which is a serial port to which nothing is connected. Any print jobs quickly complete with no visable output. However I like the very small null symbiont from John Gillings and may look at implementing that.
____________________
Purely Personal Opinion
Stanley F Quayle
Valued Contributor

Re: initing a queue pointing to null device

I know it's been a long time, but how assigning some points to this questions? TIA.

http://www.stanq.com/charon-vax.html
Ian Miller.
Honored Contributor

Re: initing a queue pointing to null device

http://forums1.itrc.hp.com/service/forums/helptips.do?#33
____________________
Purely Personal Opinion