BookmarkSubscribeRSS Feed
claudiodejesusa
Obsidian | Level 7

Hi everybody,

 

I want to know if it is possible to create hdat format file without take the step of loading in memory the dataset first and then save as hdat. I'm a developer on SAS Viya 3.5 Linux.

 

Thanks all,

Claudio

Claudio
1 REPLY 1
SASJedi
Ammonite | Level 13

The only way I know of writing a SASHDAT file format in Viya is to save a CAS table as SASHDAT. You're going to have to load the original data table somehow - either with a DATA step or PROC COPY or the like, so why not just load it into CAS and save it out as SASHDAT? Should be pretty efficient... 

Check out my Jedi SAS Tricks for SAS Users

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
  • 1 reply
  • 907 views
  • 0 likes
  • 2 in conversation