Moving and Accessing SAS Files between Operating Environments

Similar documents
Moving and Accessing SAS. 9.1 Files

Moving and Accessing SAS 9.2 Files

Using Cross-Environment Data Access (CEDA)

Introducing the SAS ODBC Driver

SAS ODBC Driver. Overview: SAS ODBC Driver. What Is ODBC? CHAPTER 1

OpenVMS Operating Environment

Accessibility Features in the SAS Intelligence Platform Products

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

DQpowersuite. Superior Architecture. A Complete Data Integration Package

QuickSpecs. ISG Navigator for Universal Data Access M ODELS OVERVIEW. Retired. ISG Navigator for Universal Data Access

Using SAS Files. Introduction to SAS Files, Data Libraries, and Engines CHAPTER 4

Using Data Transfer Services

Using SAS Files CHAPTER 3

About Database Adapters

Using SAS Files CHAPTER 3

Using SAS Files. Introduction CHAPTER 5

SAS Data Libraries. Definition CHAPTER 26

SAS/ACCESS Interface to R/3

Veritas NetBackup 6.5 Clients and Agents

Administrator for Enterprise Clients: User s Guide. Second Edition

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

The SAS Platform. Georg Morsing

SAS/ASSIST Software Setup

Introduction to Federation Server

DB2 for z/os: Programmer Essentials for Designing, Building and Tuning

Overview Guide. Mainframe Connect 15.0

DATA WIZARD. Technical Highlights

Proc Migrate: How to Migrate Your Data and Know You ve Done It Right!

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

Expanding Your Intelligence Environment:

Availability Digest. Attunity Integration Suite December 2010

IBM C IBM InfoSphere Optim for Distributed Systems - V

The TRANTAB Procedure

for Relational Databases

Local installation on UNIX and Mac OS X systems

Version 6 and Version 7: A Peaceful Co-Existence Steve Beatrous and James Holman, SAS Institute Inc., Cary, NC

IBM Replication Products and Strategies in Data Warehousing. Beth Hamel

Creating Enterprise and WorkGroup Applications with 4D ODBC

SAS Data Libraries: V6 to V7 Compatibility (or, will Version 7 be able to access my Version 6 files?) James Holman, SAS Institute Inc.

Crystal Reports. Overview. Contents. Open Database Connectivity (ODBC)

Integrate ANALYTICS APPLICATIONS in the Enterprise Architecture

Crystal Reports Overview. Contents. Supported Platforms. This document lists specific platforms and configurations for Crystal Reports 2008.

Locking SAS Data Objects

Encryption Services. What Are Encryption Services? Terminology. System and Software Requirements APPENDIX 2

Compatibility matrix: ServiceCenter 6.2

Optim. Optim Solutions, Benefits and Value Propositions. Kari Hirvonen - SoftwareGroup/Techsales IBM Finland

WebSphere Information Integration

Installation Instructions for SAS Foundation for UNIX Environments

Overview. ❶ Short introduction to the company. ❶ Short history of database and DBMS. ❶ What is the next DBMS s generation? ❶ Introduction to Tamino

Paper Operating System System Architecture 9.2 Baseline and additional releases OpenVMS OpenVMS on Integrity 8.3 Solaris

Crystal Reports XI Release 2 for Windows

HP Certified Professional

HPE Data Protector 8.10 Platform and Integration Support Matrix

Rapid SQL 7.6 Installation Guide

Tips and Fixes for Cross-Environment Batch Transfer of SAS Data

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

Spatial Databases by Open Standards and Software 1.

Using SAS/SHARE More Efficiently

VERITAS NetBackup 6.0 Enterprise Server INNOVATIVE DATA PROTECTION DATASHEET. Product Highlights

Procedures. Calls any BMDP program to analyze data in a SAS data set

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

HP Data Protector 8.00 Platform and Integration Support Matrix

SAS Publishing Intelligence Platform SAS. Data Administration Guide

Software withdrawal: IBM VisualAge Pacbase V3.0 features Replacement available

Procedures. PROC CATALOG CATALOG=<libref.>catalog <ENTRYTYPE=etype> <KILL>; CONTENTS <OUT=SAS-data-set> <FILE=fileref;>

Hyperion System 9 BI+ Analytic Services

Storing and Reusing Macros

DB2 Information Integrator Classic Federation (DB2IICF) Overview

GVP Deployment Guide. Installing GVP with the Deployment Wizard

Changes and Enhancements

Tasks Menu Reference. Introduction. Data Management APPENDIX 1

_beginmethod method 177 BINARY option, PROC DOWNLOAD statement. BINARY option, PROC UPLOAD statement

Seagate Holos Version 6.0C

Migrating 4GL Applications. Birket Foster President MB Foster HP Platinum Partner

Using OS Isolation Layers for Two-Step Migration

Location Intelligence Geographic Information Systems. MapMarker Plus. Version 30. Release Notes

EP200. SAP NetWeaver Portal: System Administration COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

Siebel Analytics Platform Installation and Configuration Guide. Version 7.8.4, Rev. A February 2006

Interoperability Features of the SAS System: Administering and Using SAS/CONNECT and SAS/ACCESS

