Using Cross-Environment Data Access (CEDA)

Similar documents
Using Data Transfer Services

Introduction. LOCK Statement. CHAPTER 11 The LOCK Statement and the LOCK Command

Permission Program. Support for Version 6 Only. Allowing SAS/SHARE Client Access to SAS Libraries or Files CHAPTER 40

from the source host, use the FTP put command to copy a file from the source host to the target host.

SAS Support for TELNET on Windows

SAS I/O Engines. Definition. Specifying a Different Engine. How Engines Work with SAS Files CHAPTER 36

CHAPTER 7 Examples of Combining Compute Services and Data Transfer Services

UNIX Platform Error Messages

APPENDIX 2 Customizing SAS/ASSIST Software

Data Representation. Variable Precision and Storage Information. Numeric Variables in the Alpha Environment CHAPTER 9

OpenVMS Operating Environment

Chapter 3 Managing Results in Projects. Chapter Table of Contents

Examples That Use Remote Objecting

SAS File Management. Improving Performance CHAPTER 37

The SERVER Procedure. Introduction. Syntax CHAPTER 8

Formats. Formats Under UNIX. HEXw. format. $HEXw. format. Details CHAPTER 11

Locking SAS Data Objects

UNIX Spawner Program. Starting the UNIX Spawner Program CHAPTER 36

OS/390 Platform Examples

OS/2: SPX Access Method

SAS Data Libraries. Definition CHAPTER 26

Moving and Accessing SAS. 9.1 Files

Moving and Accessing SAS 9.2 Files

Chapter 28 Saving and Printing Tables. Chapter Table of Contents SAVING AND PRINTING TABLES AS OUTPUT OBJECTS OUTPUT OBJECTS...

Windows: SPX Access Method

CHAPTER 5 Macintosh: TCP/IP Access Method

Creating and Executing Stored Compiled DATA Step Programs

What Is a Communications Access Method? CHAPTER 1 Using Communications Access Methods

SAS Catalogs. Definition. Catalog Names. Parts of a Catalog Name CHAPTER 32

Chapter 6 Creating Reports. Chapter Table of Contents

Using MDP Extensions. What Is the Multidimensional Data Provider? CHAPTER 3

SAS/ASSIST Software Setup

CHAPTER 13 Importing and Exporting External Data

APPENDIX 4 Migrating from QMF to SAS/ ASSIST Software. Each of these steps can be executed independently.

Optimizing System Performance

Data Set Options. Specify a data set option in parentheses after a SAS data set name. To specify several data set options, separate them with spaces.

Using the SQL Editor. Overview CHAPTER 11

Storing and Reusing Macros

Graphics. Chapter Overview CHAPTER 4

External Files. Definition CHAPTER 38

This chapter is recommended primarily for server administrators.

Chapter 25 PROC PARETO Statement. Chapter Table of Contents. OVERVIEW SYNTAX SummaryofOptions DictionaryofOptions...

Informats. Informats Under UNIX. HEXw. informat. $HEXw. informat. Details CHAPTER 13

Macro Facility. About the Macro Facility. Automatic Macro Variables CHAPTER 14

Moving and Accessing SAS Files between Operating Environments

DBLOAD Procedure Reference

Alternative ODS HTML Statements for Running Examples in Different Operating Environments

Using SAS Files. Introduction CHAPTER 5

Routing the SAS Log and SAS Procedure Output

Administrator for Enterprise Clients: User s Guide. Second Edition

Introduction to MDDBs

User s Guide for SAS Software Navigator

Chapter 2 User Interface Features. networks Window. Drawing Panel

Chapter 23 Animating Graphs. Chapter Table of Contents ANIMATING SELECTION OF OBSERVATIONS ANIMATING SELECTED GRAPHS...347

The EXPLODE Procedure

Chapter 27 Saving and Printing Graphics

Overview. CHAPTER 2 Using the SAS System and SAS/ ASSIST Software

QUEST Procedure Reference

The TRANTAB Procedure

Defining Your Data Sources

