BookmarkSubscribeRSS Feed
gyambqt
Obsidian | Level 7

Hello experts,

 

Is there a way to select all Varchar variables in CAS table using datastep in Viya?

 

initially I thought to use array: test[*]  _varchar_ but it didn't work.

1 REPLY 1
japelin
Rhodochrosite | Level 12

As far as I can tell from the documentation, even in SAS Viya, the only variable lists defined seem to be _ALL_, _NUMERIC_, and _CHARACTER_.
Have you tried _CHARACTER_ yet?

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

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 766 views
  • 0 likes
  • 2 in conversation