ADM920 SAP Identity Management

SAS 9.4 Drivers for ODBC: User s Guide

DBArtisan 8.6 Installation Guide

Using the SAS(R) System in a distributed DOS(R)-to-VMS(TM) Environment using PCSA(TM) Software Thomas Emmerich, SAS Institute

IBM C IBM Security Guardium V10.0 Administration.

SAS/CONNECT for SAS Viya 3.3: User s Guide

CA Identity Manager. Endpoint Event Name changes

Unify NXJ が サポートする構成 Release 12

IBM Rational Business Developer (RBD) is a development environment that

Capturing Your Changed Data

Querying Operatonal Data in a Client/Server environment With The SAS System. Jens Dahl Mikkelsen SAS Institute

Globalization and National Language Support for Your Release 8.2 SAS Environment

C HAPTER. n a broad sense, accessing IMS means telling IMS to perform work for you.

Denver SAS User Group. SAS Enterprise Data Integration and Data Quality. John Motler Sales Engineer. January 13, 2010

Revised: February 14, 2012

Mastering SOA Challenges more cost-effectively. Bodo Bergmann Senior Software Engineer Ingres Corp.

Installation Instructions for SAS Foundation for UNIX Environments

July 2018 These release notes provide information about the The Privileged Appliance and Modules release.

Optimizing System Performance

Doing More with SAS/ASSIST 9.1

Hitachi Virtual Storage Platform

Transcription:

3 CHAPTER 1 Moving and Accessing Files between Operating Environments Deciding to Move a File between Operating Environments 3 Deciding to Access a File across Operating Environments 3 Strategies for Moving and Accessing Files 4 Summary of Strategy Features 5 Moving and Accessing Files in International Environments 7 The Data Set Used for Examples 7 Naming Conventions Used for Examples 8 Deciding to Move a File between Operating Environments Moving files between operating environments is a common work task. Reasons for moving a file between operating environments include: 3 To move files to a new operating environment on a different machine; for example, HP-UX files to a RedHat Linux operating environment. 3 To move a file and its processing to a high-performance operating environment that will be returned to the requesting operating environment. 3 To make a static copy of a file available to a physically separate operating environment for continued data processing. Files are duplicated for use in the receiving operating environment because the files are not available to the receiving operating environment by means of NFS-mounted file systems. In all of these scenarios, the move operations recognize differences between machine architectures and releases, allowing the original files to be used in the receiving operating environment. Deciding to Access a File across Operating Environments In some instances, accessing instead of owning and maintaining your own copy of a file might be preferable. Alternatively, you might need to read data from a locally mounted tape that was created elsewhere, or you might need to read, write, or update data that is remotely mounted on your network. Note: Do not confuse the term access with the product /ACCESS. In the context of moving or accessing files across operating environments, access means to reach and process files. /ACCESS enables users to use third-party DBMS files. For a list of products that /ACCESS supports, see the list on page 6. 4

4 Strategies for Moving and Accessing Files Chapter 1 You can use the following methods to access remote files: 3 CEDA (Cross-Environment Data Access) enables you to process 8 and files. 3 use /SHARE on your client to access a remote file that resides on an operating environment that a /SHARE server runs under. /SHARE facilitates a transparent concurrent access to remote data among multiple users. Restrictions apply to cross-release access of data. In addition, /SHARE enables you to access certain third-party DBMS files by means of engines that are supported by /ACCESS. 3 without the aid of /SHARE or CEDA, you can rely upon network services for access to remote files (both files and third-party DBMS files). Usually, the client and the server must share a compatible architecture, and they must run the same release of software. The operating environment, the network software, and the security software might control users permissions to access specific remote files. For more information, see the companion documentation that is appropriate to your operating environment, and see the third-party documentation for the network software and security software that you use. Strategies for Moving and Accessing Files Cross-Environment Data Access (CEDA) This feature of enables a file that was created in any directory-based operating environment (for example, Solaris, Windows, HP-UX, OpenVMS) to be processed by a session that is running in another directory-based environment. CPORT and CIMPORT procedures In the source environment, you can use CPORT to write data sets or catalogs to transport format. In the target environment, CIMPORT can be used to translate the transport file into the target environment s native format. XPORT engine with DATA step or COPY In the source environment, you can use the LIBNAME statement with the XPORT engine and either the DATA step or COPY to create a transport file from a data set. In the target environment, the same method can be used to translate the transport file into the target environment s native format. Note: The XPORT engine does not support 8 and features, such as long file and variable names. 4 XML engine with DATA step or COPY In the source environment, you can use the LIBNAME statement with the XML engine and either the DATA step or COPY to create an XML document from a data set. In the target environment, the same method can be used to translate the XML document into the target environment s native format. Data Transfer Services (DTS) in This feature enables you to transfer data sets and catalogs from the source environment to the target environment. DTS dynamically translates the data between operating environment representations and versions, as necessary. The transfer is accomplished using the SIGNON statement to connect two sessions and then the UPLOAD or DOWNLOAD to move the data.

