;... _... name; tsoge. scr purpose: Startup a TSO SAS session. notes: Assumes the TSO session has been logged on manually.

Size: px
Start display at page:

Download ";... _... name; tsoge. scr purpose: Startup a TSO SAS session. notes: Assumes the TSO session has been logged on manually."

Transcription

1 AUTOMATING THE PROCESS OF DOWNLOADING SAS DATA SETS TO THE PC Bruce Nawrocki, GE Capital Mortgage Insurance Introduction The [nfonn.tion Center at GE Capital Mortgage Insurance supports about 50 people who use SAS sofnvare on an IBM 3084 mainframe and personal computers~ Most people have an IRMA card and terminal emulation softw'are in their PC. These SAS users often want to download small SAS data sets from the mainframe to their PC. Once the data is on their PC in a SAS data set, they may also want to move the data into other software packages, such as a spreadsheet or database, for further data manipulation. The SAS micro to host link gives the SAS user the ability to download mainframe data to the PC. Although the downloading procedure is fairly straightforward, it involves many steps. Downloading requires that the user be familiar with a variety of mainframe and PC software, not to mention all the different error messages they may see. fn addition, most PC users don't download data very often.~ perhaps once or twice a month. For someone who downloads data On a regular but infrequent basis, these steps can be difficult to remember. These people wanted to automate the entire downloading process, so they wouldn't have to memorize a complex series of steps. Nonnally. a user would have to manually perform each of the following steps; 1) Logon to the mainframe 2) Start up SAS software on the PC 3) Start up the SAS micro to host link 4) Submit the SAS statements required to allocate the necessary mainframe files 5) Submit the PROC DOWNLOAD statements to download the mainframe SAS data set to the PC 6) Sign off from the SAS micro to host link 7) Run the DBF or DIF procedure to create a.dbf or.dif file from the downloaded SAS data set 8) Exit SAS software on the PC, starr up the database or spreadsheet program and load the.dbf or.dlf file. To help speed up the learning curve and make things easier for casual users. I wrote several SAS programs that help to automate both the tasks of downloading [he data and moving it into a.dip or.dbf file. The steps were automated through the use of a couple of DOS batch files and a SAS program which incorporates the SAS macro language. Program listings are included at the end of this paper. Batch Flies The AUTOEXEC.BAT file on the user's PC was modified to automatically load the tenrunal emulation software in resident mode. In our case, we use an IRMA card and emulation software, but this could work with any terminal emulation software. We did have to be careful about memory limitations, however. Resident software may not leave enough memoty for SAS software on the PC to work properly. We were lucky that the IRMA resident software could co exist with SAS software within the 640K memory limitation. Other emulation software, such as IBM's, may require you to have a PC with Expanded Memory. A menu system was set up with batch files that would change the directory to the correct one and then run the SAS software. An AUTOEXEC.SAS file was installed in that directoty which included the following lines: OPTIONS REMOTE=IRMA; LIBNAME PERM '.'; FILENAME RLINK 'TSOGE.SCR1; The first line above notifies the SAS system that the PC is using an IRMA card for transferring data to and from the mainframe. The second line sets up a libref called PERM that points to the current directoty. This libref is used when moving the SAS data set from the mainframe to the PC. The last line names the script file that contains commands to sign on and off from the mainframe portion of the micro to host link. TSOGE.SCR contains the following text (which is a modification of the TSO.SCR file supplied with SAS software for personal computers). I didn't include commands to automatically signon to TSO because I assumed people would already be in TSO. ;... _... name; tsoge. scr purpose: Startup a TSO SAS session. notes: Assumes the TSO session has been logged on manually.... _...._.... _... _... ; log 'NOTE: TSO program running... please wait.'; MODEL 2: if signoff goto signoff; type '-x' enter; waitfor "READY': atready, 20 seconds; 1650

2 echo on; gotq timeout; atready: type "sas options('remote-pclink maero')" enter; wa1tfor 'IN PROGRESS': progress, 30 seconds; type enter: waitfor 'IN PROGRESS': progress, 30 seconds; timeout: log ~ERROR: abort; progress : stop. Timeout,'; signoff: wa1tfor 'READY': ok, 20 seconds; log 'NOTE: Mainframe not responding, '; log ~You may need to manually logoff from TSO. ~: log 'Return to mainframe now and type LOGOFF at READY prompt.'; stop; ok: type 'ISPFUSER' enter; log 'NOTE: When you return to mainframe, you vill be at the Main Menu,'; log, ~ "--.; log' Do not forget to log off from TSO! '; log '; stop; The SAS Programs There are three versions of the SAS program that is submitted from the PC and downloads a SAS data set from the mainframe, Program 1 requires that the user manually signon and signoff the $AS micro-to-host link (via the SIGNON and S!GNOFF commands)_ The user modifies the %LET statement to contain the name of the mainframe SAS data set to download. Program 2 is a slight variation of Program 1 that lets users enter as many SAS data set names as they want on the O/OLET statement. The program will download an of them into separate SAS- data sets on the PC. the program executes. The program allocates the mainframe file that contains the SAS data set to download. This process is made easier since all these data sets are stored in one library (called SASUSER). SAS/SHARE" software is used to access this library since at any given time there may be several people who are writing to and reading from this library. I didn't want the users to attempt to download a mammoth data set that would take a long time to download or wouldo't fit on their PCs hard disk_ So, the first thing the program does is figure out the approximate size of the SAS data set and how long it will take to download. TIlls information is based on the results of a PROC CONTENTS performed on the mainframe. If the user tries to download a file that is larger than 1 megabyre (this is an arbitrary number), the program prints a warning message and stops. Otherwise, the mainframe SAS data set is downloaded to the PC_ More About Program 3 Program 3 works because of the ability of Version 6.03 of SAS software for PC's ability to use DM statements to remotely submit mainframe SAS statements from the PC. The program is submitted by typing SUB on the Command line instead of RSUB, as in the other two programs. Because of this, Program 3 can even be run from the DOS prompt without invoking SAS Display Manager. This leaves more memory free for the downloading process and the terminal emulation sofrware. Assuming the program is stored in a file called DOWN3.SAS, you could execute the program by typing SAS DOWN3.SAS from the DOS prompt. Program 3 automates the process even further. It automatically performs the signon and signofe to the SAS micro-to-host link. It then downloads one SAS data set from the mainframe to the PC, and then calls upon either PROC DlF or PROC DBF to create a.dlf or _DBF file for use with other PC software. A Closer Look at Program 1 Program 1 automatically invokes PROC DOWNLOAD to move a SAS data set from the mainframe to the PC. Users just fill in the name of the SAS data set they want to download on the '%LET SNAME =' line. Then, they type RSUB on the COMMAND line of the PGM EDlTOR window, and 1651

3 Program Listings Program 1 *** TYPE NAME OF DATASET TO OOWNLOAD ON NEXT LINE AFTER THE SIGN; %LET SNAME - SASUSER.8KNSEC **. THEN TYPE -> RSUB <- ON COMMAND LINE; OPTIONS DQUOTE MACROGEN; %GLOBAL FIRSTIKE; DATA _NULL_; :1:::S:E:TT::r:N:G::U:P::P:R:O:G:I!AM::::.:.:.::P:LE::AS::E::W:A:I:T:.:::~ : %MACRO DL; %IF &FIRSTIME NE N %THEN %00; LIBNAME SASUSER SERVER-SASSHARE; tlet FIRSTIKE - N; PROC CONTENTS DATA-&SNAKE NOPRINT OUT-TEMP; SET TEMP END=LAST; RETAIN TOTAL 0; TOTAL+ LENGTH; I F LAST THEN DO; KB = «TOTAL+4)*NOBS)+1000, MINS = KB/60000, ~=============================J'; YOU ARE TRYING TO DOWNLOAD A FILE ; THAT WILL REQUIRE ' KB 9. ' BYTES ; OF STORAGE ON YOUR PC.,, I~============================~'; PLEASE WAIT 'i THIS WILL TAKE' MINS 4.1 MINUTES.,, CALL SYMPUT ('KB',KB): END; %IF &KB > %THEN %00; PUT.=----= , ARE YOU KIDDING? THIS FILE IS TOO BIG TO DOWNLOAD! ' PUT, , tend, %ELSE %00; %LET PCNAME = %SUBSTR(&SNAKE,%INDEX(&SNAKE,.)+l); PROC DOWNLOAD DATA=&SNAME OUT=PERM.&PCNAME; DATA NULL, PUT" THERE IS NOW A FILE CALLED &PCNAME. SSD IN \MYSAS DIRECTORY." POT I PUT " YOU CAN REFER TO THE SAS DATA SET ON THE PC AS PERM. &PCNAME", I.. you SHOULD NOW SIGNOFF FROM MAINFRAME SAS BY TYPING SIGNOFF ON ANY COMMAND LINE. '; " PUT tmend DL; tdl; '; 1652

