The use of multiple set statements in a data step is little known and often misunderstood. This is because two or more set statements in a data step can lead to loss of data and incorrect results. However, when used with additional code elements, multiple set statements prove to be powerful in combining and aggregating complex data effectively. This paper explains how multiple set statements work and then describes several applications, including one involving allocation of healthcare revenues.
conference:
Paper Type:
Paper