<?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 how to pass parameters in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/how-to-pass-parameters/m-p/4114496#M38949</link>
    <description>Hi how to pass parameters from one file to another</description>
    <pubDate>Mon, 10 Dec 2007 21:21:12 GMT</pubDate>
    <dc:creator>gurram</dc:creator>
    <dc:date>2007-12-10T21:21:12Z</dc:date>
    <item>
      <title>how to pass parameters</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-pass-parameters/m-p/4114496#M38949</link>
      <description>Hi how to pass parameters from one file to another</description>
      <pubDate>Mon, 10 Dec 2007 21:21:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-pass-parameters/m-p/4114496#M38949</guid>
      <dc:creator>gurram</dc:creator>
      <dc:date>2007-12-10T21:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass parameters</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-pass-parameters/m-p/4114497#M38950</link>
      <description>Files don't pass parameters, so I'm not quite sure what you're looking to do here.&lt;BR /&gt;&lt;BR /&gt;DCL command procedures can pass parameters, and applications can pass parameters.&lt;BR /&gt;&lt;BR /&gt;Usually&lt;BR /&gt;&lt;BR /&gt;@procedure p1 p2 p3 p4 p5&lt;BR /&gt;&lt;BR /&gt;Up to eight parameters are permitted.&lt;BR /&gt;&lt;BR /&gt;You can also pass parameters using DCL symbols and logical names.&lt;BR /&gt;&lt;BR /&gt;If you're not familiar with OpenVMS and its terminology and operations, then the OpenVMS User's Guide and the OpenVMS Programming Concepts manuals -- both are part of the OpenVMS documentation set -- can be good resources for these and other areas.  &lt;BR /&gt;&lt;BR /&gt;Once you get the hang of some of this with the manuals, then the HELP command and its reminders can assist you with various details of the platform.  (The on-line HELP is a subset of the manuals, and thus not a good substitute for the manuals.)&lt;BR /&gt;&lt;BR /&gt;The User's Guide in particular has a section on writing DCL command procedures that covers CALL and GOSUB and @ and such, and parameter passing.  (I'm guessing you're writing a DCL procedure here, though I'm not entirely certain of that.)  Here's the doc URL:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hp.com/go/openvms/doc" target="_blank"&gt;http://www.hp.com/go/openvms/doc&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Stephen Hoffman&lt;BR /&gt;HoffmanLabs LLC</description>
      <pubDate>Mon, 10 Dec 2007 22:20:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-pass-parameters/m-p/4114497#M38950</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-12-10T22:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass parameters</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-pass-parameters/m-p/4114498#M38951</link>
      <description>Hi, if you have nested procedures, you can use global symbols for both by "==" or ":==".&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;$ g_symbol == "my_global_value"&lt;BR /&gt;&lt;BR /&gt;Another possibility is by logical name.</description>
      <pubDate>Tue, 11 Dec 2007 11:52:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-pass-parameters/m-p/4114498#M38951</guid>
      <dc:creator>Petr Spisek</dc:creator>
      <dc:date>2007-12-11T11:52:53Z</dc:date>
    </item>
  </channel>
</rss>

