Converting 32-bit fsedit catalogs and AF catalogs to 64-bit

Accepted Solution Solved
Reply
New Contributor
Posts: 4
Accepted Solution

Converting 32-bit fsedit catalogs and AF catalogs to 64-bit

I'm using v9.4 on a 32-bit Windows machine and I have many fsedit screens and a few AF catalogs.  We are upgrading our computers to 64 bit and these catalogs will not work in the 64-bit operating system, even though it is still SAS v9.4. The catalogs are in a library named "Fish" and I attempted to create a transport file using the CPORT procedure:

 

        filename trans 'c:\fish\first_try.cpt';                                                
                                                                                                                                        
        proc cport lib=transfer file=trans memtype=catalog;                                                                                     
        run;                                                                                                                                    
     

It seemed to work correctly.  The log looked good and it created a large file in the FISH directory.

 

I transfered this file (first_try.cpt) to the FISH directory on a 64-bit operating system and used the CIMPORT procedure to import:

 

     filename trans 'c:\fish\first_try.cpt';

     proc cimport infile=trans lib=fish;

     run;

 

However, this is where it seems to break down.  I get the message: "File Fish.XXXXX.CATALOG was created for a different operating system. Unable to open catalog Fish.XXXXX"

 

Can anyone advise me on the proper way to convert these types of catalogs from 32-bit to 64-bit?

 

Thanks,

Tim

 


Accepted Solutions
Solution
‎06-23-2017 10:33 AM
Super User
Super User
Posts: 6,845

Re: Converting 32-bit fsedit catalogs and AF catalogs to 64-bit

Your error message makes it look like that you also copied the 32 bit catalog and not just the transport file generated by PROC CPORT.  Delete or rename to catalog file that the error refers to and try the PROC CIMPORT again.

 

Also make sure to move the transport file as a binary file.  Sometimes SAS transport files look like text files to FTP/SFTP tools that try to autodetect if the file is ASCII and BINARY and they can cause the file to be corrupted.  But if that had happened you should have received a different error message.

View solution in original post


All Replies
Super User
Super User
Posts: 7,720

Re: Converting 32-bit fsedit catalogs and AF catalogs to 64-bit

There is no upgrade path from 32bit binary files to 64bit binary files.  You need to re-compile from source.  This is a very good examplpe of why not to rely on proprietary file formats, we have had exactly the same issues with macro libraries and format catalogs.  

New Contributor
Posts: 4

Re: Converting 32-bit fsedit catalogs and AF catalogs to 64-bit

Does "recompile from source" mean that we have to start totally from scratch on the 64 bit machines?

Super User
Super User
Posts: 7,720

Re: Converting 32-bit fsedit catalogs and AF catalogs to 64-bit

In terms of compiled macro catalogs, which is what we had the most of, it would have been re-compiling the source text files into a new catalog on the 64bit system.  FSEDIT and AF catalogs, well the AF catalogs you can pull the source code out and then re-compile.  However both those are really old, suprised they are still being used.  Perhaps a good time to look at migrating to a new system either SAS or thiird party.  Can't really help any further as haven't used AF for years.

SAS Super FREQ
Posts: 706

Re: Converting 32-bit fsedit catalogs and AF catalogs to 64-bit

Have a look here http://support.sas.com/kb/38/339.html

 

You need to create the transport file using SAS9.4 32bit version

New Contributor
Posts: 4

Re: Converting 32-bit fsedit catalogs and AF catalogs to 64-bit

Yes, these are the instructions I was following.  I also tried the Proc Migrate with the same result. Thanks.

Solution
‎06-23-2017 10:33 AM
Super User
Super User
Posts: 6,845

Re: Converting 32-bit fsedit catalogs and AF catalogs to 64-bit

Your error message makes it look like that you also copied the 32 bit catalog and not just the transport file generated by PROC CPORT.  Delete or rename to catalog file that the error refers to and try the PROC CIMPORT again.

 

Also make sure to move the transport file as a binary file.  Sometimes SAS transport files look like text files to FTP/SFTP tools that try to autodetect if the file is ASCII and BINARY and they can cause the file to be corrupted.  But if that had happened you should have received a different error message.

New Contributor
Posts: 4

Re: Converting 32-bit fsedit catalogs and AF catalogs to 64-bit

Ok.  I think it worked and my fsedit screens and AF catalog are now working in 64 bit.  I created a new library that was empty then CIMPORTed the transfer file into it. Thanks!

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 7 replies
  • 142 views
  • 0 likes
  • 4 in conversation