Finding Logic Errors in Your Program

Purpose

The DATA step debugger, which consists of windows and a group of commands, helps you to interactively identify logic errors, and sometimes data errors, in your SAS programs. Unlike syntax errors, logic errors do not stop a program from running. Instead, logic errors cause the program to produce unexpected results. For example, if you create a DATA step that keeps track of inventory, and your program shows that you are out of stock but your warehouse is full, you have a logic error in your program.

Prerequisites

Before continuing with this session, you should understand the concepts that are presented in the following sections:

Get Step-by-Step Programming with Base SAS 9.4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.