Moving and Accessing Files Summary of Strategy Features 5 REMOTE engine and Remote Library Services in /SHARE and These features give you transparent access to remote data using the REMOTE engine and the LIBNAME statement. Summary of Strategy Features Table 1.1 Features Summary of Strategy Features for Moving or Accessing Files Strategies That Can Be Used CEDA CPORT/ CIMPORT XPORT XML DTS RLS and /SHARE RLS Member Types Supported Data File, SQL views*, /ACCESS views (Oracle and SYBASE), MDDB* Library, Data Set, Catalog, Catalog entry Library, Data Set Data File Library, Data Set, Catalog, Catalog entry, SQL view, MDDB, External third-party databases*** Library, Data Set, Catalog**, Catalog entry**, SQL view, MDDB, DATA Step view, /ACCESS view, External third-party databases*** * Data set (files) can have read, write, and update access. SQL views and MDDBs are read-only. ** 9 does not support cross-operating environment access to catalog entries or catalogs in operating environments that are incompatible. For information about architecture groups, see User s Guide or /SHARE User s Guide. *** supports external text files and binary files. and /SHARE support third-party external databases by means of the Remote SQL Pass-Through Facility, but you must have a /ACCESS license to access these databases. Here is a list of external files that and /SHARE support: 3 Relational databases 3 CA-OpenIngres, DB2 for OS/390, DB2 for UNIX and PC operating environments, Informix, ODBC, Oracle, Oracle Rdb, and SYBASE 3 Nonrelational databases 3 ADABAS, CA-IDMS, IMS-DL/I, and SYSTEM 2000 3 PC files 3 PC file formats Excel and Lotus

6 Summary of Strategy Features Chapter 1 Features Strategies That Can Be Used CEDA CPORT/ CIMPORT XPORT XML DTS RLS and /SHARE RLS Dynamic Translation or Create a File Format Dynamic Transport**** Transport****XML Dynamic Dynamic Versions Supported 8 and 6 and 6 and **** 8.2 and 6 and 6 and Regression from a Later to an Earlier Release No No Yes No Yes Yes Limited to Operating Environments that Use Directory- Based File Structures Yes No No No No No Product License Required Base Base Base Base or /SHARE ****The XPORT engine does not support features that were introduced in 8 (such as long file and variable names). If the XPORT engine is used to regress a 8 or file to an earlier release, the features that are exclusive to 8 and are removed from the file. Also, the transport formats that are produced by the XPORT engine and CPORT are not interchangeable. For complete details about relational databases, see /ACCESS for Relational Databases: Reference. For details about nonrelational databases, see /ACCESS Interface to CA-Datacom/DB: Reference, /ACCESS Interface to IMS: Reference, /ACCESS DATA Step Interface to CA-IDMS: Reference, or/access Interface to SYSTEM 2000: Reference, as appropriate.

Moving and Accessing Files The Data Set Used for Examples 7 Moving and Accessing Files in International Environments provides National Language Support (NLS) for applications and data that are created in supported operating environments. Customers who use the English language can use applications and data that are created in the United States. However, without NLS, customers in other geographic regions of the world such as Asia and Europe would not be able to run applications and read and write data that was created in the United States. NLS features enable customers to process data successfully in their native languages and environments, regardless of the language that the application and data were created in. As an example, a source session runs a application and creates a data set, which is written in the English language, on a 8 PC. A target session runs a different application, which is written in the German language, on a 6 mainframe that needs to read from and write to the data set that was created in the English language. Before the data can be moved or accessed using the preferred strategy, (for example, CEDA or CPORT and CIMPORT), locale or encoding must be specified at the source session and target session to enable the source data to be translated to the format of the target session. If encodings are not accounted for in an international environment, source and target sessions cannot read and write the data. Strategies for specifying locale or encoding vary according to the version of that is running on the source and target machines. If you are moving or accessing files in an international environment, see National Language Support (NLS): User s Guide. The Data Set Used for Examples If you choose to experiment, you can create several simple data sets in a library. Here is a sample program that creates the data set GRADES: data grades; input student $ test1 test2 final; datalines; Fred 66 80 70 Wilma 97 91 98 ; proc print data=grades; run; Here is the output: The System 10:59 Friday, April 25, 2003 Obs student test1 test2 final 1 Fred 66 80 70 2 Wilma 97 91 98

8 Naming Conventions Used for Examples Chapter 1 Naming Conventions Used for Examples The following consistent naming conventions are used in the examples in this documentation: WORK is the default libref that points to the library that contains the data set GRADES. XPORTOUT is the libref that points to the location where the transport file is created with the XPORT engine. XPORTIN is the libref that points to the location on the target machine that you transferred the transport file to. XMLOUT is the libref that points to the location where the XML file is created with the XML engine. XMLIN is the libref that points to the location on the target machine that you transferred the XML file to. CPORTOUT is the fileref that points to the location where the transport file is created with CPORT. IMPORTIN is the fileref that points to the location on the target machine that you transferred the transport file to. SOURCE is the libref that points to the location of the source file that is translated into transport or XML format. LIST is a catalog entry type. GRADES is the name of a data set. TARGET is the libref that points to the location where the restored file is created. TESTCAT is the name of a catalog. TESTNPGM is the name of a catalog entry.