*Copyright @ www.mycsg.in;


What is BY group processing in SAS

Create example datasets for learning BY group processing

Why sorting is usually required before a BY statement

Example of the required sort step before BY group processing

Syntax only example of an incorrect approach

Use BY group processing in a procedure

Use multiple variables on the BY statement

Understand FIRST and LAST temporary variables in a DATA step

Create an output dataset that stores the FIRST and LAST flags

Build a group level summary in a DATA step using RETAIN and LAST

Key points to remember