SAS Companion for the CMS Environment
Original Publication Date: 1999-Dec-31
Included in the Prior Art Database: 2015-Sep-17
SAS Institute Inc.
Page 01 of 366
SAS® Companion for the CMS Environment
Page 02 of 366
The correct bibliographic citation for this manual is as follows: SAS Institute Inc., SAS ® Companion for the CMS Environment, Version 8 , Cary, NC: SAS Institute Inc., 1999. 366 pp.
SAS Companion for the CMS Environment, Version 8
Copyright © 1999 by 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, by 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 the software by the government is subject to restrictions as 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, October 1999
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 DB2® are registered trademarks or trademarks of International Business Machines Corporation. ® indicates USA registration.
Other brand and product names are registered trademarks or trademarks of their respective companies.
The Institute is a private company devoted to the support and further development of its software and related services.
Page 03 of 366
4 Running the SAS System under CMS 3
Invoking SAS 3
Running SAS in Noninteractive Mode 4
Running SAS in Batch Mode 5
Interrupting a SAS Session 5
Connecting to a SAS Session 6
Specifying CMS File Identifiers 6
SAS Filenames 8
CMS Filetypes Used by SAS 9
Issuing CMS and CP Commands during a SAS Session 9 Accessing System Variables 10
4 Customizing Your SAS Session 13
Specifying System Options in the SAS Command 14 Configuration Files 15
Autoexec Files 16
OPTIONS Statement 18
Displaying System Option Settings 18
Precedence for Options Set in Several Places 18 Precedence for Similar Types of Options 19 SASUSER Library 19
4 Working with SAS System Files 21
Handling Space in the WORK Library 21
SAS Log File 24
SAS Procedure Output File 24
Parmcards File 24
Summary Table of SAS System Files 24
CMS Filetypes That the SAS System Uses 26
4 Using SAS Files 27
SAS Files and SAS Data Libraries 28 Choosing between Disk and Tape Storage 28 Identifying SAS Data Libraries 29 Concatenating SAS Data Libraries 33 Working with SAS Files on Disk 34
P A R T 1 Running the SAS System under CMS 1
Changes and Enhancements vii
Page 04 of 366
Working with SAS Files on Tape 36
Working with SAS Files in Tape Format on Disk 43 Accessing SAS Libraries in Segments 44
Transporting SAS Files between Operating Environments 45 How SAS Assigns an Engine When No Engine Is Specif...