Browse Prior Art Database

The Little SAS Book Revised Second Ed

IP.com Disclosure Number: IPCOM000243323D
Original Publication Date: 2002-Dec-31
Included in the Prior Art Database: 2015-Sep-19
Document File: 328 page(s) / 4M

Publishing Venue

SAS Institute Inc.

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

Page 01 of 328

The

Little SAS® Book

a p r i m e r

R E V I S E D S E C O N D E D I T I O N

Lora D. Delwiche and Susan J. Slaughter



Page 02 of 328

The correct bibliographic citation for this manual is as follows: Delwiche, Lora D., and Susan J. Slaughter. 2002. The Little SAS® Book: A Primer, Revised Second Edition. Cary, NC: SAS Institute Inc.

The Little SAS® Book: A Primer, Revised Second Edition

Copyright © 2002, SAS Institute Inc., Cary, NC, USA.

ISBN 1-59047-113-X

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.

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, July 2002


2nd printing, September 2002

3rd printing, December 2002

4th printing, January 2003

5th printing, April 2003


6th printing, June 2003

Note that text corrections may have been made at each printing.

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, e-learning products, CDs, and hard- copy books, visit the SAS Publishing Web site at support.sas.com/publishing 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.

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


Page 03 of 328

CONTENTS

Acknowledgments ix

Introducing SAS Software x

About This Book xi

Chapter 1 Getting Started Using SAS Software


1.1 The SAS Language 2


1.2 SAS Data Sets 4


1.3 The Two Parts of a SAS Program 6


1.4 The DATA Step's Built-in Loop 8


1.5 Choosing a Mode for Submitting SAS Programs 10


1.6 Windows and Commands in the SAS Windowing Environment 12


1.7 Submitting a Program in the SAS Windowing Environment 14


1.8 Reading the SAS Log 16


1.9 Viewing Your Results in the Output Window 18


1.10 Creating HTML Output 20


1.11 Using SAS System Options 22

Chapter 2 Getting Your Data into the SAS System


2.1 Methods for Getting Your Data into the SAS System 26


2.2 Telling SAS Where to Find Your Raw Data 28


2.3 Reading Raw Data Separated by Spaces 30


2.4 Reading Raw Data Arranged in Columns 32


2.5 Reading Raw Data Not in Standard Format 34


2.6 Selected Informats 36


2.7 Mixing Input Styles 38


2.8 Reading Messy Raw Data 40


2.9 Listing the Contents of a SAS Data Set 42


Page 04 of 328

iv The Little SAS Book


2.10 Temporary versus Permanent...