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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 464 views
  • 0 likes
  • 2 in conversation