<?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: Errors attaching to Database in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/errors-attaching-to-database/m-p/4239744#M90757</link>
    <description>$ DIRECTORY SYS$SHARE:*SETVER*&lt;BR /&gt;&lt;BR /&gt;Directory SYS$COMMON:[SYSLIB]&lt;BR /&gt;&lt;BR /&gt;DECRDB$SETVER.COM;4 RDB$SETVER.COM;3    RDBVMS_SETVER.COM;4 SQL$SETVER.COM;5&lt;BR /&gt;SQLSRV_SETVER.COM;2&lt;BR /&gt;&lt;BR /&gt;Total of 5 files.&lt;BR /&gt;</description>
    <pubDate>Tue, 05 Aug 2008 17:35:19 GMT</pubDate>
    <dc:creator>odwillia</dc:creator>
    <dc:date>2008-08-05T17:35:19Z</dc:date>
    <item>
      <title>Errors attaching to Database</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/errors-attaching-to-database/m-p/4239737#M90750</link>
      <description>I have developers getting the errors below.  Do you believe this is an OS issue?&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.&lt;BR /&gt;&lt;BR /&gt;SQLMOD :== $SQL$MOD/ANSI_PARMETER&lt;BR /&gt;SQLMOD DBREF:DB_WIP_PAY_SQL.SQLMOD&lt;BR /&gt;%SQL-F-ERRATTDEC, Error attaching to database WIP_DATABASE&lt;BR /&gt;-RDB-F-WRONG_ODS, the on-disk structure of database filename is not supported by&lt;BR /&gt; version of facility being used&lt;BR /&gt;-RDMS-F-ROOTMAJVER, database format 60.0 is not compatible with software version 70.1&lt;BR /&gt;%SQL-F-ERRATTDEC, Error attaching to database WIP_DATABASE&lt;BR /&gt;%SQL-F-ERRATTDEC, Error attaching to database WIP_DATABASE&lt;BR /&gt;%SQL-F-ERRATTDEC, Error attaching to database WIP_DATABASE&lt;BR /&gt;%SQL-F-ERRATTDEC, Error attaching to database WIP_DATABASE&lt;BR /&gt;%SQL-F-ERRATTDEC, Error attaching to database WIP_DATABASE&lt;BR /&gt;%SQL-F-ERRATTDEC, Error attaching to database WIP_DATABASE&lt;BR /&gt;%MMS-F-ABORT, For target DB_WIP_PAY_SQL.OBJ, CLI returned abort status: %X12228DCC.&lt;BR /&gt;    definition of database:&lt;BR /&gt;(LNM$SYSTEM_TABLE)&lt;BR /&gt;  "WIP_DATABASE" = "UPE$DISK:[PROD.UNPAYENT.DATA]WIP_DATABASE.RDB"&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jul 2008 11:20:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/errors-attaching-to-database/m-p/4239737#M90750</guid>
      <dc:creator>odwillia</dc:creator>
      <dc:date>2008-07-24T11:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Errors attaching to Database</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/errors-attaching-to-database/m-p/4239738#M90751</link>
      <description>The term ODS refers not to the OpenVMS files-11 ODS-2 or ODS-5 but rather to the structure of the RDB file itself.&lt;BR /&gt;This is confirmed by "ROOTMAJVER, database format 60.0 is not compatible with software version 70.1"&lt;BR /&gt;&lt;BR /&gt;Looks like a 'simple' mismatch between the installed RDB version and the Database root being pointed to.&lt;BR /&gt;&lt;BR /&gt;A simple google: +rdb +WRONG_ODS&lt;BR /&gt;points to a manual which explains:&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://download.oracle.com/docs/html/A90407_01/ig_ch2.htm" target="_blank"&gt;http://download.oracle.com/docs/html/A90407_01/ig_ch2.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Did it ever work?&lt;BR /&gt;&lt;BR /&gt;What changed?&lt;BR /&gt;&lt;BR /&gt;You may hav to upgrade/convert that database.&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jul 2008 11:28:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/errors-attaching-to-database/m-p/4239738#M90751</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2008-07-24T11:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Errors attaching to Database</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/errors-attaching-to-database/m-p/4239739#M90752</link>
      <description>Thanks, that is really helpful.</description>
      <pubDate>Thu, 24 Jul 2008 12:35:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/errors-attaching-to-database/m-p/4239739#M90752</guid>
      <dc:creator>odwillia</dc:creator>
      <dc:date>2008-07-24T12:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Errors attaching to Database</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/errors-attaching-to-database/m-p/4239740#M90753</link>
      <description>How can I enable this to link to both databases at the same time?&lt;BR /&gt;The DBA seems to think this is an issue with system logicals since a reboot a couple of months ago.  How can I check if this is the case?&lt;BR /&gt;&lt;BR /&gt;The DBA says that this setup has worked fine in the past.&lt;BR /&gt;&lt;BR /&gt;Thanks for you help.</description>
      <pubDate>Tue, 05 Aug 2008 12:45:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/errors-attaching-to-database/m-p/4239740#M90753</guid>
      <dc:creator>odwillia</dc:creator>
      <dc:date>2008-08-05T12:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Errors attaching to Database</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/errors-attaching-to-database/m-p/4239741#M90754</link>
      <description>Define "both databases". You can install 2 versions of RDB and have 2 DB (1 for each version).&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 05 Aug 2008 13:26:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/errors-attaching-to-database/m-p/4239741#M90754</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-08-05T13:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Errors attaching to Database</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/errors-attaching-to-database/m-p/4239742#M90755</link>
      <description>Oh, boy; I've spent way, way, way too much time inside Rdb over the years...  This is a "normal" footprint of using multiversion Rdb; I'm surprised this case not better and more widely documented and more widely known.&lt;BR /&gt;&lt;BR /&gt;If multiversion (MV) Rdb has been installed, then the relevant command procedures are RDB$SETVER.COM and RDB$SHOVER.COM, both located in SYS$SHARE:.  &lt;BR /&gt;&lt;BR /&gt;(Rdb 6.0 is ancient, and might have a different filename for the version selection - I'd see what a DIRECTORY SYS$SHARE:*SETVER* showed what Rdb was using.  The filenames of these tools changed once or twice, IIRC.)&lt;BR /&gt;&lt;BR /&gt;As for the startup processing and its selection of the Rdb version default, that usually involves a SETVER in the startup or in a login-related procedure somewhere, or (if installed) the non-MV version will be selected.&lt;BR /&gt;&lt;BR /&gt;The -RDB-F-WRONG_ODS and RDMS-F-ROOTMAJVER errors are "normal" and typical and regularly seen in these cases -- particularly when you're migrating older databases forward, and get mixed up on which Rdb is selected.  This SHOVER and SETVER tools is a basic and core requirement for using Multiversion Rdb effectively, and for selecting the particular Rdb version.&lt;BR /&gt;&lt;BR /&gt;You can do a one-line invocation with some parameters specified on the @SYS$SHARE:RDB$SETVER tool (good for use in login-related or in system startup command procedures) or you can let the tool prompt you for the version.  (Details on the SETVER calling syntax are in the DCL procedure comments at the top of the tool.)&lt;BR /&gt;&lt;BR /&gt;Stephen Hoffman&lt;BR /&gt;HoffmanLabs LLC&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Aug 2008 14:13:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/errors-attaching-to-database/m-p/4239742#M90755</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-08-05T14:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Errors attaching to Database</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/errors-attaching-to-database/m-p/4239743#M90756</link>
      <description>ps: if you're not running Rdb MV here, then you'll be moving (and patching the root file) of the database to where you have a compatible version of Rdb, upgrading the database or the local version of Rdb -- and this looks like the DB is older than the running version, which is the better way 'round for this version skew to be -- or you'll be loading and using Rdb MV real soon now.&lt;BR /&gt;&lt;BR /&gt;The SQL and Rdb tools all have version-specific incantations available when you're running the MV variants.  The SETVER stuff sets the version for the default invocation.</description>
      <pubDate>Tue, 05 Aug 2008 14:20:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/errors-attaching-to-database/m-p/4239743#M90756</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-08-05T14:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Errors attaching to Database</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/errors-attaching-to-database/m-p/4239744#M90757</link>
      <description>$ DIRECTORY SYS$SHARE:*SETVER*&lt;BR /&gt;&lt;BR /&gt;Directory SYS$COMMON:[SYSLIB]&lt;BR /&gt;&lt;BR /&gt;DECRDB$SETVER.COM;4 RDB$SETVER.COM;3    RDBVMS_SETVER.COM;4 SQL$SETVER.COM;5&lt;BR /&gt;SQLSRV_SETVER.COM;2&lt;BR /&gt;&lt;BR /&gt;Total of 5 files.&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Aug 2008 17:35:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/errors-attaching-to-database/m-p/4239744#M90757</guid>
      <dc:creator>odwillia</dc:creator>
      <dc:date>2008-08-05T17:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Errors attaching to Database</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/errors-attaching-to-database/m-p/4239745#M90758</link>
      <description>I get this error when using version 6.0. But not with version 7.0.&lt;BR /&gt;SQL&amp;gt; SH VER&lt;BR /&gt;Current version of SQL is: DEC SQL V6.0-1&lt;BR /&gt;SQL&amp;gt; SH TABLE&lt;BR /&gt;%SQL-F-ERRATTDEF, Could not use database file specified by SQL$DATABASE&lt;BR /&gt;-RDB-E-UNAVAILABLE2, Rdb/VMS is not available on your system&lt;BR /&gt;%LIB-E-ACTIMAGE, error activating image $3$DKB100:[SYS0.SYSCOMMON.][SYSLIB]RDMSH&lt;BR /&gt;RP60.EXE;1&lt;BR /&gt;%SYSTEM-W-SYSVERDIF, system version mismatch; please relink&lt;BR /&gt;&lt;BR /&gt;Any idea how I can make this version work?</description>
      <pubDate>Tue, 05 Aug 2008 17:40:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/errors-attaching-to-database/m-p/4239745#M90758</guid>
      <dc:creator>odwillia</dc:creator>
      <dc:date>2008-08-05T17:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Errors attaching to Database</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/errors-attaching-to-database/m-p/4239746#M90759</link>
      <description>I'd suggest some investigation before attempting access to the data. &lt;BR /&gt;&lt;BR /&gt;As for your immediate question:&lt;BR /&gt;&lt;BR /&gt;@SYS$MANAGER:RDB$SETVER.COM&lt;BR /&gt;&lt;BR /&gt;Here's some related material:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://download.oracle.com/docs/html/A90407_01/ig_ch2.htm#1006345" target="_blank"&gt;http://download.oracle.com/docs/html/A90407_01/ig_ch2.htm#1006345&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://download.oracle.com/docs/html/A90407_01/ig_ch3.htm" target="_blank"&gt;http://download.oracle.com/docs/html/A90407_01/ig_ch3.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Aug 2008 16:39:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/errors-attaching-to-database/m-p/4239746#M90759</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-08-11T16:39:53Z</dc:date>
    </item>
  </channel>
</rss>

