Several SAS PROCs have an OUTPUT statement. But here we discuss the OUTPUT statement in a data step. It is used to write the current observation (the contents of the Program Data Vector) to a data set. It can be used in a variety of ways to generate data, subset a data set, rearrange a data set, and for other purposes. We start by just getting to know its basic syntax and behavior.
This video covers essential content for the course.