BookmarkSubscribeRSS Feed
Reeza
Super User

What is a temporary array and how does it differ from permanent arrays?

 

 

2 REPLIES 2
ChrisHemedinger
Community Manager

Reeza, you're supposed to use this "preview" period to answer questions, not ask them!

 

Are you asking about these within the scope of DS2? Here's a simple comparison.

 

Temporary Array Variable Array
set of temporary data elements set of references to variables in the PDV
created with a DECLARE statement created with a VARARRAY statement
may be declared in local or global scope must be declared in global scope
similar to arrays seen in other languages similar to arrays of pointers/references seen in other languages
in DATA step, created with ARRAY statement with _TEMPORARY_ argument in DATA step, created with ARRAY statement

 

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
Reeza
Super User

I was testing the ask a question interface. I ran into problems when posting but I don't recall what it was anymore 

Spoiler
Smiley Sad

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
  • 2 replies
  • 908 views
  • 1 like
  • 2 in conversation