SAS Support for TELNET on Windows

Similar documents
CHAPTER 5 Macintosh: TCP/IP Access Method

OS/2: SPX Access Method

Windows: SPX Access Method

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

UNIX Spawner Program. Starting the UNIX Spawner Program CHAPTER 36

OS/390 Platform Examples

UNIX Platform Error Messages

Using Cross-Environment Data Access (CEDA)

Chapter 3 Managing Results in Projects. Chapter Table of Contents

Creating and Executing Stored Compiled DATA Step Programs

External Files. Definition CHAPTER 38

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

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

Using Data Transfer Services

Chapter 6 Creating Reports. Chapter Table of Contents

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.

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

SAS File Management. Improving Performance CHAPTER 37

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

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

APPENDIX 2 Customizing SAS/ASSIST Software

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

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

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

CHAPTER 7 Examples of Combining Compute Services and Data Transfer Services

Communications Access Methods for. SAS/CONNECT 9.2 and SAS/SHARE 9.2

CHAPTER 13 Importing and Exporting External Data

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

Storing and Reusing Macros

SAS/ASSIST Software Setup

Chapter 14 Introduction to the FACTEX Procedure

Introduction to MDDBs

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

Examples That Use Remote Objecting

Using the SQL Editor. Overview CHAPTER 11

The SERVER Procedure. Introduction. Syntax CHAPTER 8

QUEST Procedure Reference

Optimizing System Performance

SAS Data Libraries. Definition CHAPTER 26

Graphics. Chapter Overview CHAPTER 4

Chapter 13 Multivariate Techniques. Chapter Table of Contents

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

This chapter is recommended primarily for server administrators.

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

OpenVMS Operating Environment

Chapter 9 Selected Examples. Queues with Reneging

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

Routing the SAS Log and SAS Procedure Output

SAS/ACCESS Interface to R/3

Locking SAS Data Objects

The EXPLODE Procedure

Chapter 23 Introduction to the OPTEX Procedure

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

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

Alternative ODS HTML Statements for Running Examples in Different Operating Environments

Installation Instructions for SAS/ACCESS Interface to SAP BW

SAS. IT Service Level Management 2.1: Migration Documentation

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

Chapter 2 User Interface Features. networks Window. Drawing Panel

SAS. Installation Guide Fifth Edition Intelligence Platform

OS/390: APPC Access Method

Licensing SAS DataFlux Products

SAS Component Language (SCL) Interface to Agent Services

Tasks Menu Reference. Introduction. Data Management APPENDIX 1

Defining Your Data Sources

Chapter 7 File Access. Chapter Table of Contents

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

Chapter 27 Saving and Printing Graphics

SAS Web Infrastructure Kit 1.0. Overview

SAS Workflow Manager 2.2: Administrator s Guide

CHAPTER 7 Using Other SAS Software Products

SCL Arrays. Introduction. Declaring Arrays CHAPTER 4

DBLOAD Procedure Reference

Administrator for Enterprise Clients: User s Guide. Second Edition

Chapter 28 INSET Statement. Chapter Table of Contents

Changes and Enhancements

Introduction. Getting Started with the Macro Facility CHAPTER 1

Using Dynamic Data Exchange

Introduction. CHAPTER 3 Working in the SAS Windowing Environment

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

The GTESTIT Procedure

Changes and Enhancements

SAS Drug Development. SAS Macro API 1.3 User s Guide

Batch Importing. Overview CHAPTER 4

The TRANTAB Procedure

SAS Forecast Server 3.1. Administrator s Guide to Installation and Configuration

DATA Step Debugger APPENDIX 3

Administering SAS Enterprise Guide 4.2

SAS Drug Development 3.3_03. December 14, 2007

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

Changes and Enhancements

Chapter 25 Editing Windows. Chapter Table of Contents

SAS Clinical Data Integration 2.4

Using Unnamed and Named Pipes

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

SAS Integration Technologies Server Administrator s Guide

Changes and Enhancements

The SAS Interface to REXX

SAS University Edition: Installation Guide for Windows

SAS Strategy Management 5.2 Batch Maintenance Facility

Transcription:

437 CHAPTER 30 Windows: TELNET Access Method SAS Support for TELNET on Windows 437 SAS/CONNECT 437 System and Software Requirements for SAS/CONNECT 437 Local Host Tasks 438 Configuring Local and Remote Host Names and Internet Addresses 438 Specifying the TELNET Communications Access Method 438 Specifying the Remote Node Name 439 Identifying a Script File for Signing On and Signing Off 439 Signing On to the Remote Host 440 Local Host Example 440 Remote Host Example 440 SAS Support for TELNET on Windows Note: The TELNET communications access method can be used with the Windows NT, Windows 95, Windows 98, and Windows 32s platforms. For SAS/CONNECT, all Windows platforms are restricted to the local host role only. However, beginning with Version 7, the Windows 32s platform is not supported. Information about Windows 32s is included here for Version 6 users. Version 8 does not support the TELNET access method. However, information about TELNET is included here for users of Version 6 and earlier releases. 4 SAS/CONNECT System Administrator To use the TELNET access method with a Windows host for SAS/CONNECT, perform this task: 1 Verify that you have met all your site and software requirements. System and Software Requirements for SAS/CONNECT Using the TELNET access method, you can connect to any supported platform that is on the TCP/IP network, and that is running a SAS release that has the corresponding access method support with SAS/CONNECT properly licensed. Verify the following:

