<?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: can MODPARAMS have conditional logic? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/can-modparams-have-conditional-logic/m-p/3766636#M77415</link>
    <description>&lt;BR /&gt;We also use the method of including parameter files in the MODPARAMS.DAT. &lt;BR /&gt;&lt;BR /&gt;For example in a dual node cluster the file $1$DGA100:[SYS0.SYSEXE]MODPARAMS.DAT contains:&lt;BR /&gt;&lt;BR /&gt;!&lt;BR /&gt;AGEN$INCLUDE_PARAMS SYS$COMMON:[SYSEXE]MODPARAMS.CLUSTER&lt;BR /&gt;!&lt;BR /&gt;AGEN$INCLUDE_PARAMS SYS$COMMON:[SYSEXE]MODPARAMS.COMMON&lt;BR /&gt;&lt;BR /&gt;In our case we have separated the parameters over the following files:&lt;BR /&gt;&lt;BR /&gt;MODPARAMS.COMMON&lt;BR /&gt;MODPARAMS.CLUSTER&lt;BR /&gt;MODPARAMS.NO_CLUSTER&lt;BR /&gt;MODPARAMS.SHADOW&lt;BR /&gt;</description>
    <pubDate>Thu, 06 Apr 2006 01:38:21 GMT</pubDate>
    <dc:creator>Dave Laurier</dc:creator>
    <dc:date>2006-04-06T01:38:21Z</dc:date>
    <item>
      <title>can MODPARAMS have conditional logic?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-modparams-have-conditional-logic/m-p/3766630#M77409</link>
      <description>Can you use any conditional logic in MODPARAMS.DAT, or to be more precise, in an AGEN$INCLUDE_PARAMS file?&lt;BR /&gt;&lt;BR /&gt;I have a lot of systems and some of common sysgen parameters vary only between system architecture or VMS version.&lt;BR /&gt;&lt;BR /&gt;I believe I read somewher that a "$" prefix before a VAX-only parameter defintion will prevent Alphas from complaining about an unknown parameter.  Are there any other tricks (hacks?) like that?&lt;BR /&gt;&lt;BR /&gt;I see that AUTOGEN reads thru MODPARAMS.DAT and any AGEN$INCLUDE_PARAMS files with DCL READs and parses the records for the symbol name itself.  So it looks like a line like:&lt;BR /&gt;IF VERSION .GES. "V7.3-2" THEN MPDEV_REMOTE = 1&lt;BR /&gt;won't work.&lt;BR /&gt;&lt;BR /&gt;With a 33 node cluster it is a pain to individually edit all the node-specific MODPARAMS.DAT files when I want a parameter set to one of two different values based on system type/version.</description>
      <pubDate>Wed, 05 Apr 2006 15:53:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-modparams-have-conditional-logic/m-p/3766630#M77409</guid>
      <dc:creator>Jess Goodman</dc:creator>
      <dc:date>2006-04-05T15:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: can MODPARAMS have conditional logic?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-modparams-have-conditional-logic/m-p/3766631#M77410</link>
      <description>&amp;gt; can MODPARAMS have conditional logic? &lt;BR /&gt;&lt;BR /&gt;Yes. You can use single line conditional commands. For example:&lt;BR /&gt;&lt;BR /&gt;IF F$EDIT(F$GETSYI("SCSNODE"),"COLLAPSE") .EQS. "NODEA" THEN USERD2=1234&lt;BR /&gt;&lt;BR /&gt;is valid (but, it will also create warnings in the AGEN$PARAMS.REPORT that results from AUTOGENing).</description>
      <pubDate>Wed, 05 Apr 2006 16:16:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-modparams-have-conditional-logic/m-p/3766631#M77410</guid>
      <dc:creator>Jim_McKinney</dc:creator>
      <dc:date>2006-04-05T16:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: can MODPARAMS have conditional logic?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-modparams-have-conditional-logic/m-p/3766632#M77411</link>
      <description>Or, more like your example&lt;BR /&gt;&lt;BR /&gt;if f$edit(f$getsyi("version"),"collapse") .eqs. "V7.3" then mpdev_remote=1</description>
      <pubDate>Wed, 05 Apr 2006 16:19:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-modparams-have-conditional-logic/m-p/3766632#M77411</guid>
      <dc:creator>Jim_McKinney</dc:creator>
      <dc:date>2006-04-05T16:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: can MODPARAMS have conditional logic?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-modparams-have-conditional-logic/m-p/3766633#M77412</link>
      <description>Jess,&lt;BR /&gt;&lt;BR /&gt;Yes, but you don't use conditional logic.&lt;BR /&gt;&lt;BR /&gt;What you DO is to use the equivalent of the SYS$COMMON and SYS$SPECIFIC hierarchy. I believe that I mentioned it in my paper on inheritance based systems variability (the abstract and reprint are available through my www site at &lt;A href="http://www.rlgsc.com/publications/vmstechjournal/inheritance.html" target="_blank"&gt;http://www.rlgsc.com/publications/vmstechjournal/inheritance.html&lt;/A&gt; .&lt;BR /&gt;&lt;BR /&gt;I have to run now, but let me know if the above is not clear enough.&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>Wed, 05 Apr 2006 20:25:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-modparams-have-conditional-logic/m-p/3766633#M77412</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2006-04-05T20:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: can MODPARAMS have conditional logic?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-modparams-have-conditional-logic/m-p/3766634#M77413</link>
      <description>We use the  same approach as Bob recommends. We rely on a common file for essential parameters.&lt;BR /&gt;&lt;BR /&gt;In each sys$system:modparams we include&lt;BR /&gt;&lt;BR /&gt;!&lt;BR /&gt;AGEN$INCLUDE_PARAMS COMMON:[SYSMGR]SYSTEM_CLUSTER_PARAMS.DAT&lt;BR /&gt;!&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Apr 2006 20:30:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-modparams-have-conditional-logic/m-p/3766634#M77413</guid>
      <dc:creator>Thomas Ritter</dc:creator>
      <dc:date>2006-04-05T20:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: can MODPARAMS have conditional logic?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-modparams-have-conditional-logic/m-p/3766635#M77414</link>
      <description>Please note that MPDEV_REMOTE can be set to 1 from V7.3-1 and beyond.  Support for the remote path was added in V7.3-1.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-- Rob</description>
      <pubDate>Wed, 05 Apr 2006 23:06:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-modparams-have-conditional-logic/m-p/3766635#M77414</guid>
      <dc:creator>Robert Brooks_1</dc:creator>
      <dc:date>2006-04-05T23:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: can MODPARAMS have conditional logic?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-modparams-have-conditional-logic/m-p/3766636#M77415</link>
      <description>&lt;BR /&gt;We also use the method of including parameter files in the MODPARAMS.DAT. &lt;BR /&gt;&lt;BR /&gt;For example in a dual node cluster the file $1$DGA100:[SYS0.SYSEXE]MODPARAMS.DAT contains:&lt;BR /&gt;&lt;BR /&gt;!&lt;BR /&gt;AGEN$INCLUDE_PARAMS SYS$COMMON:[SYSEXE]MODPARAMS.CLUSTER&lt;BR /&gt;!&lt;BR /&gt;AGEN$INCLUDE_PARAMS SYS$COMMON:[SYSEXE]MODPARAMS.COMMON&lt;BR /&gt;&lt;BR /&gt;In our case we have separated the parameters over the following files:&lt;BR /&gt;&lt;BR /&gt;MODPARAMS.COMMON&lt;BR /&gt;MODPARAMS.CLUSTER&lt;BR /&gt;MODPARAMS.NO_CLUSTER&lt;BR /&gt;MODPARAMS.SHADOW&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Apr 2006 01:38:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-modparams-have-conditional-logic/m-p/3766636#M77415</guid>
      <dc:creator>Dave Laurier</dc:creator>
      <dc:date>2006-04-06T01:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: can MODPARAMS have conditional logic?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-modparams-have-conditional-logic/m-p/3766637#M77416</link>
      <description>Jess, &lt;BR /&gt;&lt;BR /&gt;please view&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;about thanking those that helped.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Jul 2006 07:07:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-modparams-have-conditional-logic/m-p/3766637#M77416</guid>
      <dc:creator>Thomas Ritter</dc:creator>
      <dc:date>2006-07-05T07:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: can MODPARAMS have conditional logic?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-modparams-have-conditional-logic/m-p/3766638#M77417</link>
      <description>Jess,&lt;BR /&gt;&lt;BR /&gt;we have several sets of (hardware-, or function-) related AGEN$INCLUDE_xxxx&lt;BR /&gt;Only, we always call them from SYS$SYSTEM.&lt;BR /&gt;&lt;BR /&gt;If needed, the node specific ones are in SYS$SPECIFIC, but the bulk are ONLY in SYS$COMMON.&lt;BR /&gt;Because of the potential conflicts, they are nerly all MIN_ or MAX_ setting.&lt;BR /&gt;&lt;BR /&gt;Autogen irritates us by giving warnings about multiples, but we know to ignore them.&lt;BR /&gt;&lt;BR /&gt;Since the include files can be nested, the specific ones tend to be only slightly different sets of include files from common. &lt;BR /&gt; &lt;BR /&gt;For instance, each MODPARAMS contains SYS$SYSTEM:AGEN$INCLUDEFILE_MEMORY&lt;BR /&gt;&lt;BR /&gt;And each SYS$SYSTEM:AGEN$INCLUDEFILE_MEMORY is a one-liner:&lt;BR /&gt;AGEN$INCLUDEFILE_BIGMEM or AGEN$INCLUDEFILE_SMALLMEM&lt;BR /&gt;(because all but one of are systems are bigmem, AGEN$INCLUDEFILE_MEMORY pointing to BIGMEM is in SYS$COMMON, and only one SYS$SPECIFIC holds one pointing to AGEN$INCLUDEFILE_SMALLMEM)&lt;BR /&gt;&lt;BR /&gt;As often this is just _A_ solution.&lt;BR /&gt;Several options offered already, pick what suits you best!&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Jul 2006 13:24:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-modparams-have-conditional-logic/m-p/3766638#M77417</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2006-07-05T13:24:36Z</dc:date>
    </item>
  </channel>
</rss>

