DATA Step, Macro, Functions and more

Arrays

Reply
Contributor
Posts: 65

Arrays

Hii,

 

What are the situations where we use ARRAYS in SAS in real time scenarious ,Cud any one please provide the sample data for practice,give some scenarious to be solved using arrays.

 

 

 

 

 

PROC Star
Posts: 746

Re: Arrays

Check out the Common Tasks and Examples Using Arrays on page 6 in this article

 

https://support.sas.com/resources/papers/97529_Using_Arrays_in_SAS_Programming.pdf

 

Super User
Posts: 5,429

Re: Arrays

I don't use them that often, but for transposing data it's valid use case. Especially when PROC TRANSPOSE isn't "enough".

Data never sleeps
Ask a Question
Discussion stats
  • 2 replies
  • 132 views
  • 0 likes
  • 3 in conversation