SAS Programming 1: Essentials: Course Notes
SAS Programming 1: Essentials: Course Notes
SAS Programming 1: Essentials: Course Notes
Essentials
Course Notes
SAS® Programming 1: Essentials Course Notes was developed by Charlot Bennett, Michele Ensor, and
Kathy Passarella. Additional contributions were made by Davetta Dunlap, Susan Farmer, Ted Meleky,
Linda Mitterling, and Theresa Stemler. Editing and production support was provided by the Curriculum
Development and Support Department.
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of
SAS Institute Inc. in the USA and other countries. ® indicates USA registration. Other brand and product
names are trademarks of their respective companies.
Copyright © 2015 SAS Institute Inc. Cary, NC, USA. All rights reserved. Printed in the United States of
America. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in
any form or by any means, electronic, mechanical, photocopying, or otherwise, without the prior written
permission of the publisher, SAS Institute Inc.
Book code E2795, course code LWPG1/PG1, prepared date 3/20/2015. LWPG1_001
ISBN 978-1-62959-735-5
For Your Information iii
Table of Contents
Prerequisites ................................................................................................................................. x
This Table of Contents may not exactly matched with chapter materials you are provided.
You are not provided with Some Solutions or Appendix directly.
The solutions will be released only when your submission of weekly activity answer
sheet is done and marked off.
For Your Information ix
Course Description
This course is for users who want to learn how to write SAS programs. It is the entry point to learning
SAS programming and is a prerequisite to many other SAS courses. If you do not plan to write SAS
programs and you prefer a point-and-click interface, you should attend the SAS® Enterprise Guide® 1:
Querying and Reporting course.
To learn more…
For information about other courses in the curriculum, contact the SAS
Education Division at 1-800-333-7660, or send e-mail to training@sas.com.
You can also find this information on the web at http://support.sas.com/training/
as well as in the Training Course Catalog.
For a list of other SAS books that relate to the topics covered in this
course notes, USA customers can contact the SAS Publishing Department
at 1-800-727-3228 or send e-mail to sasbook@sas.com. Customers outside
the USA, please contact your local SAS office.
Also, see the SAS Bookstore on the web at http://support.sas.com/publishing/
for a complete list of books and a convenient order form.
x For Your Information
Prerequisites
Before attending this course, you should have experience using computer software. Specifically, you
should be able to
• understand file structures and system commands on your operating systems
• access data files on your operating systems.
No prior SAS experience is needed. If you do not feel comfortable with the prerequisites or are new to
programming and think that the pace of this course might be too demanding, you can take the SAS®
Programming Introduction: Basic Concepts course before attending this course. SAS® Programming
Introduction: Basic Concepts is designed to introduce you to computer programming and presents a
portion of the SAS® Programming 1: Essentials material at a slower pace.