Browse Prior Art Database

SAS 9.2 Language Reference Concepts

IP.com Disclosure Number: IPCOM000243375D
Original Publication Date: 2009-Dec-31
Included in the Prior Art Database: 2015-Sep-19
Document File: 668 page(s) / 7M

Publishing Venue

SAS Institute Inc.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 2% of the total text.

Page 01 of 668

SAS® 9.2 Language Reference

Concepts

SAS® Documentation



Page 02 of 668

The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2009. SAS 9.2 ® Language Reference: Concepts. Cary, NC: SAS Institute Inc.

SAS 9.2® Language Reference: Concepts

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


ISBN 978-1-59994-590-3
All rights reserved. Produced in the United States of America.

For a hard-copy book: 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.

For a Web download or e-book: Your use of this publication shall be governed by the terms established by the vendor at the time you acquire this publication.

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, February 2009
1st electronic book, March 2009
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 registered trademarks or trademarks of their respective companies.


Page 03 of 668


4 Essential Concepts of Base SAS Software 3

What Is SAS? 3


Overview of Base SAS Software 4
Components of the SAS Language 4
Ways to Run Your SAS Session 7
Customizing Your SAS Session 9
Conceptual Information about Base SAS Software 10

Chapter 2

4 SAS Processing 13

Definition of SAS Processing 13
Types of Input to a SAS Program 14 The DATA Step 15
The PROC Step 16

Chapter 3

      4 Rules for Words and Names in the SAS Language 17 Words in the SAS Language 17
Names in the SAS Language 20

Chapter 4

4 SAS Variables 25


Definition of SAS Variables 26
SAS Variable Attributes 26
Ways to Create Variables 28
Variable Type Conversions 32
Aligning Variable Values 32
Automatic Variables 33
SAS Variable Lists 34
Dropping, Keeping, and Renaming Variables 36 Numeric Precision in SAS Software 38

Chapter 5

4 Missing Values 49


Definition of Missing Values 49
Creating Special Missing Values 50
Order of Missing Values 51
When Variable Values Are Automatically Set to Missing by SAS 52 When Missing Values Are Generated by SAS 53
Working with Missing Values 55

Chapter 6

4 Expressions 57

Definitions for SAS Expressions 58 Examples of...