<?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: Getting %CMS-F-BADLIB in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/getting-cms-f-badlib/m-p/3493449#M31870</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Perhaps this old (1993) article helps.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Jan&lt;BR /&gt;&lt;BR /&gt;SOURCE:     Digital Equipment Corporation&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;PROBLEM:&lt;BR /&gt;&lt;BR /&gt;RESERVEing or FETCHing a CMS element generates the following errors:&lt;BR /&gt;&lt;BR /&gt;  %CMS-F-BADLIB, there is something wrong with your CMS library&lt;BR /&gt;  -CMS-F-ILLCONREC, illegal control record in element file&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Issuing a "$ CMS VERIFY/REPAIR" command on the CMS library usually does&lt;BR /&gt;not fix the problem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SOLUTION:&lt;BR /&gt;&lt;BR /&gt;Following are several suggested options one can try to repair the CMS&lt;BR /&gt;library:&lt;BR /&gt;&lt;BR /&gt;1) The first option is to look in the correct CMS subdirectory and see&lt;BR /&gt;   if there are multiple versions of the element data file.&lt;BR /&gt;&lt;BR /&gt;   $ DIRECTORY/SIZE [.CMSLIB...]your_corrupt_element_file.ext;*&lt;BR /&gt;&lt;BR /&gt;   If there are multiple copies of the file, you need to determine&lt;BR /&gt;   which copy is the "good" copy.  Rename the extra copy/copies and&lt;BR /&gt;   try your RESERVE/FETCH command again.  If your CMS operation works,&lt;BR /&gt;   then you can remove the extra files from the CMS library area.&lt;BR /&gt;&lt;BR /&gt;2) If there is only one copy of the element data file or the file size&lt;BR /&gt;   of the element is 0 blocks, your second option is be to restore&lt;BR /&gt;   this file from a recent BACKUP copy of the library into the correct&lt;BR /&gt;   CMS library subdirectory, delete the old, "bad" copy, and run a "$&lt;BR /&gt;   CMS VERIFY/REPAIR" command on the CMS library.&lt;BR /&gt;&lt;BR /&gt;3) It is not normally required that you restore the entire library&lt;BR /&gt;   from backup.  If successful modifications to the element have been&lt;BR /&gt;   made since the last backup, the library control file may be out of&lt;BR /&gt;   sync with the element that is restored from backup.  If this is the&lt;BR /&gt;   case, you will get errors during the verification of this element&lt;BR /&gt;   and will need to restore the entire library from backup to place&lt;BR /&gt;   the control file in sync with the element data files.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ANALYSIS:&lt;BR /&gt;&lt;BR /&gt;This error indicates corruption in the element data file.  It can be&lt;BR /&gt;caused by editing of the element data file (i.e. those files that&lt;BR /&gt;exist in the CMS$xxx subdirectories within the CMS library directory)&lt;BR /&gt;or by a CMS operation being terminated while it is in the process of&lt;BR /&gt;writing out a modified element data file.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 25 Feb 2005 09:18:30 GMT</pubDate>
    <dc:creator>Jan Schollaert</dc:creator>
    <dc:date>2005-02-25T09:18:30Z</dc:date>
    <item>
      <title>Getting %CMS-F-BADLIB</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getting-cms-f-badlib/m-p/3493442#M31863</link>
      <description>Hi. We are trying to run command $CMS FET UP7200.SCO and we are getting:-&lt;BR /&gt;%CMS-F-BADLIB, there is something wrong with your library&lt;BR /&gt;-CMS-F-ILLCONREC, illegal control record in element file.&lt;BR /&gt;The only info we can get on this relates to running a conversion. But we haven't run a conversion. One clue(?). The system this is happening on is/was a cluster consisting of an Alpha and a Vax. We have removed the Vax. However, we have been running these commands on the Alpha for years - so this is probably a pink salmon. Any thoughts? Thanks in Advance. Ken McNulty</description>
      <pubDate>Fri, 25 Feb 2005 06:28:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getting-cms-f-badlib/m-p/3493442#M31863</guid>
      <dc:creator>Ken McNulty</dc:creator>
      <dc:date>2005-02-25T06:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting %CMS-F-BADLIB</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getting-cms-f-badlib/m-p/3493443#M31864</link>
      <description>have you tried the CMS VERIFY command? - I think it does repairs too.</description>
      <pubDate>Fri, 25 Feb 2005 06:35:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getting-cms-f-badlib/m-p/3493443#M31864</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-02-25T06:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Getting %CMS-F-BADLIB</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getting-cms-f-badlib/m-p/3493444#M31865</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I think that CMS VERIFY/REPAIR or CMS VERIFY/RECOVER might help.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Kris (aka Qkcl)&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Feb 2005 07:14:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getting-cms-f-badlib/m-p/3493444#M31865</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2005-02-25T07:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Getting %CMS-F-BADLIB</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getting-cms-f-badlib/m-p/3493445#M31866</link>
      <description>Hi, Thanks for that, unfortunately it hasn't cleared the problem.&lt;BR /&gt;Ken McNulty</description>
      <pubDate>Fri, 25 Feb 2005 08:43:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getting-cms-f-badlib/m-p/3493445#M31866</guid>
      <dc:creator>Ken McNulty</dc:creator>
      <dc:date>2005-02-25T08:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Getting %CMS-F-BADLIB</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getting-cms-f-badlib/m-p/3493446#M31867</link>
      <description>Ken,&lt;BR /&gt;&lt;BR /&gt;Is it possible that the VAX and Alpha had different&lt;BR /&gt;versions of CMS and you only accessed certain libraries&lt;BR /&gt;from the VAX and other libraries from the Alpha?&lt;BR /&gt;What version of CMS is/was installed?&lt;BR /&gt;Have you tried the CMS CONVERT LIBRARY command?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Feb 2005 08:54:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getting-cms-f-badlib/m-p/3493446#M31867</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2005-02-25T08:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Getting %CMS-F-BADLIB</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getting-cms-f-badlib/m-p/3493447#M31868</link>
      <description>Ken,&lt;BR /&gt;&lt;BR /&gt;Another quick question.  Does the CMS VERFIY command&lt;BR /&gt;indicate *any* problem at all with the library?&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Feb 2005 08:57:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getting-cms-f-badlib/m-p/3493447#M31868</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2005-02-25T08:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting %CMS-F-BADLIB</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getting-cms-f-badlib/m-p/3493448#M31869</link>
      <description>Hi Dave. It's very possible that there were different libraries on the VAX and Alpha. 'Problem is, no-one knows/remembers. We used to keep different program libraries/executables for different platforms - Vax and Alpha - hence the heterogenous cluster. However, the Vaxes (I refuse to say Vaxen) have long since passed into history, we were just tidying up the last few support remnants. We have been  totally Alpha based for 2 or 3 years. That's no to say there isn't something lurking deep in the bowels of some code or DCL somewhere. The programmer who is dealing with this has just gone off for the weekend. He says that the VERIFY says everything's OK and he'll try the CONVERT on Monday.&lt;BR /&gt;Cheers,&lt;BR /&gt;Ken McNulty</description>
      <pubDate>Fri, 25 Feb 2005 09:17:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getting-cms-f-badlib/m-p/3493448#M31869</guid>
      <dc:creator>Ken McNulty</dc:creator>
      <dc:date>2005-02-25T09:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Getting %CMS-F-BADLIB</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getting-cms-f-badlib/m-p/3493449#M31870</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Perhaps this old (1993) article helps.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Jan&lt;BR /&gt;&lt;BR /&gt;SOURCE:     Digital Equipment Corporation&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;PROBLEM:&lt;BR /&gt;&lt;BR /&gt;RESERVEing or FETCHing a CMS element generates the following errors:&lt;BR /&gt;&lt;BR /&gt;  %CMS-F-BADLIB, there is something wrong with your CMS library&lt;BR /&gt;  -CMS-F-ILLCONREC, illegal control record in element file&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Issuing a "$ CMS VERIFY/REPAIR" command on the CMS library usually does&lt;BR /&gt;not fix the problem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SOLUTION:&lt;BR /&gt;&lt;BR /&gt;Following are several suggested options one can try to repair the CMS&lt;BR /&gt;library:&lt;BR /&gt;&lt;BR /&gt;1) The first option is to look in the correct CMS subdirectory and see&lt;BR /&gt;   if there are multiple versions of the element data file.&lt;BR /&gt;&lt;BR /&gt;   $ DIRECTORY/SIZE [.CMSLIB...]your_corrupt_element_file.ext;*&lt;BR /&gt;&lt;BR /&gt;   If there are multiple copies of the file, you need to determine&lt;BR /&gt;   which copy is the "good" copy.  Rename the extra copy/copies and&lt;BR /&gt;   try your RESERVE/FETCH command again.  If your CMS operation works,&lt;BR /&gt;   then you can remove the extra files from the CMS library area.&lt;BR /&gt;&lt;BR /&gt;2) If there is only one copy of the element data file or the file size&lt;BR /&gt;   of the element is 0 blocks, your second option is be to restore&lt;BR /&gt;   this file from a recent BACKUP copy of the library into the correct&lt;BR /&gt;   CMS library subdirectory, delete the old, "bad" copy, and run a "$&lt;BR /&gt;   CMS VERIFY/REPAIR" command on the CMS library.&lt;BR /&gt;&lt;BR /&gt;3) It is not normally required that you restore the entire library&lt;BR /&gt;   from backup.  If successful modifications to the element have been&lt;BR /&gt;   made since the last backup, the library control file may be out of&lt;BR /&gt;   sync with the element that is restored from backup.  If this is the&lt;BR /&gt;   case, you will get errors during the verification of this element&lt;BR /&gt;   and will need to restore the entire library from backup to place&lt;BR /&gt;   the control file in sync with the element data files.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ANALYSIS:&lt;BR /&gt;&lt;BR /&gt;This error indicates corruption in the element data file.  It can be&lt;BR /&gt;caused by editing of the element data file (i.e. those files that&lt;BR /&gt;exist in the CMS$xxx subdirectories within the CMS library directory)&lt;BR /&gt;or by a CMS operation being terminated while it is in the process of&lt;BR /&gt;writing out a modified element data file.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Feb 2005 09:18:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getting-cms-f-badlib/m-p/3493449#M31870</guid>
      <dc:creator>Jan Schollaert</dc:creator>
      <dc:date>2005-02-25T09:18:30Z</dc:date>
    </item>
  </channel>
</rss>