4 Program 2 *** TYPE NAMES OF SASUSER DATASETS TO DOWNLOAD ON NEXT LINE SEPARATED BY * SPACES AFTER THE = SIGN (DO NOT TYPE SASUSER.!) %LET FILES = MYFILEl MYFILE2 MVPlLE3 *** THEN TYPE -> RSUB <- ON COMMAND LINE; OPTIONS DQUOTE MACROGEN, %GLOBAL FIRSTIME, DATA NULL: SETTING UP PROGRAM.. PLEASE WAIT. PUT t %MACRO WORDS(STRING) : %LOCAL COUNT WORD, %LET COUNT=l: %LET WORD=%SCAN(&STRING,&COUNT,%STR(»: %00 %WHlLE(&WORD NE): lglobal W&COUNT: llet W&COUNT=&WORO: %LET COUNT = %EVAL(&COUNT+l): %LET WORD=%SCAN(&STRING,&COUNT): %EVAL(&COUNT-l) %MEND WORDS, %MACRO DL: %IF &FIRSTIME NE N %THEN %00: LIBNAME SASUSER SERVER=SASSHARE: %LET FIRSTIME = N; %ENO: %001=1 %TO %WORDS(&FlLES); llet PCNAME = lsubstr(&&w&i,%index(&&w&i,.)+l): PROC DOWNLOAD DATA=SASUSER.&&W&I OUT=PERM.&PCNAME: lendi %MEND OL; %OL: ij: 1653

5 Program 3 %LET TRANSFER ~ DBF TRANSFER CAN BE DBF OR DIF ; ******************* *******.*****; OM 1 OiJTPUT;CLEAR; SIGNONt ; OM 'RSUBMIT'; TYPE NAME OF DATASET TO DOWNLOAD ON NEXT LINE AFTER THE SIGN; *** THEN TYPE -> SUB <- ON COMMAND LINE; %LET SNAME ~ SASUSER.BKNSECl ; **********************************: OPTIONS DQVOTE MACROGEN; %GLOBAL FIRSTIME, DATA NULL, %MACRO DL; 1* Same as the DL macro in Program 1, but you can leave out the last four PUT lines, since you no longer have to type SIGNCFF on the command line. You also need to add a statement just before the %MEND DL; statement to properly display the PUT statements. *1 %MEND DL; %DL; ENDRSUBMIT; PUT" PLEASE WAIT WHILE THE.&TRANSFER FILE IS CREATED ", %MACRO TRANS, %LET PCNAME ~ %SUBSTR{&SYSLAST,6); %IF &TRANSFER ~ DIF %THEN %00: FILENAME OUT "C:\LOTUS\&PCNAME.. DIFtI; PROC DIF DATA~&SYSLAST DIF~OUT; %END; tif &TRANSfER DSF %THEN %00, FILENAME OUT "C:\DBASE\&PCNAME 0BF"' PROe DBF DATA~&SYSLAST DB3~OUT; tend: DATA NULL_; PUT " %MENO; %TRANS; DM 'SIGNOFF'; &PCNAME.. &TRANSFER FILE HAS BEEN CREATED": SAS and SAS/SHARE are registered trademarks of SAS Institute Inc., Cary, NC, USA. Contact: Bruce Nawrocki GE Capital Mortgage Insurance 6601 Six Forks Road Raleigh, NC (919)

CHAPTER 7 Examples of Combining Compute Services and Data Transfer Services

CHAPTER 7 Examples of Combining Compute Services and Data Transfer Services 55 CHAPTER 7 Examples of Combining Compute Services and Data Transfer Services Introduction 55 Example 1. Compute Services and Data Transfer Services Combined: Local and Remote Processing 56 Purpose 56

More information

Providing Users with Access to the SAS Data Warehouse: A Discussion of Three Methods Employed and Supported

Providing Users with Access to the SAS Data Warehouse: A Discussion of Three Methods Employed and Supported Providing Users with Access to the SAS Data Warehouse: A Discussion of Three Methods Employed and Supported Cynthia A. Stetz, Merrill Lynch, Plainsboro, NJ Abstract A Data Warehouse is stored in SAS datasets

More information

A simplistic approach to Grid Computing Edmonton SAS Users Group. April 5, 2016 Bill Benson, Enterprise Data Scienc ATB Financial

A simplistic approach to Grid Computing Edmonton SAS Users Group. April 5, 2016 Bill Benson, Enterprise Data Scienc ATB Financial A simplistic approach to Grid Computing Edmonton SAS Users Group April 5, 2016 Bill Benson, Enterprise Data Scienc ATB Financial Grid Computing The Basics Points to Cover: Benefits of Grid Computing Server

More information

An Introduction to SAS/SHARE, By Example

An Introduction to SAS/SHARE, By Example Paper AD01 An Introduction to SAS/SHARE, By Example Larry Altmayer, U.S. Census Bureau, Washington, DC ABSTRACT SAS/SHARE software is a useful tool for allowing several users to access and edit the same

More information

TRANSFERING SAS DATASETS BETWEEN THE PC AND THE MAINFRAME. James Ssemakula Computing Services Center Texas A&M University

TRANSFERING SAS DATASETS BETWEEN THE PC AND THE MAINFRAME. James Ssemakula Computing Services Center Texas A&M University TRANSFERING SAS DATASETS BETWEEN THE PC AND THE MAINFRAME. James Ssemakula Computing Services Center Texas A&M University This paper gives a detailed description of the implementation of the SAS Micro-to-Host

More information

Windows: SPX Access Method

Windows: SPX Access Method 403 CHAPTER 28 Windows: SPX Access Method SAS Support for SPX on Windows 403 Tasks That Are Common to SAS/CONNECT and SAS/SHARE 404 System and Software Requirements for SAS/CONNECT and SAS/SHARE 404 Windows

More information

SAS/Warehouse Administrator Usage and Enhancements Terry Lewis, SAS Institute Inc., Cary, NC

SAS/Warehouse Administrator Usage and Enhancements Terry Lewis, SAS Institute Inc., Cary, NC SAS/Warehouse Administrator Usage and Enhancements Terry Lewis, SAS Institute Inc., Cary, NC ABSTRACT SAS/Warehouse Administrator software makes it easier to build, maintain, and access data warehouses

More information

Driving to Better Credit Policies : The Risk Strategy Instrument Panel

Driving to Better Credit Policies : The Risk Strategy Instrument Panel Paper 30 Driving to Better Credit Policies : The Risk Strategy Instrument Panel Michael Davis, Bassett Consulting Services, North Haven, Connecticut Adam Terr, GE Capital Card Services, Stamford, Connecticut

More information

David S. Septoff Fidia Pharmaceutical Corporation

David S. Septoff Fidia Pharmaceutical Corporation UNLIMITING A LIMITED MACRO ENVIRONMENT David S. Septoff Fidia Pharmaceutical Corporation ABSTRACT The full Macro facility provides SAS users with an extremely powerful programming tool. It allows for conditional

More information

MIS Reporting in the Credit Card Industry

MIS Reporting in the Credit Card Industry MIS Reporting in the Credit Card Industry Tom Hotard, Acxiom Corporation ABSTRACT In credit card acquisition campaigns, it is important to have the ability to keep track of various types of counts. After

More information

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

APPENDIX 4 Migrating from QMF to SAS/ ASSIST Software. Each of these steps can be executed independently. 255 APPENDIX 4 Migrating from QMF to SAS/ ASSIST Software Introduction 255 Generating a QMF Export Procedure 255 Exporting Queries from QMF 257 Importing QMF Queries into Query and Reporting 257 Alternate

More information

Beyond Proc GLM A Statistician's Perspective of (some of) The Rest of the SAS System

Beyond Proc GLM A Statistician's Perspective of (some of) The Rest of the SAS System Beyond Proc GLM A Statistician's Perspective of (some of) The Rest of the SAS System Clark K. Gaylord Virginia Tech, Blacksburg, Va. INTRODUCTION In my experience using the SAS System, I have met many

More information

Procedure for Stamping Source File Information on SAS Output Elizabeth Molloy & Breda O'Connor, ICON Clinical Research

Procedure for Stamping Source File Information on SAS Output Elizabeth Molloy & Breda O'Connor, ICON Clinical Research Procedure for Stamping Source File Information on SAS Output Elizabeth Molloy & Breda O'Connor, ICON Clinical Research ABSTRACT In the course of producing a report for a clinical trial numerous drafts

More information

OS/2: SPX Access Method

OS/2: SPX Access Method 233 CHAPTER 16 OS/2: SPX Access Method SAS Support for SPX on OS/2 233 Tasks That Are Common to SAS/CONNECT and SAS/SHARE 233 System and Software Requirements for SAS/CONNECT and SAS/SHARE 234 Setting

More information

Mainframe-based PC Software Maintenance Cathy Kilburn, SAS Institute Inc., Cary, NC

Mainframe-based PC Software Maintenance Cathy Kilburn, SAS Institute Inc., Cary, NC Mainframe-based PC Software Maintenance Cathy Kilburn, SAS Institute Inc., Cary, NC ABSTRACT The Education Division at SAS Institute uses personal computers for student workshops in its training centers

More information

Using Cross-Environment Data Access (CEDA)

Using Cross-Environment Data Access (CEDA) 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

More information

SAS Data Libraries. Definition CHAPTER 26

SAS Data Libraries. Definition CHAPTER 26 385 CHAPTER 26 SAS Data Libraries Definition 385 Library Engines 387 Library Names 388 Physical Names and Logical Names (Librefs) 388 Assigning Librefs 388 Associating and Clearing Logical Names (Librefs)

More information

Enhancing SAS Piping Through Dynamic Port Allocation

Enhancing SAS Piping Through Dynamic Port Allocation Paper 1826-2014 Enhancing SAS Piping Through Dynamic Port Allocation Piyush Kumar Singh, TATA Consultancy Services Ltd. Indianapolis, IN. Gerhardt M Pohl, Eli Lilly and Company, Indianapolis, IN. ABSTRACT

More information

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

Technical Paper. Defining a Teradata Library with the TERADATA Engine in SAS Management Console Technical Paper Defining a Teradata Library with the TERADATA Engine in SAS Management Console Release Information Content Version: 1.1 August 2017 (This paper replaces TS-808 released in 2011.) Trademarks

More information

Tips & Tricks. With lots of help from other SUG and SUGI presenters. SAS HUG Meeting, November 18, 2010

Tips & Tricks. With lots of help from other SUG and SUGI presenters. SAS HUG Meeting, November 18, 2010 Tips & Tricks With lots of help from other SUG and SUGI presenters 1 SAS HUG Meeting, November 18, 2010 2 3 Sorting Threads Multi-threading available if your computer has more than one processor (CPU)

More information

Using Different Methods for Accessing Non-SAS Data to Build and Incrementally Update That Data Warehouse

Using Different Methods for Accessing Non-SAS Data to Build and Incrementally Update That Data Warehouse Paper DM-01 Using Different Methods for Accessing Non-SAS Data to Build and Incrementally Update That Data Warehouse Abstract Ben Cochran, The Bedford Group, Raleigh, NC Often SAS users need to access

More information

Systems Architecture. Paper

Systems Architecture. Paper Paper 277-28 Accelerating Performance of SAS Applications via Rapid Extraction and Multiprocessing John M. LaBore, Eli Lilly and Company, Indianapolis, IN Fred R. Forst, Eli Lilly and Company, Indianapolis,

More information

SAS/CONNECT for SAS Viya 3.3: User s Guide

SAS/CONNECT for SAS Viya 3.3: User s Guide SAS/CONNECT for SAS Viya 3.3: User s Guide SAS Documentation November 13, 2017 The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2017. SAS/CONNECT for SAS Viya 3.3: User

More information

The %let is a Macro command, which sets a macro variable to the value specified.

The %let is a Macro command, which sets a macro variable to the value specified. Paper 220-26 Structuring Base SAS for Easy Maintenance Gary E. Schlegelmilch, U.S. Dept. of Commerce, Bureau of the Census, Suitland MD ABSTRACT Computer programs, by their very nature, are built to be

More information

Divide and Conquer Writing Parallel SAS Code to Speed Up Your SAS Program

Divide and Conquer Writing Parallel SAS Code to Speed Up Your SAS Program SESUG 2016 Paper PA-265 Divide and Conquer Writing Parallel SAS Code to Speed Up Your SAS Program Doug Haigh, SAS Institute Inc., Cary, NC ABSTRACT Being able to split SAS processing over multiple SAS

More information

SAS Support for TELNET on Windows

SAS Support for TELNET on Windows 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

More information

Macro Magic III. SNUG Presentation (30mins)

Macro Magic III. SNUG Presentation (30mins) Macro Magic III SNUG Presentation (30mins) Overview Macro Magic Posters have been displayed at the last 2 SUGA presentations. Continue the trend Hopefully everyone will learn something new SAS Macro -

More information

The Micro-to-Host Link - Features and Future Directions

The Micro-to-Host Link - Features and Future Directions The Micro-to-Host Link - Features and Future Directions Cheryl Garner Dave Kolb SAS Institute Inc.} Cary, N.C. Abstract This paper discusses the latest enhancements to the micro-to-host link: and some

More information

Locking SAS Data Objects

Locking SAS Data Objects 59 CHAPTER 5 Locking SAS Data Objects Introduction 59 Audience 60 About the SAS Data Hierarchy and Locking 60 The SAS Data Hierarchy 60 How SAS Data Objects Are Accessed and Used 61 Types of Locks 62 Locking

More information

Storing and Reusing Macros

Storing and Reusing Macros 101 CHAPTER 9 Storing and Reusing Macros Introduction 101 Saving Macros in an Autocall Library 102 Using Directories as Autocall Libraries 102 Using SAS Catalogs as Autocall Libraries 103 Calling an Autocall

More information

Useful Tips When Deploying SAS Code in a Production Environment

Useful Tips When Deploying SAS Code in a Production Environment Paper SAS258-2014 Useful Tips When Deploying SAS Code in a Production Environment ABSTRACT Elena Shtern, SAS Institute Inc., Arlington, VA When deploying SAS code into a production environment, a programmer

More information

BIOMETRICS INFORMATION

BIOMETRICS INFORMATION BIOMETRICS INFORMATION (You re 95% likely to need this information) PAMPHLET NO. # 24 DATE: February 9, 1990 SUBJECT: Reading WATFILE files into SAS WATFILE is a useful package for data entry because it

More information

ABSTRACT MORE THAN SYNTAX ORGANIZE YOUR WORK THE SAS ENTERPRISE GUIDE PROJECT. Paper 50-30

ABSTRACT MORE THAN SYNTAX ORGANIZE YOUR WORK THE SAS ENTERPRISE GUIDE PROJECT. Paper 50-30 Paper 50-30 The New World of SAS : Programming with SAS Enterprise Guide Chris Hemedinger, SAS Institute Inc., Cary, NC Stephen McDaniel, SAS Institute Inc., Cary, NC ABSTRACT SAS Enterprise Guide (with

More information

SAS File Management. Improving Performance CHAPTER 37

SAS File Management. Improving Performance CHAPTER 37 519 CHAPTER 37 SAS File Management Improving Performance 519 Moving SAS Files Between Operating Environments 520 Converting SAS Files 520 Repairing Damaged Files 520 Recovering SAS Data Files 521 Recovering

More information

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

Interoperability Features of the SAS System: Administering and Using SAS/CONNECT and SAS/ACCESS Interoperability Features of the SAS System: Administering and Using SAS/CONNECT and SAS/ACCESS Steven A. Wilson, Resource Biometrics, Inc., Emeryville, CA. Joseph F. Terdiman MD,PhD Kaiser Permanente

More information

CHAPTER 5 Macintosh: TCP/IP Access Method

CHAPTER 5 Macintosh: TCP/IP Access Method 69 CHAPTER 5 Macintosh: TCP/IP Access Method SAS Support for TCP/IP on Macintosh 69 Tasks That Are Common to SAS/CONNECT and SAS/SHARE 70 System and Software Requirements for SAS/CONNECT and SAS/SHARE

More information

My objective is twofold: Examine the capabilities of MP Connect and apply those capabilities to a real-world application.

My objective is twofold: Examine the capabilities of MP Connect and apply those capabilities to a real-world application. Abstract MP CONNECT: Warp Engine for SAS (Multi-Processing in the Sun Solaris Environment). Pablo J. Nogueras CitiFinancial International, Risk Management Technology, Irving, Texas When you are assigned

More information

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

_beginmethod method 177 BINARY option, PROC DOWNLOAD statement. BINARY option, PROC UPLOAD statement Index 509 Index A _abortagentrun, AGENT class method 443 _acceptattachment method, SCL Cnction class 322 _acceptattachment method, SCL Queue class 347 access control SAS libraries 78 ACCESS= option 78

More information

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

Using MDP Extensions. What Is the Multidimensional Data Provider? CHAPTER 3 29 CHAPTER 3 Using MDP Extensions What Is the Multidimensional Data Provider? 29 Data Requirements 30 Setting Up the MDP Metadata 30 Data Groups 31 Servers 34 EIS Registrations 37 Using MDP in EIS without

More information

Principles of Automation

Principles of Automation Principles of Automation The Problem Over 200 reports to be run either daily, weekly, or monthly Reports take between 30 minutes and 4 hours of analyst time to run Changes to existing reports and new reports

More information

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

Encryption Services. What Are Encryption Services? Terminology. System and Software Requirements APPENDIX 2 487 APPENDIX 2 Encryption Services What Are Encryption Services? 487 Terminology 487 System and Software Requirements 487 Requirements for SAS Proprietary Encryption Services 488 Communications Access

More information

CHAPTER 13 Importing and Exporting External Data

CHAPTER 13 Importing and Exporting External Data 127 CHAPTER 13 Importing and Exporting External Data Chapter Overview 127 Exporting a File 127 Instructions 128 Exiting This Task 130 Importing Data from a Flat File 130 Instructions 130 Chapter Overview

More information

MICRO-TO-HOST LINK PERFORMANCE CONSIDERATIONS. John D. Ebner, Utton Computer Services Donald R. Deese, Computer Management Sciences.

MICRO-TO-HOST LINK PERFORMANCE CONSIDERATIONS. John D. Ebner, Utton Computer Services Donald R. Deese, Computer Management Sciences. MICRO-TO-HOST LINK PERFORMANCE CONSIDERATIONS John D. Ebner, Utton Computer Services Donald R. Deese, Computer Management Sciences Abstract The SAS micro-to-host link provides the capability to distribute

More information

A SAS Macro for Producing Benchmarks for Interpreting School Effect Sizes

A SAS Macro for Producing Benchmarks for Interpreting School Effect Sizes A SAS Macro for Producing Benchmarks for Interpreting School Effect Sizes Brian E. Lawton Curriculum Research & Development Group University of Hawaii at Manoa Honolulu, HI December 2012 Copyright 2012

More information

Use SAS/AF, SCL and MACRO to Build User-friendly Applications on UNIX

Use SAS/AF, SCL and MACRO to Build User-friendly Applications on UNIX Use SAS/AF, SCL and MACRO to Build User-friendly Applications on UNIX Minghui Yang, Ph.D, Boeing Logistics Market Research O. Introduction In the business application environment, many business analysts

More information

Automated Checking Of Multiple Files Kathyayini Tappeta, Percept Pharma Services, Bridgewater, NJ

Automated Checking Of Multiple Files Kathyayini Tappeta, Percept Pharma Services, Bridgewater, NJ PharmaSUG 2015 - Paper QT41 Automated Checking Of Multiple Files Kathyayini Tappeta, Percept Pharma Services, Bridgewater, NJ ABSTRACT Most often clinical trial data analysis has tight deadlines with very

More information

Customizing Your SAS Session

Customizing Your SAS Session 13 CHAPTER 2 Customizing Your SAS Session Introduction 13 Specifying System Options in the SAS Command 14 Configuration Files 15 Creating a User Configuration File 15 Specifying a User Configuration File

More information

Files Arriving at an Inconvenient Time? Let SAS Process Your Files with FILEEXIST While You Sleep

Files Arriving at an Inconvenient Time? Let SAS Process Your Files with FILEEXIST While You Sleep Files Arriving at an Inconvenient Time? Let SAS Process Your Files with FILEEXIST While You Sleep Educational Testing Service SAS and all other SAS Institute Inc. product or service names are registered

More information

Different Methods for Accessing Non-SAS Data to Build and Incrementally Update That Data Warehouse

Different Methods for Accessing Non-SAS Data to Build and Incrementally Update That Data Warehouse Different Methods for Accessing Non-SAS Data to Build and Incrementally Update That Data Warehouse Ben Cochran, The Bedford Group, Raleigh, NC Abstract Often SAS users need to access data from non- SAS

More information

% BigDataLoader: A SAS Macro to Migrate Big Data 99% Faster

% BigDataLoader: A SAS Macro to Migrate Big Data 99% Faster % BigDataLoader: A SAS Macro to Migrate Big Data 99% Faster Anant Sharma Data warehousing & Business Intelligence, Wipro Technologies, Mumbai, India Abstract: The world as we know, is much more competitive

More information

Army Hearing Evaluation Automated Registry System (HEARS) Corporate Data Reporting System -- A Customized EIS Solution

Army Hearing Evaluation Automated Registry System (HEARS) Corporate Data Reporting System -- A Customized EIS Solution Army Hearing Evaluation Automated Registry System (HEARS) Corporate Data Reporting System -- A Customized EIS Solution Krista Elspas, Troy Systems, Inc. -- Fort Detrick, Frederick, MD Julie Shadoan, Dept.

More information

QUEST Procedure Reference

QUEST Procedure Reference 111 CHAPTER 9 QUEST Procedure Reference Introduction 111 QUEST Procedure Syntax 111 Description 112 PROC QUEST Statement Options 112 Procedure Statements 112 SYSTEM 2000 Statement 114 ECHO ON and ECHO

More information

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

SAS Catalogs. Definition. Catalog Names. Parts of a Catalog Name CHAPTER 32 479 CHAPTER 32 SAS Catalogs Definition 479 Catalog Names 479 Parts of a Catalog Name 479 Accessing Information in Catalogs 480 Tools for Managing Catalogs 480 User Profile Catalog 481 Definition 481 How

More information

A Guided Tour Through the SAS Windowing Environment Casey Cantrell, Clarion Consulting, Los Angeles, CA

A Guided Tour Through the SAS Windowing Environment Casey Cantrell, Clarion Consulting, Los Angeles, CA A Guided Tour Through the SAS Windowing Environment Casey Cantrell, Clarion Consulting, Los Angeles, CA ABSTRACT The SAS system running in the Microsoft Windows environment contains a multitude of tools

More information

SAS Application Development Using Windows RAD Software for Front End

SAS Application Development Using Windows RAD Software for Front End Applications Development SAS Application Development Using Windows RAD Software for Front End Zhuan (John) Xu Blue Cross Blue Shield ofiowa & Big Creek Software, Des Moines, IA Abstract This paper presents

More information

10 The First Steps 4 Chapter 2

10 The First Steps 4 Chapter 2 9 CHAPTER 2 Examples The First Steps 10 Invoking the Query Window 11 Changing Your Profile 11 ing a Table 13 ing Columns 14 Alias Names and Labels 14 Column Format 16 Creating a WHERE Expression 17 Available

More information

Using SAS/SHARE More Efficiently

Using SAS/SHARE More Efficiently Using More Efficiently by Philip R Holland, Holland Numerics Ltd, UK Abstract is a very powerful product which allow concurrent access to SAS Datasets for reading and updating. However, if not used with

More information

Paper A Simplified and Efficient Way to Map Variable Attributes of a Clinical Data Warehouse

Paper A Simplified and Efficient Way to Map Variable Attributes of a Clinical Data Warehouse Paper 117-28 A Simplified and Efficient Way to Map Variable Attributes of a Clinical Data Warehouse Yanyun Shen, Genentech, Inc., South San Francisco ABSTRACT In the pharmaceutical industry, pooling a

More information

A Mass Symphony: Directing the Program Logs, Lists, and Outputs

A Mass Symphony: Directing the Program Logs, Lists, and Outputs PharmaSUG2011 Paper CC24 ABSTRACT A Mass Symphony: Directing the Program Logs, Lists, and Outputs Tom Santopoli, Octagon Research Solutions, Inc., Wayne, PA When executing programs in SAS, it is efficient

More information

Defining Your Data Sources

Defining Your Data Sources 11 CHAPTER 2 Defining Your Data Sources Introduction 11 Accessing the SAS ODBC Driver Dialogs 11 Naming Your Data Source and Specifying SQL Options 14 Defining Servers 15 Deleting a Server Definition 19

More information

Using SAS Files CHAPTER 3

Using SAS Files CHAPTER 3 77 CHAPTER 3 Using SAS Files Introduction to SAS Files 78 What Is a SAS File? 78 Types of SAS Files 79 Using Short or Long File Extensions in SAS Libraries 80 SAS Data Sets (Member Type: Data or View)

More information

, endsubmit; RETURN;

, endsubmit; RETURN; MULTIPLE APPLICATIONS IN SAS SOFTWARE Ionathan M. Siegel, Trilogy Consulting Corporation, Kalamazoo, MI ABSTRACT SAS Software allows users to open multiple application windows at the same time, giving

More information

Changes and Enhancements

Changes and Enhancements vii Introduction This section describes the host-specific features of SAS software under OS/390 that have been implemented or enhanced since the 6.09 Enhanced Release. Note: Information about changes and

More information

Submitting SAS Code On The Side

Submitting SAS Code On The Side ABSTRACT PharmaSUG 2013 - Paper AD24-SAS Submitting SAS Code On The Side Rick Langston, SAS Institute Inc., Cary NC This paper explains the new DOSUBL function and how it can submit SAS code to run "on

More information

Administration & Support

Administration & Support A Parallel Processing Primer Gil Jacobsen Independent Contractor Russ Lavery Contractor for ASG, Inc. ABSTRACT SAS has added many new features to V9.1, features that can dramatically reduce the clock-time-to-solution

More information

Paper HOW-06. Tricia Aanderud, And Data Inc, Raleigh, NC

Paper HOW-06. Tricia Aanderud, And Data Inc, Raleigh, NC Paper HOW-06 Building Your First SAS Stored Process Tricia Aanderud, And Data Inc, Raleigh, NC ABSTRACT Learn how to convert a simple SAS macro into three different stored processes! Using examples from

More information

SAS/ACCESS Interface to R/3

SAS/ACCESS Interface to R/3 9.1 SAS/ACCESS Interface to R/3 User s Guide The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2004. SAS/ACCESS 9.1 Interface to R/3: User s Guide. Cary, NC: SAS Institute

More information

Using SAS Files CHAPTER 3

Using SAS Files CHAPTER 3 55 CHAPTER 3 Using SAS Files Introduction to SAS Files 56 What Is a SAS File? 56 Types of SAS Files 57 Using Short or Long File Extensions in SAS Libraries 58 SAS Data Sets (Member Type: Data or View)

More information

Administrator for Enterprise Clients: User s Guide. Second Edition

Administrator for Enterprise Clients: User s Guide. Second Edition Administrator for Enterprise Clients: User s Guide Second Edition The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2002. Administrator for Enterprise Clients: User s

More information

Pros and Cons of Interactive SAS Mode vs. Batch Mode Irina Walsh, ClinOps, LLC, San Francisco, CA

Pros and Cons of Interactive SAS Mode vs. Batch Mode Irina Walsh, ClinOps, LLC, San Francisco, CA Pros and Cons of Interactive SAS Mode vs. Batch Mode Irina Walsh, ClinOps, LLC, San Francisco, CA ABSTRACT It is my opinion that SAS programs can be developed in either interactive or batch mode and produce

More information

Chapter 3 Managing Results in Projects. Chapter Table of Contents

Chapter 3 Managing Results in Projects. Chapter Table of Contents Chapter 3 Managing Results in Projects Chapter Table of Contents Introduction... 55 Managing Projects... 55 CreatingaProject... 55 SavingaProject... 56 SavingaProjectUnderAnotherName... 57 RenamingaFolder...

More information

Using the SQL Editor. Overview CHAPTER 11

Using the SQL Editor. Overview CHAPTER 11 205 CHAPTER 11 Using the SQL Editor Overview 205 Opening the SQL Editor Window 206 Entering SQL Statements Directly 206 Entering an SQL Query 206 Entering Non-SELECT SQL Code 207 Creating Template SQL

More information

A Simple SAS/AF Program To Manage SAS/CONNECT Sessions David D. Chapman, U.S. Bureau of the Census

A Simple SAS/AF Program To Manage SAS/CONNECT Sessions David D. Chapman, U.S. Bureau of the Census Paper 100 A Simple SAS/AF Program To Manage SAS/CONNECT Sessions David D. Chapman, U.S. Bureau of the Census ABSTRACT The Census Bureau is a large organization with a varied and changing computing environment

More information

Frequently Asked Questions. Micro Filter

Frequently Asked Questions. Micro Filter Installation, configuration, setup Frequently Asked s Micro Filter I just installed the new version of the Micro Filter for Windows (non-tcp/ip version) and now when I run a report in URSA, I get the message

More information

rc = libname( mylib, /nosuch ); if rc ne 0 then %fatal; OR if libname( mylib, /nosuch ) then %fatal; Select (flag); when (1) when (2) otherwise %fatal(text= Unexpected flag value, syscodes=n); end; %macro

More information

Top Coding Tips. Neil Merchant Technical Specialist - SAS

Top Coding Tips. Neil Merchant Technical Specialist - SAS Top Coding Tips Neil Merchant Technical Specialist - SAS Bio Work in the ANSWERS team at SAS o Analytics as a Service and Visual Analytics Try before you buy SAS user for 12 years obase SAS and O/S integration

More information

Photos with Text Reports on the Same SAS/AF Screen

Photos with Text Reports on the Same SAS/AF Screen Photos with Text Reports on the Same SAS/AF Screen Michael Shreve, American Honda Motor Company, Torrance, California Abstract The day of the digital media has arrived! Our field reps are armed with digital

More information

Review of PC-SAS Batch Programming

Review of PC-SAS Batch Programming Ronald J. Fehd September 21, 2007 Abstract This paper presents an overview of issues of usage of PC-SAS R in a project directory. Topics covered include directory structures, how to start SAS in a particular

More information

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

Permission Program. Support for Version 6 Only. Allowing SAS/SHARE Client Access to SAS Libraries or Files CHAPTER 40 499 CHAPTER 40 Permission Program Support for Version 6 Only 499 Allowing SAS/SHARE Client Access to SAS Libraries or Files 499 Permission Program Examples 500 Building the Permission Program 500 Testing

More information

Arthur L. Carpenter California Occidental Consultants, Oceanside, California

Arthur L. Carpenter California Occidental Consultants, Oceanside, California Paper 028-30 Storing and Using a List of Values in a Macro Variable Arthur L. Carpenter California Occidental Consultants, Oceanside, California ABSTRACT When using the macro language it is not at all

More information

A shell can be used in one of two ways:

A shell can be used in one of two ways: Shell Scripting 1 A shell can be used in one of two ways: A command interpreter, used interactively A programming language, to write shell scripts (your own custom commands) 2 If we have a set of commands

More information

Using an ICPSR set-up file to create a SAS dataset

Using an ICPSR set-up file to create a SAS dataset Using an ICPSR set-up file to create a SAS dataset Name library and raw data files. From the Start menu, launch SAS, and in the Editor program, write the codes to create and name a folder in the SAS permanent

More information

Introducing the SAS ODBC Driver

Introducing the SAS ODBC Driver 1 CHAPTER 1 Introducing the SAS ODBC Driver 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 SAS Data

More information

* BDBF can extract data from MXG (Merrill's Expanded Guide to CPE, a product of Merlill

* BDBF can extract data from MXG (Merrill's Expanded Guide to CPE, a product of Merlill USING MACRO VARIABLE LISTS Presented at the Pittsburgh SAS USer's Group, November 19, 1987 Ken Whitaker Duquesne Systems Inc. ABSTRACT A macro variable list is a SAS macro variable that contains a list

More information

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

Procedures. PROC CATALOG CATALOG=<libref.>catalog <ENTRYTYPE=etype> <KILL>; CONTENTS <OUT=SAS-data-set> <FILE=fileref;> 355 CHAPTER 19 Procedures SAS Procedures under Windows 355 CATALOG 355 CIMPORT 356 CONTENTS 357 CONVERT 358 CPORT 361 DATASETS 361 OPTIONS 363 PMENU 364 PRINTTO 365 SORT 367 SAS Procedures under Windows

More information

SAS Drug Development Program Portability

SAS Drug Development Program Portability PharmaSUG2011 Paper SAS-AD03 SAS Drug Development Program Portability Ben Bocchicchio, SAS Institute, Cary NC, US Nancy Cole, SAS Institute, Cary NC, US ABSTRACT A Roadmap showing how SAS code developed

More information

SAS/C Debugger User s Guide and Reference, Release 7.00

SAS/C Debugger User s Guide and Reference, Release 7.00 SAS/C Debugger User s Guide and Reference, Release 7.00 The correct bibliographic citation for this manual is as follows: SAS Institute Inc., SAS/C Debugger User s Guide and Reference, Release 7.00, Cary,

More information

Improving Your Relationship with SAS Enterprise Guide Jennifer Bjurstrom, SAS Institute Inc.

Improving Your Relationship with SAS Enterprise Guide Jennifer Bjurstrom, SAS Institute Inc. ABSTRACT Paper BI06-2013 Improving Your Relationship with SAS Enterprise Guide Jennifer Bjurstrom, SAS Institute Inc. SAS Enterprise Guide has proven to be a very beneficial tool for both novice and experienced

More information

Text Generational Data Sets (Text GDS)

Text Generational Data Sets (Text GDS) Paper 274-2017 Text Generational Data Sets (Text GDS) Dr. Kannan Deivasigamani HSBC ABSTRACT This paper offers a way to fill the void that SAS currently has with respect to the missing feature in the language,

More information

FSEDIT Procedure Windows

FSEDIT Procedure Windows 25 CHAPTER 4 FSEDIT Procedure Windows Overview 26 Viewing and Editing Observations 26 How the Control Level Affects Editing 27 Scrolling 28 Adding Observations 28 Entering and Editing Variable Values 28

More information

Loading Data. Introduction. Understanding the Volume Grid CHAPTER 2

Loading Data. Introduction. Understanding the Volume Grid CHAPTER 2 19 CHAPTER 2 Loading Data Introduction 19 Understanding the Volume Grid 19 Loading Data Representing a Complete Grid 20 Loading Data Representing an Incomplete Grid 21 Loading Sparse Data 23 Understanding

More information

Functions and CALL Routines

Functions and CALL Routines 179 CHAPTER 13 Functions and CALL Routines Functions and CALL Routines in the OS/390 Environment 179 Dictionary 180 DINFO 182 DOPEN 186 DOPTNAME 186 DOPTNUM 187 FCLOSE 188 FDELETE 188 FEXIST 189 FILEEXIST

More information

Administering SAS Enterprise Guide 4.2

Administering SAS Enterprise Guide 4.2 Administering SAS Enterprise Guide 4.2 SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2009. Administering SAS Enterprise Guide 4.2. Cary, NC: SAS

More information

SAS/CONNECT 9.2. User s Guide

SAS/CONNECT 9.2. User s Guide SAS/CONNECT 9.2 User s Guide The correct bibliographic citation for this manual is as follows: SAS Institute Inc., 2009. SAS/CONNECT 9.2 User s Guide. Cary, NC: SAS Institute Inc. SAS/CONNECT 9.2 User

More information

Lab 1: Accessing the Linux Operating System Spring 2009

Lab 1: Accessing the Linux Operating System Spring 2009 CIS 90 Linux Lab Exercise Lab 1: Accessing the Linux Operating System Spring 2009 Lab 1: Accessing the Linux Operating System This lab takes a look at UNIX through an online experience on an Ubuntu Linux

More information

* Link customized PF key settings for

* Link customized PF key settings for comprehensive usage of PROC FSEDIT, version 6. Andrew P. Ford, Northern Indiana Public Service Company, Merrillville, Indiana ABSTRACT This paper presents an advanced application of FSEDIT under version

More information

Macros from Beginning to Mend A Simple and Practical Approach to the SAS Macro Facility

Macros from Beginning to Mend A Simple and Practical Approach to the SAS Macro Facility Macros from Beginning to Mend A Simple and Practical Approach to the SAS Macro Facility Michael G. Sadof, MGS Associates, Inc., Bethesda, MD. ABSTRACT The macro facility is an important feature of the

More information

SAS IT Resource Management Forecasting. Setup Specification Document. A SAS White Paper

SAS IT Resource Management Forecasting. Setup Specification Document. A SAS White Paper SAS IT Resource Management Forecasting Setup Specification Document A SAS White Paper Table of Contents Introduction to SAS IT Resource Management Forecasting... 1 Getting Started with the SAS Enterprise

More information

SAS Macro Dynamics - From Simple Basics to Powerful Invocations Rick Andrews, Office of the Actuary, CMS, Baltimore, MD

SAS Macro Dynamics - From Simple Basics to Powerful Invocations Rick Andrews, Office of the Actuary, CMS, Baltimore, MD Paper BB-7 SAS Macro Dynamics - From Simple Basics to Powerful Invocations Rick Andrews, Office of the Actuary, CMS, Baltimore, MD ABSTRACT The SAS Macro Facility offers a mechanism for expanding and customizing

More information

OVERVIEW OF THE SAS GRID

OVERVIEW OF THE SAS GRID OVERVIEW OF THE SAS GRID Host Caroline Scottow Presenter Peter Hobart MANAGING THE WEBINAR In Listen Mode Control bar opened with the white arrow in the orange box Copyr i g ht 2012, SAS Ins titut e Inc.

More information