BookmarkSubscribeRSS Feed
vijayanand
Obsidian | Level 7

Hi,

 

Recently I had to migrate  some of the SAS CATALOGS (SAS7BCAT) and SAS VIEWS (SAS7VEW) from AIX to Linux server.

 

How do I ensure that these catalogs and sasviews  are same across AIX and Linux.

 

Can I use PROC COPARE to compare teh catalogs and sasviews.?

 

Thanks,

Vijay.

4 REPLIES 4
SASKiwi
PROC Star

PROC COMPARE can't be used with catalogs. What type of entries are in your catalogs?

 

For PROC COMPARE to work on views it would need to have access to both the AIX and linux versions at the same time which I suspect is not possible. What you could do is copy the datasets coming out of the views on AIX over to linux, then COMPARE that with the datasets created from the views on linux.

vijayanand
Obsidian | Level 7

The catalog entries are mostly formats

Ksharp
Super User

Just copy SAS CATALOGS (SAS7BCAT) and SAS VIEWS (SAS7VEW)  into Linux ?

since aix and linux are both like-unix OP.

If you worry about this problem, try PROC CPORT and PROC CIMPORT

ballardw
Super User

@Ksharp wrote:

Just copy SAS CATALOGS (SAS7BCAT) and SAS VIEWS (SAS7VEW)  into Linux ?

since aix and linux are both like-unix OP.

If you worry about this problem, try PROC CPORT and PROC CIMPORT


 

And always make sure that you have the code to recreate the formats, or at least CNTLIN data sets for Proc Format to use to recreate if needed.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1956 views
  • 1 like
  • 4 in conversation