<?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: help me with my script in OpenVms in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482771#M42728</link>
    <description>I use DECK (possibly with /DOLLAR) and EOD around any SYS$INPUT data that can include OpenVMS device names, or that can contain OpenVMS filenames.  Devices (and thus filenames) can begin with a $ character.&lt;BR /&gt;&lt;BR /&gt;Trivia: EOJ is analogous to LOGOUT.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 20 Aug 2009 13:27:50 GMT</pubDate>
    <dc:creator>Hoff</dc:creator>
    <dc:date>2009-08-20T13:27:50Z</dc:date>
    <item>
      <title>help me with my script in OpenVms</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482763#M42720</link>
      <description>You are very friendly Bob Gezelter.&lt;BR /&gt;&lt;BR /&gt;This is my first script in OpenVMS, I have looked at your recomendation, but  I don't know what write after "$pml/input=sys$input/..."&lt;BR /&gt;&lt;BR /&gt;I have writed a file, but this solution it's middle bad because just I need monitoring some process in PML, but from other linux server, in other words. For me it's not neccesary create temporal files in OpenVMS, I wanna just see the information.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for all and beautiful day!!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Aug 2009 22:09:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482763#M42720</guid>
      <dc:creator>CIDJULIO</dc:creator>
      <dc:date>2009-08-19T22:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: help me with my script in OpenVms</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482764#M42721</link>
      <description>CIDJULIO,&lt;BR /&gt; &lt;BR /&gt;I do not have PML installed on my systems, but the following should work. Note that since the input file does not contain any variable data, it can just be read from SYS$INPUT (which simply is inline in a command file).&lt;BR /&gt;&lt;BR /&gt;$ SEND_PML: &lt;BR /&gt;$ pml := $smsc$root:[bin]pml &lt;BR /&gt;$ define/user sys$output nla0:&lt;BR /&gt;$ pml/input_file=sys$input/queue=send_pml_command/response_time=60 &lt;BR /&gt;CONNECT&lt;BR /&gt;ENABLE OUTPUT /FILE=za.txt&lt;BR /&gt;time&lt;BR /&gt;show class smh /sm_rec/sm_trans /notif_tran&lt;BR /&gt;show class smh /msg_buff&lt;BR /&gt;DISCONNECT &lt;BR /&gt;EXIT&lt;BR /&gt;$ EOD&lt;BR /&gt;&lt;BR /&gt;It may be a good idea to review the information in the documentation kit about writing command files and the use of process permanent files in particular.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Thu, 20 Aug 2009 00:29:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482764#M42721</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2009-08-20T00:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: help me with my script in OpenVms</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482765#M42722</link>
      <description>Just to be a pedant (or perhaps just unimaginative?)...&lt;BR /&gt;It never occurred to me that you could use "$ EOD" without starting with "$ DECK". &lt;BR /&gt; &lt;BR /&gt;$ SEND_PML: &lt;BR /&gt;$ pml := $smsc$root:[bin]pml &lt;BR /&gt;$ define/user sys$output nla0:&lt;BR /&gt;$ pml/input_file=sys$input/queue=send_pml_command/response_time=60 &lt;BR /&gt;$ DECK&lt;BR /&gt; CONNECT&lt;BR /&gt; ENABLE OUTPUT /FILE=za.txt&lt;BR /&gt; time&lt;BR /&gt; show class smh /sm_rec/sm_trans /notif_tran&lt;BR /&gt; show class smh /msg_buff&lt;BR /&gt; DISCONNECT &lt;BR /&gt; EXIT&lt;BR /&gt;$ EOD&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Aug 2009 02:47:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482765#M42722</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2009-08-20T02:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: help me with my script in OpenVms</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482766#M42723</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;Admittedly, I dropped the $ DECK, but a quick test case (as follows) confirms that it is not needed (unless of course you want a more specific delimiter for end of stream, or if the stream contains "$" in column 1):&lt;BR /&gt;&lt;BR /&gt;$ TYPE SYS$INPUT&lt;BR /&gt;This is a first test line&lt;BR /&gt;This is a second test line&lt;BR /&gt;$ EOD&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Thu, 20 Aug 2009 03:08:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482766#M42723</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2009-08-20T03:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: help me with my script in OpenVms</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482767#M42724</link>
      <description>&lt;!--!*#--&gt;&amp;gt; It never occurred to me that you could use&lt;BR /&gt;&amp;gt; "$ EOD" without starting with "$ DECK". &lt;BR /&gt;&lt;BR /&gt;Apparently it's (helpfully) ignored, except&lt;BR /&gt;that "$ EOD" does start with "$", and that's&lt;BR /&gt;good enough to do the intended job.&lt;BR /&gt;&lt;BR /&gt;Not classy style, though, I'd say.</description>
      <pubDate>Thu, 20 Aug 2009 03:11:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482767#M42724</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-08-20T03:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: help me with my script in OpenVms</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482768#M42725</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt;Well, while the $ EOD is effectively a NO-OP in this case, it is at least an actual termination of the input stream.&lt;BR /&gt;&lt;BR /&gt;Since the poster states that they are a DCL neophyte, I wanted the simplest example possible. Using "$ (some other command)" could have been mis-interpreted. &lt;BR /&gt;&lt;BR /&gt;In effect, $ EOD has similar properties to the "//* and "/*" cards used on HASP and ASP on System/360 and descendants.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Thu, 20 Aug 2009 03:26:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482768#M42725</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2009-08-20T03:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: help me with my script in OpenVms</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482769#M42726</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Using "$ (some other command)" could have&lt;BR /&gt;&amp;gt; been mis-interpreted. &lt;BR /&gt;&lt;BR /&gt;What couldn't be?&lt;BR /&gt;&lt;BR /&gt;      $ !!! End of input.&lt;BR /&gt;&lt;BR /&gt;A plain end-of-file would work, too.  As&lt;BR /&gt;usual, many things are possible (and some, I&lt;BR /&gt;claim, would be less confusing than a loose&lt;BR /&gt;"EOD".)&lt;BR /&gt;&lt;BR /&gt;Interestingly, around here, "HELP EOD"&lt;BR /&gt;doesn't actually mention "DECK" except in the&lt;BR /&gt;example, so perhaps the Style Police are&lt;BR /&gt;getting too fussy, after all.  Everything's&lt;BR /&gt;complicated.</description>
      <pubDate>Thu, 20 Aug 2009 03:51:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482769#M42726</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-08-20T03:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: help me with my script in OpenVms</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482770#M42727</link>
      <description>Given the code snipplet:&lt;BR /&gt;...&lt;BR /&gt;$ (run a program or procedure, reading from SYS$INPUT until 'end of data')&lt;BR /&gt;data1&lt;BR /&gt;data2&lt;BR /&gt;data3&lt;BR /&gt;&lt;BR /&gt;$ EOD&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;All lines until, EXCLUDING, the first line starting with "$", will be passed to the program.&lt;BR /&gt;&lt;BR /&gt;What happens to blank lines depends on the program reading the lines. It _may_ interpret a line as "End of data", but could also use is as-is. Without knowing the program, you cannot tell what happens. But no matter what, input ends in the first line starting with "$".&lt;BR /&gt;&lt;BR /&gt;It's good practice, IMHO, to either use&lt;BR /&gt;$DECK - $EOD&lt;BR /&gt;&lt;BR /&gt;or specify a specific string where data ends. Something like "ENDOFDATA" (or, as I've seen once: "^Z" (exactly as shown!))&lt;BR /&gt;&lt;BR /&gt;WG</description>
      <pubDate>Thu, 20 Aug 2009 10:43:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482770#M42727</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2009-08-20T10:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: help me with my script in OpenVms</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482771#M42728</link>
      <description>I use DECK (possibly with /DOLLAR) and EOD around any SYS$INPUT data that can include OpenVMS device names, or that can contain OpenVMS filenames.  Devices (and thus filenames) can begin with a $ character.&lt;BR /&gt;&lt;BR /&gt;Trivia: EOJ is analogous to LOGOUT.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Aug 2009 13:27:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482771#M42728</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-08-20T13:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: help me with my script in OpenVms</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482772#M42729</link>
      <description>"Trivia: EOJ is analogous to LOGOUT."&lt;BR /&gt;&lt;BR /&gt;And unlike LOGOUT, is rarely redefined by the site to invoke a cleanup procedure prior to logging you out.  Therefore, EOJ is my standard method of logging out.</description>
      <pubDate>Fri, 21 Aug 2009 01:25:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482772#M42729</guid>
      <dc:creator>David Jones_21</dc:creator>
      <dc:date>2009-08-21T01:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: help me with my script in OpenVms</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482773#M42730</link>
      <description>Equal trivia for anyone who does stuff in Filetab D (like my ex employer, CDL) - a dollar symbol at the start of input to Filetab D is taken as meaning $ DINTLIB:DINT which means you can't put any device names into Filetab D UNLESS they have something like an underscore before the leading $&lt;BR /&gt;&lt;BR /&gt;A colleague and I spent an hour or more trying to work that one out before our Technical Architect droppped a comment about it. :o(</description>
      <pubDate>Fri, 21 Aug 2009 05:50:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/help-me-with-my-script-in-openvms/m-p/4482773#M42730</guid>
      <dc:creator>Steve Reece_3</dc:creator>
      <dc:date>2009-08-21T05:50:41Z</dc:date>
    </item>
  </channel>
</rss>