438 Local Host Tasks 4 Chapter 30 1 A supported TCP/IP package has been installed on the local host. See System and Software Requirements for SAS/CONNECT and SAS/SHARE on page 416 for a list of supported TCP/IP packages. 2 Remote hosts that you want to connect to are attached to a TCP/IP network. Although the remote host does not have to run a TCP/IP product that SAS supports, it must run some type of TCP/IP product to allow its node to be accessible through TELNET. In those cases where your local host has a supported TCP/IP package but your remote host does not, you can use TELNET to establish a connection. If you have a choice of using either TCP/IP or TELNET, you are encouraged to use TCP/IP. TELNET support is provided primarily for sites in which the local host has an installed TCP/IP product, but the remote host does not. Local Host Tasks User or Applications Programmer To connect a Windows local host to a remote host, perform these tasks at the local host: 1 Configure the local and remote hosts names and Internet addresses in the local HOSTS file or through the domain server. 2 Specify the communications access method. 3 Specify a remote node. 4 Specify a script for signing on and signing off a remote host. 5 Sign on to the remote host. Configuring Local and Remote Host Names and Internet Addresses You must specify the names and Internet addresses of the local and remote hosts in the HOSTS file or through the name server. A name server program supplies name-to-address translation, mapping from domain names to IP addresses. The name server often runs on a dedicated processor, and the host itself is referred to as the name server. The format for a HOSTS file entry follows: Internet-address host-name optional-alias 172.20.10.200 monarch local 172.20.10.201 omega remote Specifying the TELNET Communications Access Method You must specify the TELNET communications access method to make a remote host connection. Use the following syntax: OPTIONS COMAMID=access-method-id; where COMAMID is an acronym for Communications Access Method Identification. access-method-id identifies the method used by the local host to communicate with the remote host. TELNET is a terminal application interface that uses the TCP/IP protocol.

Windows: TELNET Access Method 4 Identifying a Script File for Signing On and Signing Off 439 options comamid=telnet; Alternatively, you may express this OPTION statement in a SAS invocation or in a SAS configuration file. Specifying the Remote Node Name To make a connection from a Windows local host to a remote host, use the following syntax: OPTIONS REMOTE=node-name; options remote=monarch; Alternatively, you may express this OPTION statement at a SAS invocation or in a SAS configuration file. If you use an Internet address (or some other invalid SAS name), you must assign the address to a macro variable and specify the macro variable for the value of the REMOTE= option, illustrated as follows: %let node=internet-address; options remote=node; Do not choose a macro name that is also a valid host name on your network. SAS first attempts to reach a network host with the value of the REMOTE= option (in this example, MYNODE). %let mynode=172.20.10.200 options remote=mynode; Identifying a Script File for Signing On and Signing Off To use one of the sample script files that is supplied with SAS/CONNECT for signing on and signing off, assign the RLINK fileref to the appropriate script file, based on the remote host that you are connecting to. The sample scripts are installed at!sasroot \connect\saslink. You must customize the sample scripts to accurately reflect your site s logon process. Failure to do so will produce errors. The FILEREF syntax follows: FILENAME RLINK!sasroot\connect\saslink\script-name ; where script-name identifies the script that corresponds to the remote host that you want to connect to. The following table lists the scripts that are supplied by SAS Institute: Table 30.1 Windows TELNET SAS/CONNECT Sign-on Scripts Remote Host CMS CMS (using full-screen 3270 TELNET protocol) OS/390 (with TSO) OS/390 (using full-screen 3270 TELNET protocol) Script Name TELCMS.SCR TCPCMS32.SCR TELTSO.SCR TCPTSO32.SCR

440 Signing On to the Remote Host 4 Chapter 30 Remote Host OpenVMS AOS/VS PRIME Script Name TELVMS.SCR TELAOS.SCR TELPRIM.SCR FILENAME RLINK!sasroot\connect\saslink\teltso.scr ; Note: The value for the COMAMID option in the sign-on script at a SAS invocation must be set to RASYNC. 4 Signing On to the Remote Host To complete your sign on to the remote host, enter the SIGNON statement, as follows: signon; Local Host Example The following example illustrates the statements that you specify in a Windows local host SAS session to connect to a remote host with the TELNET access method: filename rlink!sasroot\connect\saslink\telcms.scr options comamid=telnet remote=rmtnode; signon; The first line identifies the script file that you use to sign on to a CMS remote host. The script file prompts for a userid and a password that are valid on the remote host. The TELNET communications access method is declared with a connection to the remote host RMTNODE. The SIGNON statement performs the sign-on process. Remote Host Example SAS Institute does not provide support for connections to the Windows remote host with the TELNET access method.

The correct bibliographic citation for this manual is as follows: SAS Institute Inc., Communications Access Methods for SAS/CONNECT and SAS/SHARE Software, Version 8, Cary, NC: SAS Institute Inc., 1999. pp. 643. Communications Access Methods for SAS/CONNECT and SAS/SHARE Software, Version 8 Copyright 1999 by SAS Institute Inc., Cary, NC, USA. ISBN 1 58025 479 9 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, ACF/VTAM, AIX, APPN, MVS/ESA, OS/ 2, OS/390, VM/ESA, and VTAM 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.