BookmarkSubscribeRSS Feed
Shyamkumar
Calcite | Level 5

HI All,

 

Could you help out me pulling SAScatlog file to SAS dataeset.

 

Shyamkumar_0-1604591588597.png

 

2 REPLIES 2
ballardw
Super User

Catalogs are generally not going to make anything resembling a "data set".

 

The first step to what might be possible is to assign a library to where that file is located. Then try to open the catalog. Catalogs are specially formatted files and are SAS version sensitive. So you may not be able to even open that catalog.

 

What would expect to do with the "dataset" created from that catalog? From the name it almost certainly contains macro definitions and depending on options used when the macros were created may not be readable in any form.

Kurt_Bremser
Super User

This catalog contains compiled macros. Have a look at the DICTIONARY.MACROS table in PROC SQL (or the associated view SASHELP.VMACRO outside SQL).

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
  • 2 replies
  • 773 views
  • 0 likes
  • 3 in conversation