*Copyright @ www.mycsg.in;


Pre-requisite

What is the IN= dataset option?

Syntax of IN= dataset option

Create some example datasets

Using IN= to identify the source dataset of each observation

Create a source flag when combining males and females datasets

Create a source flag when combining sedan, sports, and othercars datasets

Using IN= to filter observations after appending

Combine preteen and teen datasets but keep only observations from teen

Combine males and females but keep only males aged 13 or older

Clinical SAS application of IN= dataset option

Simulating a prior medications and concomitant medications combine