<?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 conversion catalog from 32 bit to 64 bit in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/conversion-catalog-from-32-bit-to-64-bit/m-p/598275#M76269</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a SAS catalog developed many years ago in 32-bit system. It is not read in 64-bit SAS, unfortunately. I’ve found some workaround: firstly, convert it into cport file in 32-bit SAS and then import back in 64-bit SAS as shown in following codes&lt;/P&gt;&lt;P&gt;However, I’m not able to find any 32-bit SAS env. to apply this workaround. Is there any other workaround you can suggest? or Can I kindly request from you to run below code in 32-bit SAS if you have any chance?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your helps would be more than appriciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*32-bit convert to cport file*/

libname my32 'c:\path-to-library'; /* path where Formats.sas7bcat exists */

filename trans 'c:\path-to-library\filename.cpt';&amp;nbsp; /* transport file you are creating */



proc cport lib=my32 file=trans memtype=catalog;

&amp;nbsp;&amp;nbsp; select formats;

run;



/*64-bit import from cport file*/

libname my64 'path-to-newlib';&amp;nbsp; /* path to store the new Formats.sas7bcat file */

filename trans 'c:\path-to-library\filename.cpt';&amp;nbsp; /* same as in Step 1 above */



proc cimport infile=trans lib=my64;

run;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Oct 2019 22:07:13 GMT</pubDate>
    <dc:creator>emitral</dc:creator>
    <dc:date>2019-10-21T22:07:13Z</dc:date>
    <item>
      <title>conversion catalog from 32 bit to 64 bit</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/conversion-catalog-from-32-bit-to-64-bit/m-p/598275#M76269</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a SAS catalog developed many years ago in 32-bit system. It is not read in 64-bit SAS, unfortunately. I’ve found some workaround: firstly, convert it into cport file in 32-bit SAS and then import back in 64-bit SAS as shown in following codes&lt;/P&gt;&lt;P&gt;However, I’m not able to find any 32-bit SAS env. to apply this workaround. Is there any other workaround you can suggest? or Can I kindly request from you to run below code in 32-bit SAS if you have any chance?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your helps would be more than appriciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*32-bit convert to cport file*/

libname my32 'c:\path-to-library'; /* path where Formats.sas7bcat exists */

filename trans 'c:\path-to-library\filename.cpt';&amp;nbsp; /* transport file you are creating */



proc cport lib=my32 file=trans memtype=catalog;

&amp;nbsp;&amp;nbsp; select formats;

run;



/*64-bit import from cport file*/

libname my64 'path-to-newlib';&amp;nbsp; /* path to store the new Formats.sas7bcat file */

filename trans 'c:\path-to-library\filename.cpt';&amp;nbsp; /* same as in Step 1 above */



proc cimport infile=trans lib=my64;

run;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 22:07:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/conversion-catalog-from-32-bit-to-64-bit/m-p/598275#M76269</guid>
      <dc:creator>emitral</dc:creator>
      <dc:date>2019-10-21T22:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: conversion catalog from 32 bit to 64 bit</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/conversion-catalog-from-32-bit-to-64-bit/m-p/598278#M76270</link>
      <description>&lt;P&gt;Unfortunately not much option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might try contacting SAS tech support to see if they might do the export from a 32 bit system. Or someone on the forum might volunteer. Without your actual catalog running that code won't do much. If you intended to attach the catalog it didn't take and I believe the forum is a bit picky about the file formats you can attach.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Catalogs are not very portable so you should make sure that you have the code used to create them. With formats I would recommend using the CNTLOUT format when creating or updating your formats to a data set in the same library. Data sets tend to be a tad more tolerant and you can rebuild the format catalog using the CNTLIN option.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 22:24:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/conversion-catalog-from-32-bit-to-64-bit/m-p/598278#M76270</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-10-21T22:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: conversion catalog from 32 bit to 64 bit</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/conversion-catalog-from-32-bit-to-64-bit/m-p/598337#M76272</link>
      <description>&lt;P&gt;Maxims 26 &amp;amp; 27.&lt;/P&gt;
&lt;P&gt;Always have the raw textual sources available, never rely on binary files for long-term storage of codes and code elements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS technical support can come to the rescue here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are in search of code stored as source entries in the catalog file, you might even find it with a good text editing tool like notepad++, but it is tedious work.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 08:25:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/conversion-catalog-from-32-bit-to-64-bit/m-p/598337#M76272</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-10-22T08:25:00Z</dc:date>
    </item>
  </channel>
</rss>

