<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How does spooling work on OpenVMS? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860525#M20087</link>
    <description>Joseph,&lt;BR /&gt;&lt;BR /&gt;great fun with currently installed number of printers being 812.&lt;BR /&gt;&lt;BR /&gt;Jan</description>
    <pubDate>Mon, 13 Sep 2004 07:12:41 GMT</pubDate>
    <dc:creator>Jan van den Ende</dc:creator>
    <dc:date>2004-09-13T07:12:41Z</dc:date>
    <item>
      <title>How does spooling work on OpenVMS?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860508#M20070</link>
      <description>I've been trying to locate information on just how spooling works on OpenVMS.  If I have a LTA23: device I can open it from a program and write output that will go to the connected printer.  Now if I want multiple people to beable to use the device at the same time I set up a device queue and set the LTA23: device as spooled.  Now I can have multiple people open the LTA23: device and write to it but in reality they are each writing to a different file which then when closed will be submitted to the queue I have set up.&lt;BR /&gt;&lt;BR /&gt;I know that when I spool the LTA23: device I can ANALYSIS/SYSTEM and do a SHOW DEVICE LTA23: that there is now a AMB block defined with the address of the UCB for the disk the device is spooled to.&lt;BR /&gt;&lt;BR /&gt;I know that if I have multiple nodes in a cluster and I create the LTA23: device on all the nodes that the queue symbiont only has one allocated at a time.  I can actually do a SET DEVICE/NOSPOOL LTA23: on the nodes that symbiont is not running.&lt;BR /&gt;&lt;BR /&gt;I recently learned that you can have one device spooled and point to a queue that is a generic queue such that you may not actually end up printing on that device at all.  If you think about it if you have LTA23: created on all nodes and the symbiont is only attached to it on one then all nodes can open LTA23: write data and get it queued up to the queue and printed.&lt;BR /&gt;&lt;BR /&gt;So what I want to know is:&lt;BR /&gt;&lt;BR /&gt;1) How does the spooled device know the difference between a program opening the LTA23 device to write to it and therefore to be spooled to a file and when the symbiont opens the device and actually needs to write out to the printer attached to it?&lt;BR /&gt;&lt;BR /&gt;2) Why when you spool a device does it open a connection to the spooled disk.  why not just when you need to actually open a file?  The reason I ask this if that if you spool to a disks that is not the system disk and the disk is a shadow disk with Host Base Volume Shadowing (HBVS) that you can't get a clean dismount on the disk when you shutdown a node that it always goes into shadow merge.&lt;BR /&gt;&lt;BR /&gt;So would it be possible to not have the LTA devices that are spooled to a disk keep that disk from being dismounted cleanly.&lt;BR /&gt;&lt;BR /&gt;Anyway this got me thinking and inquiring minds want to know.  So if you know the answer or can point me to where it is please do so.  I tried looking in the internals but could not find anything.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Cass</description>
      <pubDate>Fri, 10 Sep 2004 16:23:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860508#M20070</guid>
      <dc:creator>Cass Witkowski</dc:creator>
      <dc:date>2004-09-10T16:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: How does spooling work on OpenVMS?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860509#M20071</link>
      <description>Cass,&lt;BR /&gt;&lt;BR /&gt;you set up device spooling with:&lt;BR /&gt;&lt;BR /&gt;$ SET DEVICE dev:/SPOOLED=(queue-name,intermediate-disk-name)&lt;BR /&gt;&lt;BR /&gt;dev: must be a sequential terminal or printer device.&lt;BR /&gt;&lt;BR /&gt;Spooling is implemented in the File System (XQP). You can find some information about spooling in the VMS File System Internals book (ISBN 1-55558-056-4).&lt;BR /&gt;&lt;BR /&gt;This answers question 1: if the device is spooled, the virtual file system function IO$_CREATE honors the spool characteristics of the spooled device (e.g. LTAn:) and creates an intermediate spool file (no direcotry entry !) on the associated 'spool device' (i.e. intermediate disk name) pointed to by UCB$L_AMB.&lt;BR /&gt;&lt;BR /&gt;Once the spooled device (LTAn:) is de-accessed, the XQP automatically sends the spool file from the intermediate device to the associated print-queue (just like a PRINT/DELETE).&lt;BR /&gt;&lt;BR /&gt;You need to use XQP functions ($OPEN) when writing to the spooled device (terminal/printer), logical QIOs won't work. Normally your application will be implicitly using RMS (like $ COPY file LTAn:).&lt;BR /&gt;&lt;BR /&gt;The Print-Symbiont will be using $ASSIGN and IO$_WRITELBLK and - as it it sufficently privileged - directly write to the LTAn: device. The print-symbiont itself has NOTHING to do with spooling, he is just processing a print-job. So there is no need at all for LTAn: devices to be set spooled, except if your applications need this functionality (writing to a terminal/printer device, which needs to be shared and handled by a print-symbiont).&lt;BR /&gt;&lt;BR /&gt;There is no implicit association between the LTAn: device and the print-queue. You can spool device LTA1: to a print-queue, which will run on LPA7: - if you want to. And it can also be a generic queue, as you've found out.&lt;BR /&gt;&lt;BR /&gt;When a device is spooled (to an intermediate-disk-device), a counter is incremented in the VCB (Volume Control Block) for that device (VCB$L_SPL_CNT), which counts the no. of devices spooled to that volume. You cannot dismount that volume, if VCB$L_SPL_CNT is greater than zero. You'll get an appropriate error message from DISMOUNT:&lt;BR /&gt;&lt;BR /&gt;%DISM-W-SPOOLEDEV, 1 device spooled to volume&lt;BR /&gt;&lt;BR /&gt;To cleanly dismount your shadowset during shutdown, you need to UNSPOOL ($ SET DEV/NOSPOOLED LTAn:) all your LTAn: devices in SYSHUTDWN.COM, which have been spooled to that volume. This will also be true for a non-shadowed disk, but you'll just get a REBUILD during mount instead of a SHADOW-MERGE, which is more visible.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Sat, 11 Sep 2004 02:49:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860509#M20071</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2004-09-11T02:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: How does spooling work on OpenVMS?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860510#M20072</link>
      <description>Cass,&lt;BR /&gt;&lt;BR /&gt;just by pure coincidence, I had just written a command procedure for one of my customers to find spooled devices, which prevent a clean dismount during shutdown.&lt;BR /&gt;&lt;BR /&gt;$ DEFINE fsp_tmp "SYS$LOGIN:fsp_''F$GETJPI("","PID")'.TMP" ! temp file&lt;BR /&gt;$ fsp_tmp1 = "SYS$LOGIN:fsp1_''F$GETJPI("","PID")'.TMP" ! another temp file&lt;BR /&gt;$!&lt;BR /&gt;$ ANAL/SYS&lt;BR /&gt;SET OUT/NOINDEX fsp_tmp&lt;BR /&gt;SHOW DEV LTA&lt;BR /&gt;$!&lt;BR /&gt;$! intermediate disk UCB address is in AMB&lt;BR /&gt;$ SEARCH fsp_tmp AMB,UCB: /OUT='fsp_tmp1'&lt;BR /&gt;$ DELETE/NOLOG/NOCONFIRM 'F$TRNLNM("fsp_tmp")';*&lt;BR /&gt;$!&lt;BR /&gt;$ WRITE SYS$OUTPUT "The following LTA devices are still spooled to a disk:"&lt;BR /&gt;$ WRITE SYS$OUTPUT ""&lt;BR /&gt;$ SEARCH 'fsp_tmp1' AMB/WIND=(1,0)/NOHEAD&lt;BR /&gt;$ DELETE/NOLOG/NOCONF 'fsp_tmp1';*&lt;BR /&gt;&lt;BR /&gt;This should be treated as an example on how to locate spooled devices in an OpenVMS system.&lt;BR /&gt;&lt;BR /&gt;As always, you need to reverse things set up in SYSTARTUP_VMS.COM during  SYSHUTDWN.COM, so you need to find your SET DEV/SPOOLED commands and add the appropriate SET DEV/NOSPOOLED commands during shutdown. The above procedure could also be enhanced to do this automatically - left as an excercise for the forum readers ;-)&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Sat, 11 Sep 2004 02:56:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860510#M20072</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2004-09-11T02:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: How does spooling work on OpenVMS?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860511#M20073</link>
      <description>Cass,&lt;BR /&gt;as Volker pointed out, there is no direct connection between a SPOOLed device and a print queue  -  other than ytat normally after closing the spool device a print job is triggered.&lt;BR /&gt;For the last 20 years I have considered the use of issuing print lines to a device from inside an image as a relic of the past. A much more convinient way is to educate the programmers, and do the writing to FILE, and some time after print the file.&lt;BR /&gt;&lt;BR /&gt;If there are no programs that OPEN the device directly in the executable, there is no need for spooling, and also no need to SET the device SPOOLed.&lt;BR /&gt;Some 15 years ago I began removing any SET DEVICE /SPOOL I found, and I only found ONE programm that used it... and on pointing out to the development department that I liked that changed, I got a --HAPPY-- reaction, because that explained the issues they were having with it, and now they were easy to solve!! &lt;BR /&gt;&lt;BR /&gt;So: if you MUST, then it is working (probabably, no recent experience), but if you can, GET RID OF THEM!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Jan</description>
      <pubDate>Sat, 11 Sep 2004 03:26:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860511#M20073</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2004-09-11T03:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: How does spooling work on OpenVMS?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860512#M20074</link>
      <description>Welcome to the club of SPOOL-haters ;-)&lt;BR /&gt;&lt;BR /&gt;When I talk to customers I often learn that they do it, because they see it in examples, not because they really need spooled devices.</description>
      <pubDate>Sat, 11 Sep 2004 05:53:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860512#M20074</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2004-09-11T05:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: How does spooling work on OpenVMS?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860513#M20075</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;People use spooled devices only to avoid broadcasts to their printers. It is much better to avoid this with a set terminal/nobroadcast. Programs which write directly to the printer are rare (probably they come from a non VMS environment).&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Sat, 11 Sep 2004 08:42:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860513#M20075</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2004-09-11T08:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: How does spooling work on OpenVMS?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860514#M20076</link>
      <description>I have never heard that first argument before.&lt;BR /&gt;&lt;BR /&gt;And I have seen software sending its output to spooled devices that heavily uses FMS + RDB.</description>
      <pubDate>Sat, 11 Sep 2004 11:42:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860514#M20076</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2004-09-11T11:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: How does spooling work on OpenVMS?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860515#M20077</link>
      <description>I have a big, very old DSM application.&lt;BR /&gt;&lt;BR /&gt;For each lta device they have a logical 1,2,3,4,... . The programs simply open 1 and writes to it. The application counts many millions of cryptic DSM lines that nobode really knows. Changing this application and retesting it would take months. So, nothing changes.&lt;BR /&gt;&lt;BR /&gt;1 elements that I found missing in the spooling : show device/spool.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Sun, 12 Sep 2004 02:44:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860515#M20077</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-09-12T02:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: How does spooling work on OpenVMS?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860516#M20078</link>
      <description>Cass,&lt;BR /&gt;I agree it is possible not use spooled devices. I don't never know the syntax of spool!&lt;BR /&gt;Like Henry Ford said, any thing didn't used can't break!&lt;BR /&gt;Bojan, I'm amazed some people use spooled devices to acoid SET TERM/NOBROAD :-O&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Sun, 12 Sep 2004 04:36:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860516#M20078</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2004-09-12T04:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: How does spooling work on OpenVMS?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860517#M20079</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;yes, your argument is valid. &lt;BR /&gt;And, when confronted with them, I also found it very annoying that is was not possible to see which devices were spooled to a certain disk.&lt;BR /&gt;I guess you should send a friendly request to Guy Peleg at HP.&lt;BR /&gt;He _IS_ looking forward to DCL improvement requests, especially those that have real practical value.&lt;BR /&gt;I guess this might qualify!&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Sun, 12 Sep 2004 10:31:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860517#M20079</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2004-09-12T10:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: How does spooling work on OpenVMS?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860518#M20080</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I dont know what side effects will be (I could not test) but if you do a:&lt;BR /&gt;$ mcr latcp stop node&lt;BR /&gt;then all the lta devices are deleted. Maybe this line in the SYSHUTDWN.COM will avoid merging.&lt;BR /&gt;&lt;BR /&gt;Another way to find spooled lt devices:&lt;BR /&gt;&lt;BR /&gt;$ pipe show device lt | search sys$pipe spooled&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Mon, 13 Sep 2004 03:01:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860518#M20080</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2004-09-13T03:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: How does spooling work on OpenVMS?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860519#M20081</link>
      <description>Bojan,&lt;BR /&gt;don't work F$GETDEVI(&lt;DEV&gt;,"SPL") function to know spooled device?&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;&lt;/DEV&gt;</description>
      <pubDate>Mon, 13 Sep 2004 03:20:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860519#M20081</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2004-09-13T03:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: How does spooling work on OpenVMS?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860520#M20082</link>
      <description>I think simply doing "show dev lta" and search for spooled has the same effect as Uwe's command procedure.&lt;BR /&gt;&lt;BR /&gt;Indeed mc latcp stop node deletes all lta devices but I do this for years in the shutdown and I still get the shadow merge. I don't have files open, no spool files (?). I don't know how to find what is causing it.&lt;BR /&gt;&lt;BR /&gt;It would be nice to have some debug logicals/dismount option that causes mounts to say why it will mark the shadow set as "needs merge". HP ?&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Mon, 13 Sep 2004 03:36:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860520#M20082</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-09-13T03:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: How does spooling work on OpenVMS?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860521#M20083</link>
      <description>Antonio,&lt;BR /&gt;&lt;BR /&gt;Yes it works, but how to find out all the existing lt devices?&lt;BR /&gt;&lt;BR /&gt;There is a supplement to my previous command, wich sets all the spooled lts to nospooled (of course after stoping all queues). Write a litle command procedure setnospool.com:&lt;BR /&gt;&lt;BR /&gt;$l:&lt;BR /&gt;$ read sys$pipe devst/end=end/error=end&lt;BR /&gt;$ set device/nospool -&lt;BR /&gt; 'f$edit(f$element(0," ", devst) , "collapse")'&lt;BR /&gt;$ goto l&lt;BR /&gt;$end:&lt;BR /&gt;&lt;BR /&gt;Now run the previous pipe:&lt;BR /&gt;&lt;BR /&gt;$ pipe show device lt | search sys$pipe spooled | @setnospool&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Mon, 13 Sep 2004 03:38:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860521#M20083</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2004-09-13T03:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: How does spooling work on OpenVMS?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860522#M20084</link>
      <description>Bojan,&lt;BR /&gt;&lt;BR /&gt;MC LATCP&amp;gt; SET NODE does NOT solve the problem. It seems to delete the LAT devices, but the VCB$L_SPL_CNT of the spool disk is NOT decremented !&lt;BR /&gt;&lt;BR /&gt;$ SHOW TERM LTAn: shows (as the last line of the display):&lt;BR /&gt;...&lt;BR /&gt;Device spooled to _DSA0:&lt;BR /&gt;&lt;BR /&gt;F$GETDVI("LTAn","SPLDEVNAM") also shows the spool disk name.&lt;BR /&gt;&lt;BR /&gt;There does not seem to exist a command, which would tell you, WHICH devices are spooled to a specific disk volume.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Mon, 13 Sep 2004 04:08:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860522#M20084</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2004-09-13T04:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: How does spooling work on OpenVMS?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860523#M20085</link>
      <description>The question how to know which LT devices exist&lt;BR /&gt;can be answered by a device-scan loop like the following:&lt;BR /&gt;&lt;BR /&gt;$ stream = 1&lt;BR /&gt;$loop:&lt;BR /&gt;$ DEVICE_NAME = F$DEVICE(,"TERM",,stream)&lt;BR /&gt;$ if device_name .eqs. "" then goto done&lt;BR /&gt;$ devnam = f$getdvi(DEVICE_NAME,"DEVNAM")&lt;BR /&gt;$ if f$extract(1,2,devnam) .eqs. "LT"&lt;BR /&gt;$ then&lt;BR /&gt;$  write sys$output "LT device ",devnam&lt;BR /&gt;$ endif&lt;BR /&gt;$ goto loop&lt;BR /&gt;$done:&lt;BR /&gt;$ exit&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Sep 2004 05:02:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860523#M20085</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2004-09-13T05:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: How does spooling work on OpenVMS?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860524#M20086</link>
      <description>Joseph,&lt;BR /&gt;&lt;BR /&gt;I forgot the existance of f$device :(&lt;BR /&gt;So combining yours and Volkers knowledge there is a command procedure which finds all the spooled devices to a disk:&lt;BR /&gt;$ if p1.eqs."" then read sys$command p1 /prompt="Device: "/end=end&lt;BR /&gt;$ nam=f$getdvi(p1,"DEVLOCKNAM")&lt;BR /&gt;$l:&lt;BR /&gt;$ dev=f$device()&lt;BR /&gt;$ if dev.eqs."" then goto end&lt;BR /&gt;$ if f$getdvi(dev,"SPL")&lt;BR /&gt;$ then&lt;BR /&gt;$   if nam.eqs.f$getdvi(f$getdvi(dev,"SPLDEVNAM"),"DEVLOCKNAM")&lt;BR /&gt;$   then&lt;BR /&gt;$       write sys$output dev&lt;BR /&gt;$   endif&lt;BR /&gt;$ endif&lt;BR /&gt;$ goto l&lt;BR /&gt;$end:&lt;BR /&gt;&lt;BR /&gt;For the SYSHUTDWN.COM can be simplified, because we dont need to know on which disk the device is spooled.&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Mon, 13 Sep 2004 07:10:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860524#M20086</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2004-09-13T07:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: How does spooling work on OpenVMS?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860525#M20087</link>
      <description>Joseph,&lt;BR /&gt;&lt;BR /&gt;great fun with currently installed number of printers being 812.&lt;BR /&gt;&lt;BR /&gt;Jan</description>
      <pubDate>Mon, 13 Sep 2004 07:12:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860525#M20087</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2004-09-13T07:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: How does spooling work on OpenVMS?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860526#M20088</link>
      <description>small refinement using wildcard name&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ stream = 1&lt;BR /&gt;$loop:&lt;BR /&gt;$ DEVICE_NAME = F$DEVICE("*LTA*",,,stream)&lt;BR /&gt;$ if device_name .eqs. "" then goto done&lt;BR /&gt;$ devnam = f$getdvi(DEVICE_NAME,"DEVNAM")&lt;BR /&gt;$ write sys$output "LT device ",devnam&lt;BR /&gt;$ goto loop&lt;BR /&gt;$done:&lt;BR /&gt;$ exit&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Sep 2004 08:23:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860526#M20088</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-09-13T08:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: How does spooling work on OpenVMS?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860527#M20089</link>
      <description>Thanks to all of you who responded.  I have submitted some of the ideas to HP for possible enhancements to OpenVMS.&lt;BR /&gt;&lt;BR /&gt;Cass</description>
      <pubDate>Mon, 20 Sep 2004 18:03:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-does-spooling-work-on-openvms/m-p/4860527#M20089</guid>
      <dc:creator>Cass Witkowski</dc:creator>
      <dc:date>2004-09-20T18:03:12Z</dc:date>
    </item>
  </channel>
</rss>

