BookmarkSubscribeRSS Feed
molla
Fluorite | Level 6

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.

 

 

 

 

 

2 REPLIES 2
PeterClemmensen
Tourmaline | Level 20

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

 

LinusH
Tourmaline | Level 20

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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 2 replies
  • 1094 views
  • 0 likes
  • 3 in conversation