Browse Prior Art Database

SAS® ODBC Driver 9.1 User's Guide and Programmer's Reference Disclosure Number: IPCOM000243134D
Original Publication Date: 2004-Dec-31
Included in the Prior Art Database: 2015-Sep-16

Publishing Venue

SAS Institute Inc.

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

Page 01 of 60

SAS® ODBC Driver 9.1

User's Guide and Programmer's Reference

Page 02 of 60

The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2004. SAS ® ODBC Driver 9.1: User's Guide and Programmer's Reference. Cary, NC: SAS Institute Inc.

SAS® ODBC Driver 9.1: User's Guide and Programmer's Reference

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

ISBN 1-59047-197-0
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, January 2004
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 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 60


Chapter 1 Introducing the SAS ODBC Driver 1

Overview: The SAS ODBC Driver 1

What Is ODBC? 2
What Is the SAS ODBC Driver? 2
Types of Data Accessed with the SAS ODBC Driver 3 Understanding SAS 5
What Software Do I Need? 8

Chapter 2 Defining Your Data Sources 11

Introduction to Defining Data Sources 11

Accessing the SAS ODBC Driver Dialog Boxes 11

Setting Up Your Data Source 14

Defining Servers 16

Defining Data Libraries 20

Saving a Data Source Definition 23

Modifying a Data Source Definition 23

Specifying a Different Server for a Defined Data Source 23

Deleting a Data Source Definition 24

Chapter 3 Using the SAS ODBC Driver 25

Introduction to Using the SAS ODBC Driver 25

Accessing Your Data Sources 25

Prerequisites for Communications 26

Other Important Usage Information 30

Chapter 4 Programmer's Reference 33

Introduction to the Programmer's Reference 33

Support for and Implementation of ODBC Functions 33

Support for SQL Grammar 37

Supported Data Types 37

User-Specified SQL Options 40

Security Notes on Windows NT, Windows 2000, and Windows XP 42

SAS ODBC Driver Error Codes 43

Appendix 1 Return Codes and Associated Messages 45

SAS ODBC Driver Return Codes 45

S1000 Communications Access Method Errors 45

TCP/IP Winsock Return Codes 46

Appendix 2 Recommended...