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:
| Venue | 4/1/12 | 4/2/12 | 4/3/12 | 4/4/12 |
|---|---|---|---|---|
| A | 3 | 7 | 1 | 5 |
| B | 3 | . | 4 | 9 |
| C | 15 | 3 | 2 | 1 |
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.
Are you going off the SAS/OR(R) 9.3 User's Guide: Constraint Programming
?
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.
Are you going off the SAS/OR(R) 9.3 User's Guide: Constraint Programming
?
The 9.2.3 version.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.