Skip to Main Content
SAS 9.4 Language Reference, Second Edition
book

SAS 9.4 Language Reference, Second Edition

by SAS Institute
December 2013
Intermediate to advanced content levelIntermediate to advanced
824 pages
24h 21m
English
SAS Institute
Content preview from SAS 9.4 Language Reference, Second Edition
Figure 21.5 Concatenating Two Data Sets
COMBINED
1991
1992
1993
1994
1995
1991
1992
1993
1994
1995
Year
DATA2
1991
1992
1993
1994
1995
Year
DATA1
Year
1991
1992
1993
1994
1995
dat a c o mb i n e d;
s et da t a 1 dat a 2;
r un ;
+
=
Interleaving
The following figure shows the results of interleaving two SAS data sets. Interleaving
intersperses observations from two or more data sets, based on one or more common
variables. Data set Combined shows the result.
Figure 21.6 Interleaving Two Data Sets
COMBINED
Year
DATA2
1992
1993
1994
1995
1996
Year
DATA1
Year
1991
1992
1993
1994
1995
dat a c o mb i n e d;
s et da t a 1 dat a 2;
b y Ye a r ;
r un ;
+
=
1991
1992
1992
1993
1993
1994
1994
1995 ...
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.
Start your free trial

You might also like

What's New in SAS 9.4

What's New in SAS 9.4

SAS Institute
Fiber Optic Cabling, 2nd Edition

Fiber Optic Cabling, 2nd Edition

Barry Elliott, Mike Gilmore

Publisher Resources

ISBN: 9781629590004