About this document
Merging One-Record Datasets in SAS by Albin Jose is a document available to read on EtoBox.
This document summarizes how to use the "IF _N_=1 then SET" feature in SAS to merge a one-record dataset onto multiple-record datasets. It provides an example code showing how to attach one record from an AVGSALES dataset to every record in a TOTSALES dataset. It also discusses some variations on how this code would work depending on the value of <value> and the number of observations in each dataset.
- Author
- Albin Jose
- Language
- EN