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?

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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