Introduction to the Basics-Avoiding Some Pitfalls WARNING: SOME OF THE EXAMPLES BELOW SHOW YOU THE WRONG WAY TO DO SOMETHING. PLEASE READ THE ENTIRE SECTION AND NOT JUST THE CODE!!!! PITFALL EXAMPLE 1 KNOW YOUR DATA

Deb Cassidy
unpublished
Have you sought help from an experienced user or past SUGI proceedings only to have your job stop running or give you incorrect results after you added the suggestion? For example, using keep/drop options or reordering your IF/THEN/ELSE statements can improve efficiency. But if they are used "incorrectly", you can have problems. To add to the confusion, statements that are "incorrect" for one program may be fine for another program. This hands-on workshop will walk you through some basic
more » ... nts and options that everyone should know. It will focus on showing you the pitfalls that new users (and some experienced users) may encounter and help you to understand how to avoid them. Topics to be covered will include:-keep/drop statements and options,-IF/THEN, IF/THEN/ELSE, and SELECT statements,-sum function and sum statement,-creating new variables. Other topics will be covered in the workshop as time permits. Some of them are included in this paper.
fatcat:gtndshdguzbirbuf36l3fhd4sm