In this chapter, you are presented with a data structure (the array) that is available in
DATAsteps. The array can storea collection of similar type elements. Manipulations
involving these data structuresare provided. A series of examples illustrate the power and
flexibility of arrays. By default, SAS processesdata one recordat a time, forgetting the
values of variables from previous records. (Sorry for anthropomorphizing SAS. I know it
doesn’t really forgetvalues, but it is a useful image, nonetheless.) However, it is often
important to keep the values for processing future records.The RETAINstat ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.