Browse Prior Art Database

Step-by-Step Programming with Base SAS Software Disclosure Number: IPCOM000243363D
Original Publication Date: 2001-Dec-31
Included in the Prior Art Database: 2015-Sep-19
Document File: 776 page(s) / 4M

Publishing Venue

SAS Institute Inc.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 3% of the total text.

Page 01 of 776

Step-by-Step Programming with Base SAS®Software

Page 02 of 776

The correct bibliographic citation for this manual is as follows: SAS Institute Inc., Step-by-Step Programming with Base SAS® Software, Cary, NC: SAS Institute Inc., 2001.

Step-by-Step Programming with Base SAS® Software

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA.

ISBN 1-58025-791-7
All rights reserved. Produced 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.

U.S. Government Restricted Rights Notice. Use, duplication, or disclosure of this software and related documentation by the U.S. government is subject to the Agreement with SAS Institute and the restrictions set forth in FAR 52.227-19 Commercial Computer Software-Restricted Rights (June 1987).

SAS Institute Inc., SAS Campus Drive, Cary, North Carolina 27513.
1st printing, May 2001
SAS Publishing provides a complete selection of books and electronic products to help customers use SAS software to its fullest potential. For more information about our e-books, CD-ROM, hard copy books, and Web-based training, visit the SAS Publishing Web site at or call 1-800-727-3228.

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.

IBM® and all other International Business Machines Corporation product or service names are registered trademarks or trademarks of International Business Machines Corporation in the USA and other countries.

Oracle® and all other Oracle Corporation product or service names are registered trademarks or trademarks of Oracle Corporation in the USA and other countries.

Other brand and product names are registered trademarks or trademarks of their respective companies.

Page 03 of 776

4 What Is the SAS System? 3


P A R T 1 Introduction to the SAS System 1
Chapter 1

Introduction 3

Components of Base SAS Software 4
Output Produced by the SAS System 8
Ways to Run SAS Programs 11
Running Programs in the SAS Windowing Environment 13 Review of SAS Tools 15
Learning More 16

P A R T 2 Getting Your Data into Shape 17

Chapter 2

4 Introduction to DATA Step Processing 19

Introduction 20
The SAS Data Set: Your Key to the SAS System 20 How the DATA Step Works: A Basic Introduction 26 Supplying Information to Create a SAS Data Set 33 Review of SAS Tools 40
Learning More 41

Chapter 3

4 Starting with Raw Data: The Basics 43

Introduction 44
Examine the Structure of the Raw Data: Factors to Consider 44 Reading Unaligned Data 44
Reading Data That Is Aligned in Columns 47
Reading Data That Requires Special Instructions 50
Reading Unaligned Data with More Flexibility 53
Mixing Styles of Input 55
Review of SAS Tools 58
Learning More 59