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.

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