Tasks Menu Reference. Introduction. Data Management APPENDIX 1

CV2ODBC Procedure. Overview. CV2ODBC Procedure Syntax APPENDIX 4

SAS Component Language (SCL) Interface to Agent Services

SAS/ACCESS Interface to R/3

Chapter 14 Introduction to the FACTEX Procedure

SAS. Installation Guide Fifth Edition Intelligence Platform

SCL Arrays. Introduction. Declaring Arrays CHAPTER 4

SAS Web Infrastructure Kit 1.0. Overview

Licensing SAS DataFlux Products

The GTESTIT Procedure

SAS Simulation Studio 14.1: User s Guide. Introduction to SAS Simulation Studio

Installation Instructions for SAS/ACCESS Interface to SAP BW

CHAPTER 7 Using Other SAS Software Products

Customizing Your SAS Session

Using Dynamic Data Exchange

Performance Considerations

Formats. SAS Formats under OpenVMS. Writing Binary Data CHAPTER 13

Introduction. Understanding SAS/ACCESS Descriptor Files. CHAPTER 3 Defining SAS/ACCESS Descriptor Files

Installation Instructions for SAS Activity-Based Management 6.2

Informats. SAS Informats under OpenVMS. Reading Binary Data CHAPTER 15

10 The First Steps 4 Chapter 2

SAS Enterprise Miner TM 6.1. Migration Guide

SAS Web Infrastructure Kit 1.0. Overview, Second Edition

Choosing the Right Procedure

Loading Data. Introduction. Understanding the Volume Grid CHAPTER 2

SAS Workflow Manager 2.2: Administrator s Guide

Routing Output. Producing Output with SAS Software CHAPTER 6

Enterprise Miner Software: Changes and Enhancements, Release 4.1

Introduction. CHAPTER 3 Working in the SAS Windowing Environment

Chapter 15 Mixed Models. Chapter Table of Contents. Introduction Split Plot Experiment Clustered Data References...

Chapter 9 Selected Examples. Queues with Reneging

Formats. SAS Formats under OS/2. Writing Binary Data CHAPTER 13

SAS University Edition: Installation Guide for Windows

Chapter 13 Multivariate Techniques. Chapter Table of Contents

The correct bibliographic citation for this manual is as follows: SAS Institute Inc Proc EXPLODE. Cary, NC: SAS Institute Inc.

Introduction. Getting Started with the Macro Facility CHAPTER 1

SAS. Information Map Studio 3.1: Creating Your First Information Map

Technical Paper. Defining a Teradata Library with the TERADATA Engine in SAS Management Console

SAS Drug Development 3.3_03. December 14, 2007

Administering SAS Enterprise Guide 4.2

Transcription:

93 CHAPTER 13 Using Cross-Environment Data Access (CEDA) Introduction 93 Benefits of CEDA 93 Considerations for Using CEDA 93 Alternatives to Using CEDA 94 Introduction The cross-environment data access (CEDA) facility allows you to transfer Version 7 or Version 8 SAS files between two heterogeneous hosts more efficiently than other SAS file transfer techniques. CEDA takes advantage of the Version 7 or Version 8 file structure to minimize data conversion between the host s native formats and eliminates steps required by other transfer techniques. SAS recognizes that diverse and distributed computers have become more common than they were when Version 6 was introduced. It is no longer unusual to have a site where multiple CPU s share access to a single disk or to a single networked file system. CEDA is the facility that allows any Version 7 or Version 8 SAS data file created on any directory based host (for example, Solaris, Windows, HP-UX, OpenVMS) to be read by SAS running on any other directory-based platform. Using CEDA, SAS data files (managed by the base engine) will be accessible across platforms. Benefits of CEDA The advantage of CEDA is that you can transfer your data files from one host to another, or NFS mount a disk from another host and automatically be able to access your data without any extra steps. CEDA eliminates the need to execute any other procedure, maintain a running server, or even sign on to the remote host. Considerations for Using CEDA It is important to understand that CEDA does not replace data transfer services or remote library services because of the following restrictions: 3 CEDA fully supports only SAS data sets. In addition, it also supports PROC SQL views and MDDBs (Multi-dimensional Data Base) for read-only access. 3 Update access is not supported. (Input and Output access is supported.) 3 There is no WHERE expression optimization with an index.

