*Copyright @ www.statschoice.com;


/********************************************************************************

What is the word meaning of 'explicit'?

********************************************************************************/

/********************************************************************************

  1. stated clearly and in detail, leaving no room for confusion or doubt.

********************************************************************************/

/********************************************************************************

When does a SAS data step write an observation to the output dataset?

********************************************************************************/

/********************************************************************************

********************************************************************************/

/********************************************************************************

What does an (explicit) output statement do?

********************************************************************************/

/********************************************************************************

********************************************************************************/

/********************************************************************************

Different step boundary scenarios

********************************************************************************/

/********************************************************************************

Run statement as step boundary

********************************************************************************/

/********************************************************************************

Proc statement as step boundary for the data step

********************************************************************************/

/********************************************************************************

Data statement as step boundary for the first data step

********************************************************************************/

/********************************************************************************

********************************************************************************/

/********************************************************************************

What happens when a step boundary is not present for a data step

********************************************************************************/

/********************************************************************************

********************************************************************************/

/********************************************************************************

********************************************************************************/

Data Step Running Screenshot

/********************************************************************************

********************************************************************************/

Proc Step Running Screenshot

/********************************************************************************

Replacing implicit output instruction with explicit output statement

********************************************************************************/

/********************************************************************************

Basics of explicit output statement

********************************************************************************/

/********************************************************************************

********************************************************************************/






/********************************************************************************

Multiple explicit output statements

********************************************************************************/

/********************************************************************************

********************************************************************************/






/********************************************************************************

Mentioning the name of the output dataset on the output statement

********************************************************************************/

/********************************************************************************

********************************************************************************/






/********************************************************************************

Creating multiple datasets in a single data step

********************************************************************************/

/********************************************************************************

********************************************************************************/






/********************************************************************************

Test your understanding: How many number of observations will be present in each output dataset?

********************************************************************************/

/********************************************************************************

********************************************************************************/

/********************************************************************************

Using Explicit Output Statement to Create Data Subsets

********************************************************************************/

/********************************************************************************

********************************************************************************/






/********************************************************************************

Creating additional rows for counting 'Total' observations

********************************************************************************/

/********************************************************************************

********************************************************************************/






/********************************************************************************

Lengthy approach for the above task

********************************************************************************/

/********************************************************************************

********************************************************************************/