<?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: Capture output from REPLY/STATUS in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054658#M85401</link>
    <description>Volker,&lt;BR /&gt;     I went and looked at some of those&lt;BR /&gt;modules, there are all unreadable from a&lt;BR /&gt;browser. What can Geni use to retrieve it&lt;BR /&gt;in a readable format?</description>
    <pubDate>Mon, 25 Jun 2007 15:52:54 GMT</pubDate>
    <dc:creator>Dean McGorrill</dc:creator>
    <dc:date>2007-06-25T15:52:54Z</dc:date>
    <item>
      <title>Capture output from REPLY/STATUS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054653#M85396</link>
      <description>Hi,&lt;BR /&gt;    This may be an old one, but I have not been able to find the answer as yet.&lt;BR /&gt;&lt;BR /&gt;How can we capture the output of the REPLY/STATUS command.  It seems that it does not write to sys$output (or sys$error).&lt;BR /&gt;&lt;BR /&gt;For example ...&lt;BR /&gt;&lt;BR /&gt;$ reply/enable=tape&lt;BR /&gt;$ define sys$output x.tmp&lt;BR /&gt;$ reply/status&lt;BR /&gt;%%%%%%%%%%%  OPCOM  22-JUN-2007 15:22:13.68  %%%%%%%%%%%&lt;BR /&gt;Operator status for operator _AUC052$TNA156:&lt;BR /&gt;TAPES&lt;BR /&gt;&lt;BR /&gt;$ deass sys$output&lt;BR /&gt;$ dir/siz/dat x.tmp&lt;BR /&gt;&lt;BR /&gt;Directory DISK1:[SITE.MANAGER]&lt;BR /&gt;&lt;BR /&gt;X.TMP;1                    0  22-JUN-2007 15:22:10.55&lt;BR /&gt;&lt;BR /&gt;Total of 1 file, 0 blocks.&lt;BR /&gt;&lt;BR /&gt;Or ...&lt;BR /&gt;&lt;BR /&gt;$ ty replystatus.com&lt;BR /&gt;$reply/status&lt;BR /&gt;$exit&lt;BR /&gt;$&lt;BR /&gt;$ @replystatus.com/out=x.tmp&lt;BR /&gt;%%%%%%%%%%%  OPCOM  22-JUN-2007 17:06:39.82  %%%%%%%%%%%&lt;BR /&gt;Operator status for operator _AUC052$TNA156:&lt;BR /&gt;TAPES&lt;BR /&gt;&lt;BR /&gt;$ dir/siz/dat x.tmp&lt;BR /&gt;&lt;BR /&gt;Directory DISK1:[SITE.MANAGER]&lt;BR /&gt;&lt;BR /&gt;X.TMP;2                    0  22-JUN-2007 17:06:39.82&lt;BR /&gt;X.TMP;1                    0  22-JUN-2007 15:22:10.55&lt;BR /&gt;&lt;BR /&gt;Total of 2 files, 0 blocks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Why?  Thought we might DCL script a reply to some backup-related OPCOM messages, and expected this to be briefer than parsing operator.log, and simpler than intercepting OPCOM events.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Platform?&lt;BR /&gt;  HP TCP/IP Services for OpenVMS Industry Standard 64 Version V5.6&lt;BR /&gt;  on an HP rx3600  (1.59GHz/9.0MB) running OpenVMS V8.3&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks and regards,&lt;BR /&gt;Lester&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Jun 2007 02:43:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054653#M85396</guid>
      <dc:creator>Lester Dreckow</dc:creator>
      <dc:date>2007-06-25T02:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Capture output from REPLY/STATUS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054654#M85397</link>
      <description>Hi Lester&lt;BR /&gt;&lt;BR /&gt;I have a similar problem I'm working on, just now.&lt;BR /&gt;&lt;BR /&gt;One possibility to capture Opcom Messages is as follows:&lt;BR /&gt;&lt;BR /&gt;- Create a Terminal with the PTD (Pseudo Terminal Driver)&lt;BR /&gt;- Create a Mailbox&lt;BR /&gt;- use $Assign to assoziate the ptd with the mailbox&lt;BR /&gt;- Issue repl/enable within the pseudo terminal&lt;BR /&gt;- ...and read the Opcom Messages from the mailbox&lt;BR /&gt;&lt;BR /&gt;If you have enoug time, I can supply some example code in C within this week I hope&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Geni</description>
      <pubDate>Mon, 25 Jun 2007 03:18:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054654#M85397</guid>
      <dc:creator>Heinz W Genhart</dc:creator>
      <dc:date>2007-06-25T03:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Capture output from REPLY/STATUS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054655#M85398</link>
      <description>Lester, Geni,&lt;BR /&gt;&lt;BR /&gt;there is an OPCOM-TO-PTD C source code example at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wwwvms.mppmu.mpg.de/vmssig/src/c/OPCOM-TO-PTD.C" target="_blank"&gt;http://wwwvms.mppmu.mpg.de/vmssig/src/c/OPCOM-TO-PTD.C&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Mon, 25 Jun 2007 03:39:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054655#M85398</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2007-06-25T03:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Capture output from REPLY/STATUS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054656#M85399</link>
      <description>Hi Volker&lt;BR /&gt;&lt;BR /&gt;thanks for the example. I have some problems with reading the example, because it's all on one line and several #include statements are empty (there is nothing behind #include)&lt;BR /&gt;&lt;BR /&gt;Is it possible to supply the example in a more readable format?&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;Geni</description>
      <pubDate>Mon, 25 Jun 2007 03:50:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054656#M85399</guid>
      <dc:creator>Heinz W Genhart</dc:creator>
      <dc:date>2007-06-25T03:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Capture output from REPLY/STATUS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054657#M85400</link>
      <description>Geni,&lt;BR /&gt;&lt;BR /&gt;go to&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wwwvms.mppmu.mpg.de/vmssig/src/C/" target="_blank"&gt;http://wwwvms.mppmu.mpg.de/vmssig/src/C/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and find the line with the URL to OPCOM-TO-PTD&lt;BR /&gt;&lt;BR /&gt;Download the file as .C and open with notepad. It works for me.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Mon, 25 Jun 2007 03:54:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054657#M85400</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2007-06-25T03:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Capture output from REPLY/STATUS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054658#M85401</link>
      <description>Volker,&lt;BR /&gt;     I went and looked at some of those&lt;BR /&gt;modules, there are all unreadable from a&lt;BR /&gt;browser. What can Geni use to retrieve it&lt;BR /&gt;in a readable format?</description>
      <pubDate>Mon, 25 Jun 2007 15:52:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054658#M85401</guid>
      <dc:creator>Dean McGorrill</dc:creator>
      <dc:date>2007-06-25T15:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Capture output from REPLY/STATUS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054659#M85402</link>
      <description>Dean,&lt;BR /&gt;&lt;BR /&gt;Yes they seem unreadable from limited functionality windoze browsers.&lt;BR /&gt;&lt;BR /&gt;But do as Volker told you. Go to the directory above it, find the line with opcom-to-ptd (alphabetic), right click "Save Target as". Now open and voila.&lt;BR /&gt;&lt;BR /&gt;From VMS the LYNX browser has no problem directly displaying the file and print --&amp;gt; save-to-file--&amp;gt; be happy.&lt;BR /&gt;&lt;BR /&gt;fwiw,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Jun 2007 16:25:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054659#M85402</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-06-25T16:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Capture output from REPLY/STATUS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054660#M85403</link>
      <description>Here is a simple DCL procedure I wrote 20 years ago that handles some cases of this.  It depends on what you need to accomplish.&lt;BR /&gt;&lt;BR /&gt;See what you think.   I posted this to dcl.OpenVMS.org as well.&lt;BR /&gt;&lt;BR /&gt;Robert</description>
      <pubDate>Mon, 25 Jun 2007 17:36:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054660#M85403</guid>
      <dc:creator>Robert_Boyd</dc:creator>
      <dc:date>2007-06-25T17:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Capture output from REPLY/STATUS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054661#M85404</link>
      <description>I just noticed -- you may want to open the file with WordPad instead of NotePad&lt;BR /&gt;&lt;BR /&gt;Robert</description>
      <pubDate>Mon, 25 Jun 2007 17:39:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054661#M85404</guid>
      <dc:creator>Robert_Boyd</dc:creator>
      <dc:date>2007-06-25T17:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Capture output from REPLY/STATUS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054662#M85405</link>
      <description>We've used a very simple method that works, by running the commands in a batch job :-&lt;BR /&gt;&lt;BR /&gt;$               DEFINE SYS$COMMAND TNA0:&lt;BR /&gt;$               REPLY /ENABLE /TEMP&lt;BR /&gt;$               REPLY /STATUS&lt;BR /&gt;&lt;BR /&gt;The log file can then be interrogated.&lt;BR /&gt;&lt;BR /&gt;For a much more fluid solution, use IAM:Consoles from Itheon, which you can script to take specific actions dependent on the text it sees.&lt;BR /&gt;&lt;BR /&gt;Rob.</description>
      <pubDate>Tue, 26 Jun 2007 03:07:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054662#M85405</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2007-06-26T03:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Capture output from REPLY/STATUS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054663#M85406</link>
      <description>Thank you for the replies.&lt;BR /&gt;&lt;BR /&gt;Robert A,&lt;BR /&gt;   That is as simple as I hoped it to be!  But those commands don't work for me in a batch job.  I've tried it on I64 and Alpha, and for TNA0: and OPA0:.  Nothing returned in the log file.&lt;BR /&gt;&lt;BR /&gt;$ exit 1        !SYLOGIN&lt;BR /&gt;$ SHOW QUEUE SYS$BATCH&lt;BR /&gt;Batch queue SYS$BATCH, available, on AUC051::&lt;BR /&gt;&lt;BR /&gt;  Entry  Jobname         Username             Status&lt;BR /&gt;  -----  -------         --------             ------&lt;BR /&gt;     79  REPLY_STATUS    SYSTEM               Executing&lt;BR /&gt;$ DEFINE SYS$COMMAND TNA0:&lt;BR /&gt;$ REPLY /ENABLE /TEMP&lt;BR /&gt;$ REPLY /STATUS&lt;BR /&gt;$ WAIT 00:01:00&lt;BR /&gt;  SYSTEM       job terminated at 26-JUN-2007 19:06:15.05&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Robert B,&lt;BR /&gt;   Nice and simple, but I'm looking for the request text, not a reply.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Volker,&lt;BR /&gt;   I understand now that we may need a pseudo-terminal to do this.  The code compiles with warnings on our system, but still runs.  It needs to be running before the a request is posted, rather than obtain the current status of outstanding requests as per "reply/status".  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Geni,&lt;BR /&gt;    I'd be interested in how you go as I'm not a C programmer.  &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Lester&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Jun 2007 04:57:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054663#M85406</guid>
      <dc:creator>Lester Dreckow</dc:creator>
      <dc:date>2007-06-26T04:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Capture output from REPLY/STATUS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054664#M85407</link>
      <description>Lester,&lt;BR /&gt;&lt;BR /&gt;did you look at the $SNDOPR system service ?&lt;BR /&gt;&lt;BR /&gt;This service can send an OPC$_RQ_STATUS request and receive a list of outstanding requests in a mailbox.&lt;BR /&gt;&lt;BR /&gt;There does not seem to be an example around for this type of operation.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 26 Jun 2007 05:20:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054664#M85407</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2007-06-26T05:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Capture output from REPLY/STATUS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054665#M85408</link>
      <description>Lester,&lt;BR /&gt;&lt;BR /&gt;there is an example available:&lt;BR /&gt;&lt;BR /&gt;Search for OPC$_RQ_STATUS in Google Groups&lt;BR /&gt;&lt;BR /&gt;and look at the thread from 21-SEP-2000 titled:&lt;BR /&gt;&lt;BR /&gt;Alternative to REPLY/ENABLE=TAPES ? &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://groups.google.de/group/comp.os.vms/browse_frm/thread/8577108b24e58802/80ca0b0a765b501d?lnk=st&amp;amp;q=OPC%24_RQ_STATUS&amp;amp;rnum=2&amp;amp;hl=de#80ca0b0a765b501d" target="_blank"&gt;http://groups.google.de/group/comp.os.vms/browse_frm/thread/8577108b24e58802/80ca0b0a765b501d?lnk=st&amp;amp;q=OPC%24_RQ_STATUS&amp;amp;rnum=2&amp;amp;hl=de#80ca0b0a765b501d&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 26 Jun 2007 05:40:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054665#M85408</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2007-06-26T05:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Capture output from REPLY/STATUS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054666#M85409</link>
      <description>Volker,&lt;BR /&gt;   Thanks.  I found that example today, but I was still wondering why it doesn't quite work for me.&lt;BR /&gt;&lt;BR /&gt;Run gives no output, but it does enable itself ans an operator console.  Interesting thing is I do get the output when run in debug mode with "set mode screen" turned on and stepping.  But no output when not stepping - seems bizarre, but leads me to think that I have some logical wrong or something.  Still working on it.&lt;BR /&gt;&lt;BR /&gt;Lester</description>
      <pubDate>Tue, 26 Jun 2007 06:11:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054666#M85409</guid>
      <dc:creator>Lester Dreckow</dc:creator>
      <dc:date>2007-06-26T06:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Capture output from REPLY/STATUS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054667#M85410</link>
      <description>Lester,&lt;BR /&gt;&lt;BR /&gt;I downloaded, compiled and linked the example. Worked for me, once I turned on OPER privilege ;-)&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Jun 2007 06:16:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054667#M85410</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2007-06-26T06:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Capture output from REPLY/STATUS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054668#M85411</link>
      <description>Just a remark to the source (and other) files on wwwvms.mppmu.mpg.de:&lt;BR /&gt;&lt;BR /&gt; The files are served by a VMS web server (OSU HTTPD), and all source files are correctly sent as text/plain.&lt;BR /&gt;There will be no problem downloading the files on a VMS (or Unix) system.&lt;BR /&gt;On windows systems there are the usual problems: the mime-type is ignored, so windows handles it according to the filename-extension, not as text files.&lt;BR /&gt;After downloading in binary mode, notepad is too simple to handle files of records, which are not &lt;CR&gt;&lt;LF&gt; terminated.&lt;BR /&gt;Use a more clever text editor!&lt;BR /&gt;&lt;BR /&gt;All files in /vmssig/... are for VMS, and meant to be used on VMS.&lt;BR /&gt;(And although my desktops are all Linux, I have no problems to display the VMSSIG repository with Mozilla/Firefox ...)&lt;BR /&gt;&lt;BR /&gt;Cheers, and enjoy wwwvms.mppmu.mpg.de as long as it exists !&lt;BR /&gt;&lt;/LF&gt;&lt;/CR&gt;</description>
      <pubDate>Tue, 26 Jun 2007 08:38:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054668#M85411</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2007-06-26T08:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Capture output from REPLY/STATUS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054669#M85412</link>
      <description>Thanks Volker,&lt;BR /&gt;    And yes, it works for me on Alpha VMS V7.3-1. A perfect solution if I can get it to go on I64 VMS V8.3.  Working on it.&lt;BR /&gt;&lt;BR /&gt;Lester</description>
      <pubDate>Wed, 27 Jun 2007 00:28:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054669#M85412</guid>
      <dc:creator>Lester Dreckow</dc:creator>
      <dc:date>2007-06-27T00:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Capture output from REPLY/STATUS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054670#M85413</link>
      <description>Hi C gurus,&lt;BR /&gt;&lt;BR /&gt;The code example (attached) now works on I64, when it includes a printf statement immediately before the sys$qiow call.&lt;BR /&gt;&lt;BR /&gt;Code snippet ...&lt;BR /&gt;&lt;BR /&gt;    for (;;) {&lt;BR /&gt;  printf ("%s\n", ""); /* makes it work on I64, VMS V8.3, HP C V7.2-001-50G14 */&lt;BR /&gt;&lt;BR /&gt;        status = sys$qiow (0, mbx_chan, IO$_READVBLK|IO$M_NOW, &amp;amp;iosb, 0, 0,&lt;BR /&gt;                           &amp;amp;reply, OPC_BUFSIZ, 0, 0, 0, 0);&lt;BR /&gt;&lt;BR /&gt;  printf ("%s %i\n", "..status ",status);&lt;BR /&gt;  printf ("%s %i\n", "..iosb ",iosb[0]);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Without this printf, sys$qiow immediately returns %SYSTEM-W-ENDOFFILE, end of file ...&lt;BR /&gt;&lt;BR /&gt;$ run OPCOM_STATUS&lt;BR /&gt;..status  1&lt;BR /&gt;..iosb  2160&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;With this printf, it works as expected ...&lt;BR /&gt;&lt;BR /&gt;$ run OPCOM_STATUS&lt;BR /&gt;&lt;BR /&gt;..status  1&lt;BR /&gt;..iosb  1&lt;BR /&gt;%%%%%%%%%%%  OPCOM   4-JUL-2007 17:10:59.89  %%%%%%%%%%%&lt;BR /&gt;Operator _AUC051$FTA95: has been enabled, username SYSTEM&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;..status  1&lt;BR /&gt;..iosb  1&lt;BR /&gt;%%%%%%%%%%%  OPCOM   4-JUL-2007 17:10:59.89  %%%%%%%%%%%&lt;BR /&gt;Operator status for operator _AUC051$FTA95:&lt;BR /&gt;CENTRAL, PRINTER, TAPES, DISKS, DEVICES, CARDS, NETWORK, CLUSTER, SECURITY&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;..status  1&lt;BR /&gt;..iosb  1&lt;BR /&gt;%%%%%%%%%%%  OPCOM   4-JUL-2007 17:10:59.89  %%%%%%%%%%%&lt;BR /&gt;Operator status for operator _AUC051$FTA95:&lt;BR /&gt;CENTRAL, PRINTER, TAPES, DISKS, DEVICES, CARDS, NETWORK, CLUSTER, SECURITY&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;..status  1&lt;BR /&gt;..iosb  2160&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;Not being a C programmer, I can't see what difference it should make.  But, no doubt there is an explanation.&lt;BR /&gt;&lt;BR /&gt;Platform: I64, VMS V8.3, HP C V7.2-001-50G14 &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Lester&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jul 2007 03:12:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054670#M85413</guid>
      <dc:creator>Lester Dreckow</dc:creator>
      <dc:date>2007-07-04T03:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Capture output from REPLY/STATUS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054671#M85414</link>
      <description>Hi Lester&lt;BR /&gt;&lt;BR /&gt;I think the problem you have is the qio&lt;BR /&gt;&lt;BR /&gt;Exchange &lt;BR /&gt;&lt;BR /&gt;IO$_READVBLK|IO$M_NOW &lt;BR /&gt;with                                IO$_READVBLK|IO$M_WRITERCHECK,&lt;BR /&gt;&lt;BR /&gt;This may solve the problem&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Geni</description>
      <pubDate>Wed, 04 Jul 2007 03:38:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054671#M85414</guid>
      <dc:creator>Heinz W Genhart</dc:creator>
      <dc:date>2007-07-04T03:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Capture output from REPLY/STATUS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054672#M85415</link>
      <description>Lester,&lt;BR /&gt;&lt;BR /&gt;I just removed the '|IO$M_NOW' modifier and it works fine for me on OpenVMS I64 V8.2.&lt;BR /&gt;&lt;BR /&gt;You want to wait for a MBX message, so why specify IO$M_NOW, which will terminate the QIOW, if no message is available.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Wed, 04 Jul 2007 12:28:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/capture-output-from-reply-status/m-p/5054672#M85415</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2007-07-04T12:28:11Z</dc:date>
    </item>
  </channel>
</rss>

