Using arrays to store values and use them in proc step

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 82
Accepted Solution

Using arrays to store values and use them in proc step

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.


Accepted Solutions
Solution
‎01-23-2013 03:18 PM
Frequent Contributor
Posts: 82

Re: Using arrays to store values and use them in proc step


All Replies
Super User
Posts: 11,343

Re: Using arrays to store values and use them in proc step

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.

Solution
‎01-23-2013 03:18 PM
Frequent Contributor
Posts: 82

Re: Using arrays to store values and use them in proc step

Super User
Posts: 11,343

Re: Using arrays to store values and use them in proc step

The 9.2.3 version.

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

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