<?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: printing zero block length files in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556817#M97537</link>
    <description>Are you sure it's being caused by the zero blocks ? You never have stalled queues with other files ? Do some of the zero files pass ?&lt;BR /&gt;&lt;BR /&gt;How does Cache print the file ? We used DSM and there the applic wrote to "1" which was a logical name pointing to an LTA device that was spooled to a queue. But we didn't have any problems with it.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
    <pubDate>Sun, 17 Jan 2010 05:54:12 GMT</pubDate>
    <dc:creator>Wim Van den Wyngaert</dc:creator>
    <dc:date>2010-01-17T05:54:12Z</dc:date>
    <item>
      <title>printing zero block length files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556807#M97527</link>
      <description>&lt;BR /&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;If this is not the correct forum, please let me know of the appropriate one.  I've tried a couple of forum searches, but didn't find anything.  This is not printer model specific, tho' HP printers (our most common vendor) seem &lt;BR /&gt;to be the most susceptible to the following...&lt;BR /&gt;&lt;BR /&gt;Environment:&lt;BR /&gt;Openvms v8.3 alpha, Extended 2-node ES47 cluster, each node has it's own system disk that's MSCP shared, EVA5000 - common data disks&lt;BR /&gt;&lt;BR /&gt;Problem:&lt;BR /&gt;Has anyone else ever run into the problem of an application (Caché) every once in a while generating print jobs with 0 Blks (zero) that stall some printers and not others?  &lt;BR /&gt;&lt;BR /&gt;Questions:&lt;BR /&gt;How does VMS handle printing a zero length file?  Is it an actual file filled with "null" characters? Is it just a "name" in the directory? Why does it even try?  Is there something "obvious" that I'm failing to recognize here?  Is it a question only the app vendor can answer?  Has anyone ever tried to print a 0 block file?&lt;BR /&gt;&lt;BR /&gt;thoughts welcome,&lt;BR /&gt;Rich&lt;BR /&gt;_</description>
      <pubDate>Wed, 30 Dec 2009 18:22:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556807#M97527</guid>
      <dc:creator>Rich Hearn</dc:creator>
      <dc:date>2009-12-30T18:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: printing zero block length files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556808#M97528</link>
      <description>&amp;gt; Is it an actual file filled with "null" characters?&lt;BR /&gt;&lt;BR /&gt;No.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Is it just a "name" in the directory?&lt;BR /&gt;&lt;BR /&gt;Yes, just a name in the directory and the disk's INDEXF.SYS. Only this meta-data exists. No data blocks are allocated.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Why does it even try? &lt;BR /&gt;&lt;BR /&gt;Many symbionts will print header / flag / banner / trailer pages. It is entirely possible to have a these delimit a job with no other output - at least then you will know that the print job was processed.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Has anyone ever tried to print a 0 block file?&lt;BR /&gt;&lt;BR /&gt;With separating banner pages I've not had problems.</description>
      <pubDate>Wed, 30 Dec 2009 19:17:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556808#M97528</guid>
      <dc:creator>Jim_McKinney</dc:creator>
      <dc:date>2009-12-30T19:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: printing zero block length files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556809#M97529</link>
      <description>&lt;BR /&gt;Jim,&lt;BR /&gt;&lt;BR /&gt;Thanks for the response and the information. &lt;BR /&gt;&lt;BR /&gt;It's interesting in regards to the banner pages - ours are all turned off, so they don't ever get sent - folks don't like the extra paper getting used.&lt;BR /&gt;&lt;BR /&gt;I may just be "out of luck" in that regard&lt;BR /&gt;Tnx,&lt;BR /&gt;Rich&lt;BR /&gt;_</description>
      <pubDate>Wed, 30 Dec 2009 20:19:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556809#M97529</guid>
      <dc:creator>Rich Hearn</dc:creator>
      <dc:date>2009-12-30T20:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: printing zero block length files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556810#M97530</link>
      <description>&amp;gt;  that stall some printers and not others?&lt;BR /&gt;&lt;BR /&gt;Are you using print queues or writing directly to the printers? If a queue, does "SHOW QUEUE/FULL" report "STALLED"? If not, then what? Are the printers addressed via the network? TCP perhaps? If so, you might consider using TCPDUMP to view the conversation between the host and printer - sometimes this is informative? If the printers are older and attached to serial ports on terminal servers you might consider "watching" the port status as jobs are processed. fwiw...</description>
      <pubDate>Wed, 30 Dec 2009 20:32:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556810#M97530</guid>
      <dc:creator>Jim_McKinney</dc:creator>
      <dc:date>2009-12-30T20:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: printing zero block length files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556811#M97531</link>
      <description>Have you tried setting the queues to /BLOCK_LIMIT=(1,"")&lt;BR /&gt;This will prevent the zero block jobs being sent&lt;BR /&gt;to the printer although they will remain in the queue&lt;BR /&gt;and require cleaning up at some point.&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Dec 2009 00:57:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556811#M97531</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2009-12-31T00:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: printing zero block length files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556812#M97532</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;A fine trick!&lt;BR /&gt;&lt;BR /&gt;I will need to try (sometime, currently seeking a VMS job) if that will also help with the issue I have encountered:&lt;BR /&gt;A printjob to print all files fitting a certain wildcard spec.&lt;BR /&gt;Sometimes one of them was zero lenght, apparently with the same issue Rich has.&lt;BR /&gt;&lt;BR /&gt;VERY curious if your trick also helps there too.  [purely academic now :-(  ]&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me. &lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Thu, 31 Dec 2009 08:13:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556812#M97532</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2009-12-31T08:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: printing zero block length files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556813#M97533</link>
      <description>&lt;BR /&gt;Jim,&lt;BR /&gt;&lt;BR /&gt;Thanks for the questions - I am using VMS queues - one for each printer.  A "show que/all/full PQxx" will show the queue stalled with the "offending job" at the top of the list.  The printers either have built-in Ethernet interfaces (HP/Canon/Xerox) or external print servers (HP[non internal]/OkiData)   Printer names have DHCP reservations, so we access them via Multinets (v5.2) TCP/Ip.  The problem is too "sporadic" to have TCPDUMP monitoring an address to a logfile, but it's still worth keeping in mind.  &lt;BR /&gt;&lt;BR /&gt;What I did as a "work-around" was to create a .com that "monitors" a specific PQ queue once a minute and if a zero length job causes it to stall, the .com does a stop/reset for that queue, kill the job, start the queue, and send an e-mail to the user whose job had the problem.&lt;BR /&gt;&lt;BR /&gt;Dave,&lt;BR /&gt;Never "knew/heard of/thought of" doing something like that.  What a thought!  I'll have to try it next week and see how it goes.  Clean up could be done once a day - less overhead than what I'm doing now.  Tnx!&lt;BR /&gt;&lt;BR /&gt;Jan,&lt;BR /&gt;Were you using CachÃ© from GE/IDX?  even if not, I'll post the results of Dave's suggestion to let everyone know.&lt;BR /&gt;&lt;BR /&gt;Thanks everyone, &amp;amp; have a Happy New Year!!!&lt;BR /&gt;Rich&lt;BR /&gt;_&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Dec 2009 18:37:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556813#M97533</guid>
      <dc:creator>Rich Hearn</dc:creator>
      <dc:date>2009-12-31T18:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: printing zero block length files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556814#M97534</link>
      <description>Perhaps at some convenient time you could pause your cleanup job and manipulate a stalled job manually - stop the queue, startup a TCPDUMP, and then restart the job and see what MultiNet is sending and how the printer responds (and then maybe compare this to a successful print if nothing obvious jumps out). It could be that this would be solved by sending a &lt;CR&gt;&lt;LF&gt; down the pipe - of course that would consume a sheet of paper and likely take a change from the folks at PSC to be able to conditionally do this.&lt;BR /&gt;&lt;BR /&gt;An alternative to setting a block limit for jobs on the queue might be to use the old EXECSYMB freeware to process the jobs prior to delivering them to the MultiNet queue - this would permit you to reject the zero block files and send mail notification to your users.&lt;/LF&gt;&lt;/CR&gt;</description>
      <pubDate>Thu, 31 Dec 2009 19:23:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556814#M97534</guid>
      <dc:creator>Jim_McKinney</dc:creator>
      <dc:date>2009-12-31T19:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: printing zero block length files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556815#M97535</link>
      <description>Rich,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;Jan,&lt;BR /&gt;Were you using CachÃ Â© from GE/IDX? even if not, I'll post the results of Dave's suggestion to let everyone know.&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;No. - never even seen a site were it is used.&lt;BR /&gt;&lt;BR /&gt;But maybe some more info:&lt;BR /&gt;&lt;BR /&gt;The report generator of the application generates zero or (maybe many) more one-page files, same name, in the users SYS$LOGIN. Upon finishing they get printed in one wild-card file spec print/delete command.&lt;BR /&gt;But, if the user (or the network connection) for some interrupts the query/generate output phase, a file may have been opened and not yet written to. Application cleanup includes checking for, and printing, any output files.&lt;BR /&gt;The user receives his files up to the highest version, so everything seems OK. But the printer is left stalled on a zero-length file.&lt;BR /&gt;&lt;BR /&gt;Anyway, not my concern anymore, nor any way to find out if even the appl is still used...&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Fri, 01 Jan 2010 14:46:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556815#M97535</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2010-01-01T14:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: printing zero block length files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556816#M97536</link>
      <description>&lt;BR /&gt;ok, takes long enough for these things to show up, here's an example (see attachment) of what Dave suggested.  Seems to work nicely - other than the user has no idea that their job "got lost".  Still it does work nicely - Thanks Dave&lt;BR /&gt;&lt;BR /&gt;Jim, it may take a bit trying to implement your suggestion using TCPDUMP, but I like the idea.&lt;BR /&gt;&lt;BR /&gt;Rich&lt;BR /&gt;_</description>
      <pubDate>Wed, 13 Jan 2010 16:07:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556816#M97536</guid>
      <dc:creator>Rich Hearn</dc:creator>
      <dc:date>2010-01-13T16:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: printing zero block length files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556817#M97537</link>
      <description>Are you sure it's being caused by the zero blocks ? You never have stalled queues with other files ? Do some of the zero files pass ?&lt;BR /&gt;&lt;BR /&gt;How does Cache print the file ? We used DSM and there the applic wrote to "1" which was a logical name pointing to an LTA device that was spooled to a queue. But we didn't have any problems with it.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Sun, 17 Jan 2010 05:54:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556817#M97537</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2010-01-17T05:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: printing zero block length files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556818#M97538</link>
      <description>&lt;BR /&gt;Wim,&lt;BR /&gt;&lt;BR /&gt;Interesting...  Back when we ran DSM, (Alpha 8200's, Ovms 7.3-2, DSM) I don't recall us running into this problem. Since CachÃ©, we seem to have.  I've not seen us "stall" for other than HW problems with the current systems.  I've never known of a zero length file "passing", because if it doesn't stall the queue, I don't hear of it.&lt;BR /&gt;&lt;BR /&gt;CachÃ© (to the best of *my* knowledge) is given a printer name (by the user) which points to an NLP device associated with a common spooled device (IDXSPOOL = Sys$SpoolDevice:[IDXSPOOL]} and it's own queue by the same name as the printer (aee attached for example).&lt;BR /&gt;&lt;BR /&gt;Thanks for the interest and the perspective.&lt;BR /&gt;Rich&lt;BR /&gt;_</description>
      <pubDate>Mon, 18 Jan 2010 14:14:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/printing-zero-block-length-files/m-p/4556818#M97538</guid>
      <dc:creator>Rich Hearn</dc:creator>
      <dc:date>2010-01-18T14:14:59Z</dc:date>
    </item>
  </channel>
</rss>

