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?

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore Now →
Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

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