<?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 Formats are not loading because of different operating system. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Formats-are-not-loading-because-of-different-operating-system/m-p/811458#M320066</link>
    <description>&lt;P&gt;I am working on a dataset that was created like 14-15 years back. I was trying run the program just to copy the dataset. However I am having the following troubles&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="batang,apple gothic"&gt;2. &lt;FONT&gt;I tried the following code, I can see the formats folder in the path folder and as well as sas explorer&amp;nbsp;in libref&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="batang, apple gothic"&gt;library with red dot&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASuserlot_0-1651673486164.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71136i8EF416BE7A92D708/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASuserlot_0-1651673486164.png" alt="SASuserlot_0-1651673486164.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME libref 'c\descktop\sdk';
PROC FORMAT LIB=libref.formats;
OPTIONS FMTSEARCH=(libref.formats);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;FONT face="batang,apple gothic" color="#0000FF"&gt;When I run the above code I am getting&amp;nbsp; Error:&amp;nbsp;&lt;FONT color="#FF0000"&gt;ERROR: Write access to member LIBREF.FORMATS.CATALOG is denied.&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data days;
set lbref.days1;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;When I run the dataset code I am getting this Error.&amp;nbsp;&lt;FONT color="#FF0000"&gt;ERROR: File LIBREF.FORMATS.CATALOG was created for a different operating system.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;Without format code. In the log file I am getting following&lt;/FONT&gt; note:&amp;nbsp;&lt;FONT face="batang,apple gothic" color="#0000FF"&gt;Format VISIT was not found or could not be loaded&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 May 2022 14:16:26 GMT</pubDate>
    <dc:creator>SASuserlot</dc:creator>
    <dc:date>2022-05-04T14:16:26Z</dc:date>
    <item>
      <title>Formats are not loading because of different operating system.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Formats-are-not-loading-because-of-different-operating-system/m-p/811458#M320066</link>
      <description>&lt;P&gt;I am working on a dataset that was created like 14-15 years back. I was trying run the program just to copy the dataset. However I am having the following troubles&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="batang,apple gothic"&gt;2. &lt;FONT&gt;I tried the following code, I can see the formats folder in the path folder and as well as sas explorer&amp;nbsp;in libref&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="batang, apple gothic"&gt;library with red dot&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASuserlot_0-1651673486164.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71136i8EF416BE7A92D708/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASuserlot_0-1651673486164.png" alt="SASuserlot_0-1651673486164.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME libref 'c\descktop\sdk';
PROC FORMAT LIB=libref.formats;
OPTIONS FMTSEARCH=(libref.formats);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;FONT face="batang,apple gothic" color="#0000FF"&gt;When I run the above code I am getting&amp;nbsp; Error:&amp;nbsp;&lt;FONT color="#FF0000"&gt;ERROR: Write access to member LIBREF.FORMATS.CATALOG is denied.&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data days;
set lbref.days1;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;When I run the dataset code I am getting this Error.&amp;nbsp;&lt;FONT color="#FF0000"&gt;ERROR: File LIBREF.FORMATS.CATALOG was created for a different operating system.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;Without format code. In the log file I am getting following&lt;/FONT&gt; note:&amp;nbsp;&lt;FONT face="batang,apple gothic" color="#0000FF"&gt;Format VISIT was not found or could not be loaded&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 14:16:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Formats-are-not-loading-because-of-different-operating-system/m-p/811458#M320066</guid>
      <dc:creator>SASuserlot</dc:creator>
      <dc:date>2022-05-04T14:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Formats are not loading because of different operating system.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Formats-are-not-loading-because-of-different-operating-system/m-p/811480#M320080</link>
      <description>&lt;P&gt;You can use the NOFMTERR option to suppress the errors but you will not be able to see the formatted variables. Format catalogs do not convert across OS systems so you will need to recreate the formats. If you have the code or CNTLOUT data sets this should be doable otherwise you may be unable to recreate the catalogue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stats.oarc.ucla.edu/sas/faq/how-do-i-read-a-sas-data-file-when-i-dont-have-its-format-library/" target="_blank"&gt;https://stats.oarc.ucla.edu/sas/faq/how-do-i-read-a-sas-data-file-when-i-dont-have-its-format-library/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/kb/7/311.html" target="_blank"&gt;https://support.sas.com/kb/7/311.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lesysoptsref/p1djbl02hfnoe3n0zh2i3uu2aqrf.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lesysoptsref/p1djbl02hfnoe3n0zh2i3uu2aqrf.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 15:13:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Formats-are-not-loading-because-of-different-operating-system/m-p/811480#M320080</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-05-04T15:13:28Z</dc:date>
    </item>
  </channel>
</rss>

