Using Data Transfer Services

Similar documents
Using Cross-Environment Data Access (CEDA)

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

CHAPTER 7 Examples of Combining Compute Services and Data Transfer Services

APPENDIX 2 Customizing SAS/ASSIST Software

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

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

Examples That Use Remote Objecting

SAS Support for TELNET on Windows

Using the SQL Editor. Overview CHAPTER 11

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

Locking SAS Data Objects

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

SAS File Management. Improving Performance CHAPTER 37

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.

Chapter 3 Managing Results in Projects. Chapter Table of Contents

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

Creating and Executing Stored Compiled DATA Step Programs

Graphics. Chapter Overview CHAPTER 4

The SERVER Procedure. Introduction. Syntax CHAPTER 8

UNIX Platform Error Messages

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

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

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

SAS/ASSIST Software Setup

Storing and Reusing Macros

Chapter 6 Creating Reports. Chapter Table of Contents

Windows: SPX Access Method

OS/2: SPX Access Method

OS/390 Platform Examples

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

CHAPTER 13 Importing and Exporting External Data

UNIX Spawner Program. Starting the UNIX Spawner Program CHAPTER 36

External Files. Definition CHAPTER 38

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

DBLOAD Procedure Reference

CHAPTER 5 Macintosh: TCP/IP Access Method

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

OpenVMS Operating Environment

SAS Data Libraries. Definition CHAPTER 26

This chapter is recommended primarily for server administrators.

QUEST Procedure Reference

Optimizing System Performance

The EXPLODE Procedure

CHAPTER 7 Using Other SAS Software Products

SAS Component Language (SCL) Interface to Agent Services

Tasks Menu Reference. Introduction. Data Management APPENDIX 1

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

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

Introduction to MDDBs

CV2ODBC Procedure. Overview. CV2ODBC Procedure Syntax APPENDIX 4

Performance Considerations

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

Using SAS Files. Introduction CHAPTER 5

The TRANTAB Procedure

Routing the SAS Log and SAS Procedure Output

Chapter 2 User Interface Features. networks Window. Drawing Panel

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

SCL Arrays. Introduction. Declaring Arrays CHAPTER 4

SAS/ACCESS Interface to R/3

Chapter 14 Introduction to the FACTEX Procedure

Chapter 27 Saving and Printing Graphics

SYSTEM 2000 Essentials

SAS Web Infrastructure Kit 1.0. Overview

SAS. IT Service Level Management 2.1: Migration Documentation

Chapter 9 Selected Examples. Queues with Reneging

Chapter 23 Introduction to the OPTEX Procedure

The GTESTIT Procedure

Chapter 13 Multivariate Techniques. Chapter Table of Contents

Enterprise Miner Software: Changes and Enhancements, Release 4.1

Administrator for Enterprise Clients: User s Guide. Second Edition

Alternative ODS HTML Statements for Running Examples in Different Operating Environments

SAS Drug Development 3.3_03. December 14, 2007

Customizing Your SAS Session

Chapter 25 Editing Windows. Chapter Table of Contents

Moving and Accessing SAS. 9.1 Files

Choosing the Right Procedure

Introduction. Getting Started with the Macro Facility CHAPTER 1

10 The First Steps 4 Chapter 2

SAS/CONNECT for SAS Viya 3.3: User s Guide

The G4GRID Procedure. Introduction APPENDIX 1

Installation Instructions for SAS/ACCESS Interface to SAP BW

Using CVS Repositories with SAS

SAS Data Integration Studio 3.3. User s Guide

Chapter 7 File Access. Chapter Table of Contents

Grid Computing in SAS 9.4

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

SAS Drug Development. SAS Macro API 1.3 User s Guide

SAS/FSP 9.2. Procedures Guide

Licensing SAS DataFlux Products

SAS Workflow Manager 2.2: Administrator s Guide

Moving and Accessing SAS 9.2 Files

Introduction. CHAPTER 3 Working in the SAS Windowing Environment

SAS. Installation Guide Fifth Edition Intelligence Platform

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

The GSLIDE Procedure. Overview. About Text Slides CHAPTER 27

Using Dynamic Data Exchange

The TIMEPLOT Procedure

SAS Clinical Data Integration 2.4

DATA Step Debugger APPENDIX 3

Defining Your Data Sources

Transcription:

103 CHAPTER 16 Using Data Transfer Services Introduction 103 Benefits of Data Transfer Services 103 Considerations for Using Data Transfer Services 104 Introduction For many applications, data transfer services offer the maximum benefit. SAS/ CONNECT provides these services by using the UPLOAD and DOWNLOAD procedures. Presented here are scenarios that are well-suited to a data transfer solution. However, if you plan to transfer SAS files between two Version 7 or Version 8 SAS sessions, you may be able to take advantage of the cross-environment data access (CEDA) facility. This facility is a more efficient way to transfer data between different types of hosts. For scenarios that use CEDA, see Chapter 13, Using Cross-Environment Data Access (CEDA), on page 93 PROC UPLOAD and PROC DOWNLOAD in SAS/CONNECT permit a transferred SAS data set to inherit the characteristics of the input data set. If the OUT= option is omitted when transferring a specific SAS data set, then the transferred data set inherits the characteristics of the input data set. A transferred data set will also inherit the characteristics of the input data set if it is part of a library transfer (See the INLIB= and OUTLIB= options for PROC UPLOAD and PROC DOWNLOAD). Note: Before using data transfer services, you must establish a connection between a local and a remote host by using the SIGNON statement. See Chapter 23, Starting and Stopping SAS/CONNECT Software, on page 193 for more details. 4 Benefits of Data Transfer Services A major benefit of data transfer services is to offload work from a remote system to one or more local machines and boost response time for production systems that run in the remote environment. After the data is downloaded to the local machine, all subsequent data access and processing is done by the local processor. By moving a copy or subset of the original data to the local machine, production applications can be run on the local machine without further remote CPU consumption or impact on remote production data systems. Moving a copy of the data to your local system adds robustness to your decision support environment. In the case of a network failure that would temporarily eliminate access to the remote data, you can continue working with your local copy of the data. You can transfer only the data that you need by using WHERE processing, data set options, or both to dynamically subset the data as it is being transferred to the local

104 Considerations for Using Data Transfer Services 4 Chapter 16 machine. This reduces network traffic and gives you only the data that you need on the local system. Data transfer services not only facilitate moving data from a larger source to a requesting local workstation, but also support the model of a centralized control point, such as a mainframe, which initiates communication to a network of workstations. This model enables centralized distribution of data and applications. Automated jobs can be run during non-peak hours to distribute data and applications to multiple machines that need the data and the applications for the next day s work. Similarly, jobs can be set up to query a network of workstations for the purpose of gathering data and storing it in a centralized repository. Another reason to use data transfer services is for backup purposes. Data and applications can be copied from a local system that has small memory resources to a remote system that has more memory resources. This provides a backup in case of loss on the local system. Applications developers can also make use of data transfer services. Many applications are developed to run on a remote host and take advantage of its compute services. Data transfer services reduce the workload on your remote host during development of these applications because you can use the local host as a program development tool. You can perform program editing, testing, and debugging by using the local host s resources instead of the remote host s resources. The development environments at many computing installations often have a higher number of users who work on one system than on other systems. On the system with the heaviest load, response time, execution queues, and other performance factors are less efficient because so many people are running applications concurrently. Using data transfer services, you avoid contention for heavily used host resources by creating and testing SAS programs on a less busy system (your local system), and then remote-submitting the fully developed and tested program to the heavily loaded system (your remote system). Each time you execute a program in a local host SAS session for testing purposes, you avoid adding to the load on the remote host computer. This method can result in significant savings of remote host resources and convenience for you. For example, suppose you are developing a SAS program that will run as a production program on the remote host. Your program analyzes data in a SAS data set on the remote host system and creates several reports from the analysis information. To run many tests of the program before it is perfected and avoid the delays involved in working on the remote host, create and store the SAS program on your local host. Test the program by downloading the SAS data set that is analyzed by the program, or test the program by using data that is stored in the local host. After the program is complete and correct, upload the program file to the remote host. Considerations for Using Data Transfer Services Depending on the goals of your application, data transfer services may have side effects that conflict with your needs. This section addresses these side effects and offers alternatives to eliminate or minimize them. Transferring a copy of the data to another file system creates multiple copies of the data. If the remote data is updated frequently, it may not be possible to keep a local copy of the data current enough to be useful. In addition, security restrictions at your site may prohibit multiple copies of the data. In this case, consider using compute services if the amount of data that is involved is large. If the amount of data is small to medium, RLS allows the processing to take place on the local system and the data to come from a remote source as the execution requests it. Both of these alternatives eliminate the need for multiple copies of data.

Using Data Transfer Services 4 Considerations for Using Data Transfer Services 105 Keep in mind that data transfer services are less transparent than RLS. Transferring the data is an explicit step that must be done prior to initiating any local processing. If the volume of data to be accessed is not large and your application requires more transparent access, use RLS. There may also be situations in which a combination of services is the best choice. For examples of combined services, see Chapter 7, Examples of Combining Compute Services and Data Transfer Services, on page 55 and Chapter 12, Example of Combining Remote Library Services (RLS) and Data Transfer Services, on page 89. To understand the examples in this section, you must be familiar with the syntax for the UPLOAD and DOWNLOAD procedures (described in Chapter 17, The UPLOAD Procedure, on page 107 and Chapter 18, The DOWNLOAD Procedure, on page 129).

106 Considerations for Using Data Transfer Services 4 Chapter 16

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.