94 Alternatives to Using CEDA 4 Chapter 13 3 CEDA is limited to directory-based platforms (bound libraries on OS/390 and CMS files are not part of CEDA). If your application can operate within these restrictions, then CEDA is a simpler cross-platform data access strategy than the Version 6 data transfer services and remote library services. If your needs go beyond these restrictions, then data transfer services and remote library services are still available to provide access to remote data across all platforms and releases of SAS software. A user who does not have OS/390 cannot use CEDA to reference an OS/390 bound library. However, Version 7 or Version 8 SAS software supports unbound (or directory-based) libraries processed with the OS/390 UNIX Support Services. As an OS/ 390 user, you can use the IBM NFS Client to get to UNIX files from an OS/390 SAS session. As a UNIX user, you can use the IBM NFS Server to reference OS/390 UNIX Support Services files from a UNIX platform. CEDA performs the necessary translations so that these cross platform references seem like local references. The number of observations may limit the usability of a data set transferred between two heterogeneous hosts using the CEDA facility. The reason this is a limitation is because the number of observations in a data set is stored in a long numeric type, and the number of bytes that are used to represent a long numeric type varies between hosts. The minimum is 4 bytes. Therefore, if you have data sets that contain more than 2**31-1 observations, you will not be able to access this data set on a host that stores a long numeric type in 4 bytes. This maximum observations limit may also be influenced by having an index or integrity constraints that use an index. The failure that occurs due to the maximum observation limit is either you cannot open the data set, or you cannot add additional observations. There are four conditions where this error may occur: 3 if a 4-byte long host opens an 8-byte long data set that already contains greater than 2**31-1 observations 3 if an 8-byte long host opens a 4-byte long data set that already contains greater than 2**31-1 observations 3 if a 4-byte long host attempts to add observation 2**31-1 in an 8-byte long data set 3 if an 8-byte long host attempts to add observation 2**31-1 in an 4-byte long data set. Alternatives to Using CEDA If the restrictions make it unfeasible to use CEDA, data transfer services and remote library services are available for accessing data files that are created by and residing on another host. 3 Data transfer services is part of SAS/CONNECT. It is a bulk data transfer mechanism that transfers a disk copy of the data and performs the necessary conversion of the data from one platform s representation to another s, as well as any necessary conversion between SAS releases. This requires that a connection be established between two SAS sessions by using the SIGNON command and then executing either PROC UPLOAD or PROC DOWNLOAD to move the data. For more information, see Chapter 16, Using Data Transfer Services, on page 103. 3 Remote library services is part of both SAS/SHARE and SAS/CONNECT. It gives the user transparent access to remote data through the use of a LIBNAME statement. However, remote library services also has some prerequisites.

Using Cross-Environment Data Access (CEDA) 4 Alternatives to Using CEDA 95 3 When used with SAS/SHARE, a SHARE server must be previously invoked by a server administrator to give the local user access to the remote data. 3 When used with SAS/CONNECT, you must establish a connection between two SAS sessions by using the SIGNON command before issuing the LIBNAME statement that points to the remote data. For more information, see Chapter 9, Using Remote Library Services (RLS), on page 71.

96 Alternatives to Using CEDA 4 Chapter 13

The correct bibliographic citation for this manual is as follows: SAS Institute Inc., SAS/ CONNECT User s Guide, Version 8, Cary, NC: SAS Institute Inc., 1999. pp. 537. SAS/CONNECT User s Guide, Version 8 Copyright 1999 by SAS Institute Inc., Cary, NC, USA. ISBN 1 58025 477 2 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 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, September 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, AIX, DB2, OS/2, OS/390, RS/6000, System/370 TM, and System/390 are registered trademarks or trademarks of International Business Machines Corporation. ORACLE is a registered trademark or trademark of Oracle 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.