<?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: Queue info in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/queue-info/m-p/4469245#M95700</link>
    <description>Sorry, cut and paste error - you do not need the HOLDING_JOBS keyword, just the FREEZE_CONTEXT keyword, to return information about the same job.&lt;BR /&gt;&lt;BR /&gt;JOBH = f$getqui("DISPLAY_JOB","JOB_HOLDING",,"FREEZE_CONTEXT")&lt;BR /&gt;&lt;BR /&gt;And if what you were trying was to use HOLDING_JOBS instead of ALL_JOBS for the first DISPLAY_JOB call on a job, then you need to use BOTH.  Without ALL_JOBS only jobs that are under your user name are returned.&lt;BR /&gt;&lt;BR /&gt;JOBH = f$getqui("DISPLAY_JOB","JOB_HOLDING",,"ALL_JOBS,HOLDING_JOBS")</description>
    <pubDate>Wed, 29 Jul 2009 15:03:51 GMT</pubDate>
    <dc:creator>Jess Goodman</dc:creator>
    <dc:date>2009-07-29T15:03:51Z</dc:date>
    <item>
      <title>Queue info</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/queue-info/m-p/4469243#M95698</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;$ jname=f$getqui("DISPLAY_JOB","JOB_NAME",,"ALL_JOBS")&lt;BR /&gt;&lt;BR /&gt;returns me what I expect....&lt;BR /&gt;&lt;BR /&gt;But jname followed by JOBH :&lt;BR /&gt;JOBH = f$getqui("DISPLAY_JOB","JOB_HOLDING",,"HOLDING_JOBS")&lt;BR /&gt;&lt;BR /&gt;This returns me something different.&lt;BR /&gt;&lt;BR /&gt;Please suggest.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 29 Jul 2009 14:45:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/queue-info/m-p/4469243#M95698</guid>
      <dc:creator>Mulder_1</dc:creator>
      <dc:date>2009-07-29T14:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Queue info</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/queue-info/m-p/4469244#M95699</link>
      <description>&lt;!--!*#--&gt;If you want the second F$GETQUI to return data about the same job as the first one, then you must use the FREEZE_CONTEXT keyword.&lt;BR /&gt;&lt;BR /&gt;JOBH = f$getqui("DISPLAY_JOB","JOB_HOLDING",,"HOLDING_JOBS,FREEZE_CONTEXT")&lt;BR /&gt;&lt;BR /&gt;The DISPLAY_JOB function by default returns data for queues in a loop; a new queue on each call (null string returned if no more queues).</description>
      <pubDate>Wed, 29 Jul 2009 14:50:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/queue-info/m-p/4469244#M95699</guid>
      <dc:creator>Jess Goodman</dc:creator>
      <dc:date>2009-07-29T14:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Queue info</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/queue-info/m-p/4469245#M95700</link>
      <description>Sorry, cut and paste error - you do not need the HOLDING_JOBS keyword, just the FREEZE_CONTEXT keyword, to return information about the same job.&lt;BR /&gt;&lt;BR /&gt;JOBH = f$getqui("DISPLAY_JOB","JOB_HOLDING",,"FREEZE_CONTEXT")&lt;BR /&gt;&lt;BR /&gt;And if what you were trying was to use HOLDING_JOBS instead of ALL_JOBS for the first DISPLAY_JOB call on a job, then you need to use BOTH.  Without ALL_JOBS only jobs that are under your user name are returned.&lt;BR /&gt;&lt;BR /&gt;JOBH = f$getqui("DISPLAY_JOB","JOB_HOLDING",,"ALL_JOBS,HOLDING_JOBS")</description>
      <pubDate>Wed, 29 Jul 2009 15:03:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/queue-info/m-p/4469245#M95700</guid>
      <dc:creator>Jess Goodman</dc:creator>
      <dc:date>2009-07-29T15:03:51Z</dc:date>
    </item>
  </channel>
</rss>

