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
Output 21.18 Results of Updating a Master Data Set by Adding Observations
In the example, the DATA step updates the master data set, Inventory, based on values
in the transaction data set, Add_Inventory. The program uses the OUTPUT statement to
add observations 2, 3, and 5 to the master data set. It also uses the REPLACE statement
to update observations 1, 4, and 6 with new values for InStock. The _IORC_ automatic
variable is used for error checking.
For more information about _IORC_ and error checking, see “Error Checking When
Using Indexes to Randomly Access or Update Data” on page 483. For information
about using the SELECT statement conditionally, ...
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