BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Xamius32
Calcite | Level 5

I am horrible with arrays, so I know how to basically use them to create or manipulate data, but how would one use them to store all the data from a table and then use the data in a proc step?

So my data:

Venue4/1/124/2/124/3/124/4/12
A3715
B3.49
C15321

And so forth.

I then want to use it in a proc clp to the point where A would be one set of values (one array), B would be another, C would be another and so forth.

I really have no idea how to simply put the data into such  arrays. Seems like all examples are arrays that create data.

1 ACCEPTED SOLUTION
3 REPLIES 3
ballardw
Super User

The Proc CLP documentation tells me that you have to specify the arrays, if used, within the proc. So you don't have to do anything in a datastep. Go directly to Proc CLP.

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

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