<?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: SAS Format ERROR in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Format-ERROR/m-p/642380#M18791</link>
    <description>&lt;P&gt;You cannot get that error message from that code.&amp;nbsp; In that code ABCD is referencing a dataset in the WORK library and not a format catalog.&lt;/P&gt;
&lt;P&gt;Can you show the lines from the SAS log?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Format catalogs are not transferable across versions or operating systems. But SAS datasets normally are. So if you really do have a SAS dataset with the format definitions you can use PROC FORMAT to create a NEW catalog that will work with your current SAS session.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So to make the catalog MYNAME in the library that the MYLIB libref points to from the dataset name DATASET_NAME you would use this code.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format lib=mylib.myname cntlin=dataset_name ;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 23 Apr 2020 19:14:44 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2020-04-23T19:14:44Z</dc:date>
    <item>
      <title>SAS Format ERROR</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Format-ERROR/m-p/642376#M18790</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting below error while creating the format.&lt;/P&gt;&lt;P&gt;I have imported both the data and format data within the same excel sheet in the window operating system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC FORMAT CNTLIN=abcd;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: File ABCD.FORMATS.CATALOG was created for a different operating system.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 18:57:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Format-ERROR/m-p/642376#M18790</guid>
      <dc:creator>sewa_bal_gmail_com</dc:creator>
      <dc:date>2020-04-23T18:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Format ERROR</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Format-ERROR/m-p/642380#M18791</link>
      <description>&lt;P&gt;You cannot get that error message from that code.&amp;nbsp; In that code ABCD is referencing a dataset in the WORK library and not a format catalog.&lt;/P&gt;
&lt;P&gt;Can you show the lines from the SAS log?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Format catalogs are not transferable across versions or operating systems. But SAS datasets normally are. So if you really do have a SAS dataset with the format definitions you can use PROC FORMAT to create a NEW catalog that will work with your current SAS session.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So to make the catalog MYNAME in the library that the MYLIB libref points to from the dataset name DATASET_NAME you would use this code.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format lib=mylib.myname cntlin=dataset_name ;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Apr 2020 19:14:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Format-ERROR/m-p/642380#M18791</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-04-23T19:14:44Z</dc:date>
    </item>
  </channel>
</rss>

