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

Size: px
Start display at page:

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

Transcription

1 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 the same end results. To achieve identical results in both modes a few rules have to be followed. This paper explores the differences and limitations of developing a program in interactive SAS display manager mode versus batch mode and shows how to work around some of these limitations. The pros and cons of both approaches are discussed. Examples of techniques to achieve successful program execution in both modes are offered. INTRODUCTION The interactive SAS display manager is a powerful tool that allows you the use of explorer, log, output and results windows where you can examine your input or output SAS data, it also lets you use the enhanced editor window and view the log as you work on your code. This set of tools is very accommodating in the process of program development. The SAS Batch mode allows you to run programs in the background while you continue working in Interactive SAS, it also automatically creates a log file and output file, which you can review after the program runs. While Interactive SAS mode and Batch mode each have their advantages, there are considerable differences to pay attention to. This paper highlights the differences and limitations in the use of Interactive SAS Mode vs. Batch Mode and also provides some examples and workarounds to eliminate these differences. It is primarily directed to the novice user of SAS Software. The examples in this paper are processed by using the MS Windows XP operating system and SAS version 9.1. AUTOEXEC One factor to consider is that, in order to run programs in Batch mode, an AUTOEXEC.SAS file is required, unlike in Interactive mode. However setting up paths, libraries, options and operating environment for programs in one place is a good practice and it is recommended when using interactive mode as well. The following code provides a simple example of AUTOEXEC.SAS. /*define programs directory*/ %let ProjectPath=C:\WUSS2010; %let ProgFld=&ProjectPath.\Programs; %let Reportfld=&ProjectPath.\Reports; %let Logsfld=&ProjectPath.\Programs\Logs_Outputs; /*define macro programs directory*/ filename stdmacro "&ProjectPath.\Macros"; options sasautos = (stdmacro) mautosource; /*define libraries*/ libname rawdata "&ProjectPath\Rawdata"; To run programs in Batch mode, the AUTOEXEC.SAS file should be placed in the same folder where the programs are located. The current directory is the first place where SAS will try to locate the AUTOEXEC file. If you use the same directory structure for all of your projects you can create a dynamic AUTOEXEC file and use it for all of your projects with needed modifications. For example the directory used for this project is: 1

2 Figure 1 Project Directory Example Thus a standard approach can be used to create the AUTOEXEC file. The example shown accommodates both the Interactive mode as well as the Batch mode. The environmental variable SAS_EXECFILEPATH takes the values of the file path and filename from the Enhanced Editor during the Interactive mode whereas the SYSIN option specifies a Batch mode file source and its path. /*Works in batch mode*/ %let seefld=%sysfunc(getoption(sysin)); /*Works in Interactive Mode*/ %MACRO prgmpath(); %global fldnamep; %let fldnamep= ; %if %length(&seefld)=0 %then %let fldnamep=%sysget(sas_execfilepath); %MEND prgmpath; %prgmpath; %let ProjectPath=%sysfunc(ifc(&seefld=, %sysfunc(tranwrd(&fldnamep.,\programs\%scan(&fldnamep.,-1,\/),)), %sysfunc(tranwrd(&seefld.,\programs\%scan(&seefld.,-1,\/),)))); %let ProgFld=&ProjectPath.\Programs; %let Reportfld=&ProjectPath.\Reports; %let Logsfld=&ProjectPath.\Programs\Logs_Outputs; /*define macro programs directory*/ filename stdmacro "&ProjectPath.\Macros"; options sasautos = (stdmacro)mautosource; /*define libraries*/ libname rawdata "&ProjectPath\Rawdata"; Please note- If you run an AUTOEXEC program in Batch mode while Interactive SAS is open or interactively in consecutive SAS sessions, your profile will not be available and you will get the following message in your log: NOTE: Unable to open SASUSER.REGSTRY. WORK.REGSTRY will be opened instead. NOTE: All registry changes will be lost at the end of the session. WARNING: Unable to copy SASUSER registry to WORK registry. Because of this, you will not see registry customizations during this session. NOTE: Unable to open SASUSER.PROFILE. WORK.PROFILE will be opened instead. NOTE: All profile changes will be lost at the end of the session. This message is displayed if more than one SAS session is open, -RSASUSER option in the configuration file set to NORSASUSER, or regstry.sas7bitm file is corrupted. To check your option settings, run the following code: PROC OPTIONS option=rsasuser; run; 2

3 The RSASUSER option makes the SASUSER library read-only and makes it available in many SAS sessions. It also allows access to automatic LIBNAME definitions stored in the regstry.sas7bitm file. More information on setting the RSASUSER option is available on the SAS support web site. This message can be ignored if printing preferences and options saved in SASUSER catalog are defined in the AUTOEXEC.SAS file. /*define options*/ options nodate nonumber linesize=154 pagesize=56; options sysprint="hp Photosmart C4380 series"; options formchar=" = -/\<>*"; AUTOEXEC.SAS is a default name for the file that executes right after SAS is initialized and before any user input is accepted. However, if you need to use a file, for example named SETUP.SAS, instead of the AUTOEXEC.SAS file, you can create a new action associated with running SAS programs. To create new actions choose Folder Option from the Tools menu in Windows Explorer. Figure 2 Folder Option Window Select file type SAS from the File Type tab and press Advance button to open the Edit File Type window. Figure 3 Edit File Type Window 3

4 Press New button and open the New Action window. Figure 4 New Action Window Enter a new action name for example Batch submit with Setup under the Action textbox and enter the following code under Application used to perform action: C:\PROGRA~1\SAS\SAS9~1.1\SAS.EXE "%1" -nologo -config C:\PROGRA~1\SAS\SAS9~1.1\SASV9.CFG -autoexec Setup.sas Now when you right click on any of the SAS programs you can choose to run you programs in batch with SETUP.SAS instead of AUTOEXEC file. Figure 5 Context Menu for SAS Program These changes can be made directly in your configuration file as well. However it is easier and more straightforward to call it AUTOEXEC.SAS. When you run a program in Batch mode the information from AUTOEXEC file will be included in the log automatically. In Interactive SAS mode you will have to run AUTOEXEC.SAS before you run a program or you can use a %include statement with OPTIONS SOURCE2 at the top of your program in order to include source code from the AUTOEXEC file in the program log. 4

5 LOG AND OUTPUT The main difference to consider is the speed of execution, especially when a program creates a large log file or a large output file. When you run such a program in Interactive mode the log display window and output display windows use bold fonts and colors to make it easy to read and it will take more processing time for writing these outputs whereas the log file and the output file produced in Batch mode do not use colors or bold fonts and take less processing time. One way to produce a log file and an output file when running programs in Interactive SAS display manager is to use PROC PRINTTO. In this case the log will not be printed in the log window, which will save processing time since it is redirected to a log file specified in filename statement. /*define output files*/ filename output "&Logsfld.\Program1.lst" ; filename logfile "&Logsfld.\Program1.log" ; PROC PRINTTO print=output new; PROC PRINTTO log=logfile new; Code Here----- PROC PRINTTO; Another way is to use dm (display manager) commands to save log and output files after processing. In this case the log and the output will be printed in the corresponding windows and processing time will not be decreased. The dm commands work in Interactive mode and will be ignored in Batch mode %sysfunc(ifc(%length(&seefld)=0, filename outputl "&Logsfld.\Program1.lst"; filename logfile "&Logsfld.\Program1.log"; dm 'log; file LOGFILE replace' log; dm 'output; file OUTPUTL replace' output;, )); One of the advantages of Batch mode is that the log and output files are generated automatically. These files are an important part of the program documentation. When we run a programs in Interactive mode we can programmatically redirect and output these files for documentation purposes. ODS RTF- THINGS TO KNOW The challenge for a programmer is to try to create a program so it can run in either mode and produce exactly the same output results. Some steps will require applying special programming code in order to produce the same output from Interactive mode and Batch mode. For example, if you use a DATA _NULL_ statement with ODS RTF you might encounter that blank lines are removed from output if you run the program in the Batch mode. For example, if we run the following code in Interactive mode: DATA class; set sashelp.class; PROC FORMAT; value $gender 'F'='Female' 'M'='Male'; PROC TEMPLATE; define style styles.land7; parent = styles.rtf; replace fonts / 'TitleFont2' = ("Courier New, Courier",7pt) 5

6 'TitleFont' = ("Courier New, Courier",7pt) 'StrongFont' = ("Courier New, Courier",7pt) 'EmphasisFont' = ("Courier New, Courier",7pt) 'FixedEmphasisFont' = ("Courier New, Courier",7pt) 'FixedStrongFont' = ("Courier New, Courier",7pt) 'FixedHeadingFont' = ("Courier New, Courier",7pt) 'BatchFixedFont' = ("Courier New, Courier",7pt) 'FixedFont' = ("Courier New, Courier",7pt) 'headingemphasisfont' =("Courier New, Courier",7pt) 'headingfont' = ("Courier New, Courier",7pt) 'docfont' = ("Courier New, Courier",7pt); replace body from document/ leftmargin = 1 in rightmargin = 1 in topmargin = 1 in bottommargin = 1 in; end; ods output OneWayFreqs=OneWayFreqs; PROC FREQ data=class; tables sex; format sex $gender.; ods output close; %let title1=class 2010; %let linesize=154; %let pagesize=56; options nodate nonumber orientation=landscape ps=&pagesize ls=&linesize; ods rtf file="&reportfld.\imode_output.rtf" style=styles.land7; ods noresults; ods listing close; DATA _null_; set OneWayFreqs end=lastobs; retain pageno 0; file print linesleft=remain notitles n=1; if _n_=1 then link header; put /@4 Percent; if (lastobs) then link footer; header: put _page_; pageno+1; "&title1." ; 62 *'_' /@4 ' Number in 'Percent of total (%)' /@1 62 *'_'; footer: 62 *'_' /@1 "&ProjectPath.\Programs\Program1.sas"; ods listing; ods rtf close; The output produced by the code above: 6

7 Figure 6 ODS RTF Output run in Interactive SAS mode However, when we submit the same code in Batch mode, the blank lines will be eliminated from the output. Figure 7 ODS RTF run in Batch mode The ODS ESCAPECHAR-'^' with PUT ^\~ at the place of blank line provides a solution to keep all blank spaces while running program in Batch mode. ods escapechar='^'; options nodate nonumber orientation=landscape ps=&pagesize ls=&linesize; ods rtf file="&reportfld.\imode_output.rtf" style=styles.land7; ods noresults; ods listing close; DATA _null_; set OneWayFreqs end=lastobs; retain pageno 0; file print linesleft=remain notitles n=1; if _n_=1 then link header; put '^\~'; Percent; if (lastobs) then link footer; header: put _page_; pageno+1; "&title1." ; 62 *'_' ; put '^\~' ; ' Number in 'Percent of total (%)'; 62 *'_'; footer: 62 *'_'; "&ProjectPath.\Programs\Program1.sas"; 7

8 ods listing; ods rtf close; CONCLUSION It is my opinion that SAS programs can be developed in either Interactive mode or Batch mode and can produce the same end results. To achieve identical results in both modes you should remember to set all your options, templates, paths, libraries in one place and make them accessible in Interactive mode and in Batch mode. The AUTOEXEC.SAS file should contains all of your settings. If you use special options in your program, make sure to turn them off at the end of the program. You also should know that not all options and environmental variables are available in both modes and use them appropriately. One of the advantages of Interactive SAS mode is a user-friendly environment for development of a program with many tools for customizing your session. The great advantage of the Batch Mode is a considerable decrease in processing time. It is a good practice when you develop your program to make sure it is run in both Interactive mode and Batch mode and produce the same end result. It is important to save log and output files for audit documentation regardless of how you generate and execute your program. By using system options and environmental variables, you can easily control your output and generate the same output result. 8

9 REFERENCES Wei Cheng (2003), Build a SAS Development Environment under Windows SUGI, Paper SAS Community website Modified on 31 August 2010, at 10:23 SAS Support Tech Notes Copyright 2007 SAS Institute Inc. SAS Help documentation: Using the SAS Editors under Windows CONTACT INFORMATION If you have any comments and questions regarding this paper, please contact: Irina Walsh ClinOps, LLC (Pacific Data Designs, LLC and ClinPro, Inc. are now ClinOps, LLC) 353 Sacramento Street, Suite 800 San Francisco, California (415) ext. 199 FAX (415) Irina.Walsh@clinops.com 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. Other brand and product names are trademarks of their respective companies. 9

DESCRIPTION OF THE PROJECT

DESCRIPTION OF THE PROJECT Skinning the Cat This Way and That: Using ODS to Create Word Documents That Work for You Elizabeth Axelrod, Abt Associates Inc., Cambridge, MA David Shamlin, SAS Institute Inc., Cary, NC ABSTRACT By supporting

More information

Essential ODS Techniques for Creating Reports in PDF Patrick Thornton, SRI International, Menlo Park, CA

Essential ODS Techniques for Creating Reports in PDF Patrick Thornton, SRI International, Menlo Park, CA Thornton, S. P. (2006). Essential ODS techniques for creating reports in PDF. Paper presented at the Fourteenth Annual Western Users of the SAS Software Conference, Irvine, CA. Essential ODS Techniques

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

Data Presentation ABSTRACT

Data Presentation ABSTRACT ODS HTML Meets Real World Requirements Lisa Eckler, Lisa Eckler Consulting Inc., Toronto, ON Robert W. Simmonds, TD Bank Financial Group, Toronto, ON ABSTRACT This paper describes a customized information

More information

Creating Customized Patient Profiles using SAS ODS RTF and PROC TEMPLATE. Andrea Ritter, Biostatistics, Quintiles Inc.

Creating Customized Patient Profiles using SAS ODS RTF and PROC TEMPLATE. Andrea Ritter, Biostatistics, Quintiles Inc. PharmaSUG2011 Paper TT03 Creating Customized Patient Profiles using SAS ODS RTF and PROC TEMPLATE Andrea Ritter, Biostatistics, Quintiles Inc., Morrisville, NC ABSTRACT Patient profiles (a.k.a. case report

More information

How to Create a Custom Style

How to Create a Custom Style Paper IS04 How to Create a Custom Style Sonia Extremera, PharmaMar, Madrid, Spain Antonio Nieto, PharmaMar, Madrid, Spain Javier Gómez, PharmaMar, Madrid, Spain ABSTRACT SAS provide us with a wide range

More information

Tips and Tricks to Create In-text Tables in Clinical Trial Repor6ng Using SAS

Tips and Tricks to Create In-text Tables in Clinical Trial Repor6ng Using SAS Tips and Tricks to Create In-text Tables in Clinical Trial Repor6ng Using SAS By Rafi Rahi - by Murshed Siddick 1 Overview In-text tables in CTR Produc

More information

Using ODS Object Oriented Features To Produce A Formatted Record Layout

Using ODS Object Oriented Features To Produce A Formatted Record Layout Using ODS Object Oriented Features To Produce A Formatted Record Layout Suzanne M. Dorinski, US Census Bureau, Washington DC ABSTRACT This paper uses the Fiscal Year 2005 State Library Agencies Survey

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

Run your reports through that last loop to standardize the presentation attributes

Run your reports through that last loop to standardize the presentation attributes PharmaSUG2011 - Paper TT14 Run your reports through that last loop to standardize the presentation attributes Niraj J. Pandya, Element Technologies Inc., NJ ABSTRACT Post Processing of the report could

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

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

Patricia Guldin, Merck & Co., Inc., Kenilworth, NJ USA

Patricia Guldin, Merck & Co., Inc., Kenilworth, NJ USA SESUG 2015 Paper AD-35 Programming Compliance Made Easy with a Time Saving Toolbox Patricia Guldin, Merck & Co., Inc., Kenilworth, NJ USA ABSTRACT Programmers perform validation in accordance with established

More information

Getting Up to Speed with PROC REPORT Kimberly LeBouton, K.J.L. Computing, Rossmoor, CA

Getting Up to Speed with PROC REPORT Kimberly LeBouton, K.J.L. Computing, Rossmoor, CA SESUG 2012 Paper HW-01 Getting Up to Speed with PROC REPORT Kimberly LeBouton, K.J.L. Computing, Rossmoor, CA ABSTRACT Learning the basics of PROC REPORT can help the new SAS user avoid hours of headaches.

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

Formatting Highly Detailed Reports: Eye-Friendly, Insight-Facilitating

Formatting Highly Detailed Reports: Eye-Friendly, Insight-Facilitating L.Fine Formatting Highly Detailed Reports 1 Formatting Highly Detailed Reports: Eye-Friendly, Insight-Facilitating Lisa Fine, United BioSource Corporation Introduction Consider a highly detailed report

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

Presentation Goals. Now that You Have Version 8, What Do You Do? Top 8 List: Reason #8 Generation Data Sets. Top 8 List

Presentation Goals. Now that You Have Version 8, What Do You Do? Top 8 List: Reason #8 Generation Data Sets. Top 8 List Presentation Goals Now that You Have Version 8, What Do You Do? Michael L. Davis Bassett Consulting Services, Inc. September 13, 2000 highlight incentives to switch consider migration strategies identify

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

A Table Driven ODS Macro Diane E. Brown, exponential Systems, Indianapolis, IN

A Table Driven ODS Macro Diane E. Brown, exponential Systems, Indianapolis, IN A Table Driven ODS Macro Diane E. Brown, exponential Systems, Indianapolis, IN ABSTRACT Tired of coding ODS statements and SAS output procedures for every report you write and having redundant or similar

More information

Routing Output. Producing Output with SAS Software CHAPTER 6

Routing Output. Producing Output with SAS Software CHAPTER 6 125 CHAPTER 6 Routing Output Producing Output with SAS Software 125 The Default Routings for the SAS Log and Procedure Output 126 Changing the Default Routings 127 Using the Print Dialog Box 128 Printing

More information

Beginning Tutorials. bt006 USING ODS. Ban Chuan Cheah, Westat, Rockville, MD. Abstract

Beginning Tutorials. bt006 USING ODS. Ban Chuan Cheah, Westat, Rockville, MD. Abstract bt006 USING ODS Ban Chuan Cheah, Westat, Rockville, MD Abstract This paper will guide you, step by step, through some easy and not-so-easy ways to enhance your SAS output using the Output Delivery System

More information

Generating Customized Analytical Reports from SAS Procedure Output Brinda Bhaskar and Kennan Murray, RTI International

Generating Customized Analytical Reports from SAS Procedure Output Brinda Bhaskar and Kennan Murray, RTI International Abstract Generating Customized Analytical Reports from SAS Procedure Output Brinda Bhaskar and Kennan Murray, RTI International SAS has many powerful features, including MACRO facilities, procedures such

More information

Cleaning Duplicate Observations on a Chessboard of Missing Values Mayrita Vitvitska, ClinOps, LLC, San Francisco, CA

Cleaning Duplicate Observations on a Chessboard of Missing Values Mayrita Vitvitska, ClinOps, LLC, San Francisco, CA Cleaning Duplicate Observations on a Chessboard of Missing Values Mayrita Vitvitska, ClinOps, LLC, San Francisco, CA ABSTRACT Removing duplicate observations from a data set is not as easy as it might

More information

SAS Display Manager Windows. For Windows

SAS Display Manager Windows. For Windows SAS Display Manager Windows For Windows Computers with SAS software SSCC Windows Terminal Servers (Winstat) Linux Servers (linstat) Lab computers DoIT Info Labs (as of June 2014) In all Labs with Windows

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

Chapter 1: Introduction to SAS

Chapter 1: Introduction to SAS Chapter 1: Introduction to SAS SAS programs: A sequence of statements in a particular order. Rules for SAS statements: 1. Every SAS statement ends in a semicolon!!!; 2. Upper/lower case does not matter

More information

Making an RTF file Out of a Text File, With SAS Paper CC13

Making an RTF file Out of a Text File, With SAS Paper CC13 Making an RTF file Out of a Text File, With SAS Paper CC13 David Franklin Independent SAS Consultant While you are waiting, some trivia. Q is the only letter in the alphabet that does not appear in the

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

ABSTRACT INTRODUCTION

ABSTRACT INTRODUCTION Automatically Output Rich Text Format Tables Using Dynamic Table Definitions in DATA _NULL_ Step Mei Tang, Ventana Clinical Research Corporation, Toronto, Ontario, Canada ABSTRACT This paper presents an

More information

Copy That! Using SAS to Create Directories and Duplicate Files

Copy That! Using SAS to Create Directories and Duplicate Files Copy That! Using SAS to Create Directories and Duplicate Files, SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and

More information

ODS/RTF Pagination Revisit

ODS/RTF Pagination Revisit PharmaSUG 2018 - Paper QT-01 ODS/RTF Pagination Revisit Ya Huang, Halozyme Therapeutics, Inc. Bryan Callahan, Halozyme Therapeutics, Inc. ABSTRACT ODS/RTF combined with PROC REPORT has been used to generate

More information

Combining Text and Graphics with ODS LAYOUT and ODS REGION Barbara B. Okerson, HMC, Richmond, VA

Combining Text and Graphics with ODS LAYOUT and ODS REGION Barbara B. Okerson, HMC, Richmond, VA Paper SIB-097 Combining Text and Graphics with ODS LAYOUT and ODS REGION Barbara B. Okerson, HMC, Richmond, VA ABSTRACT Through the Output Delivery System (ODS), SAS Software provides a means for creating

More information

Automating Comparison of Multiple Datasets Sandeep Kottam, Remx IT, King of Prussia, PA

Automating Comparison of Multiple Datasets Sandeep Kottam, Remx IT, King of Prussia, PA Automating Comparison of Multiple Datasets Sandeep Kottam, Remx IT, King of Prussia, PA ABSTRACT: Have you ever been asked to compare new datasets to old datasets while transfers of data occur several

More information

Introduction to the SAS System

Introduction to the SAS System Introduction to the SAS System The SAS Environment The SAS Environment The SAS Environment has five main windows The SAS Environment The Program Editor The SAS Environment The Log: Notes, Warnings and

More information

Routing the SAS Log and SAS Procedure Output

Routing the SAS Log and SAS Procedure Output 187 CHAPTER 8 Routing the SAS Log and SAS Procedure Output Introduction 187 Attributes of the SAS Log and Procedure Output Files 188 Controlling Log and Output Destinations 188 Windowing Environment Mode

More information

Symbol Table Generator (New and Improved) Jim Johnson, JKL Consulting, North Wales, PA

Symbol Table Generator (New and Improved) Jim Johnson, JKL Consulting, North Wales, PA PharmaSUG2011 - Paper AD19 Symbol Table Generator (New and Improved) Jim Johnson, JKL Consulting, North Wales, PA ABSTRACT In Seattle at the PharmaSUG 2000 meeting the Symbol Table Generator was first

More information

ABSTRACT INTRODUCTION THE GENERAL FORM AND SIMPLE CODE

ABSTRACT INTRODUCTION THE GENERAL FORM AND SIMPLE CODE Paper SA06 Painless Extraction: Options and Macros with PROC PRESENV Keith Fredlund, MS (candidate) Grand Valley State University, Allendale, Michigan; Thinzar Wai, MS (candidate) Grand Valley State University,

More information

Paper CC16. William E Benjamin Jr, Owl Computer Consultancy LLC, Phoenix, AZ

Paper CC16. William E Benjamin Jr, Owl Computer Consultancy LLC, Phoenix, AZ Paper CC16 Smoke and Mirrors!!! Come See How the _INFILE_ Automatic Variable and SHAREBUFFERS Infile Option Can Speed Up Your Flat File Text-Processing Throughput Speed William E Benjamin Jr, Owl Computer

More information

Transitioning from Batch and Interactive SAS to SAS Enterprise Guide Brian Varney, Experis Business Analytics, Portage, MI

Transitioning from Batch and Interactive SAS to SAS Enterprise Guide Brian Varney, Experis Business Analytics, Portage, MI Paper BI-05-2013 Transitioning from Batch and Interactive SAS to SAS Enterprise Guide Brian Varney, Experis Business Analytics, Portage, MI ABSTRACT Although the need for access to data and analytical

More information

SAS. Studio 4.1: User s Guide. SAS Documentation

SAS. Studio 4.1: User s Guide. SAS Documentation SAS Studio 4.1: User s Guide SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2016. SAS Studio 4.1: User s Guide. Cary, NC: SAS Institute Inc. SAS

More information

HAVE YOU EVER WISHED THAT YOU DO NOT NEED TO TYPE OR CHANGE REPORT NUMBERS AND TITLES IN YOUR SAS PROGRAMS?

HAVE YOU EVER WISHED THAT YOU DO NOT NEED TO TYPE OR CHANGE REPORT NUMBERS AND TITLES IN YOUR SAS PROGRAMS? HAVE YOU EVER WISHED THAT YOU DO NOT NEED TO TYPE OR CHANGE REPORT NUMBERS AND TITLES IN YOUR SAS PROGRAMS? Aileen L. Yam, PharmaNet, Inc., Princeton, NJ ABSTRACT In clinical research, the table of contents

More information

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

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

More information

IT S THE LINES PER PAGE THAT COUNTS Jonathan Squire, C2RA, Cambridge, MA Johnny Tai, Comsys, Portage, MI

IT S THE LINES PER PAGE THAT COUNTS Jonathan Squire, C2RA, Cambridge, MA Johnny Tai, Comsys, Portage, MI IT S THE LINES PER PAGE THAT COUNTS Jonathan Squire, C2RA, Cambridge, MA Johnny Tai, Comsys, Portage, MI ABSTRACT When the bodytitle option is used to keep titles and footnotes independent of the table

More information

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

Chapter 28 Saving and Printing Tables. Chapter Table of Contents SAVING AND PRINTING TABLES AS OUTPUT OBJECTS OUTPUT OBJECTS... Chapter 28 Saving and Printing Tables Chapter Table of Contents SAVING AND PRINTING TABLES AS OUTPUT OBJECTS...418 OUTPUT OBJECTS...422 415 Part 2. Introduction 416 Chapter 28 Saving and Printing Tables

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

CHAPTER 1 Getting Started with SAS in UNIX Environments

CHAPTER 1 Getting Started with SAS in UNIX Environments 3 CHAPTER 1 Getting Started with SAS in UNIX Environments Starting SAS Sessions in UNIX Environments 4 Invoking SAS 4 Syntax of the SAS Command 5 Example: Invoking an Interactive SAS Session 5 What If

More information

Guidelines for Organizing SAS Code and Project Files

Guidelines for Organizing SAS Code and Project Files Basic Organizational Ideas Guidelines for Organizing SAS Code and Project Files Nate Derby Stakana Analytics Seattle, WA Club des Utilisateurs SAS de Québec 11/1/16 Nate Derby Organizing SAS Files 1 /

More information

Lab #1: Introduction to Basic SAS Operations

Lab #1: Introduction to Basic SAS Operations Lab #1: Introduction to Basic SAS Operations Getting Started: OVERVIEW OF SAS (access lab pages at http://www.stat.lsu.edu/exstlab/) There are several ways to open the SAS program. You may have a SAS icon

More information

Tracking Dataset Dependencies in Clinical Trials Reporting

Tracking Dataset Dependencies in Clinical Trials Reporting Tracking Dataset Dependencies in Clinical Trials Reporting Binoy Varghese, Cybrid Inc., Wormleysburg, PA Satyanarayana Mogallapu, IT America Inc., Edison, NJ ABSTRACT Most clinical trials study reporting

More information

The REPORT Procedure CHAPTER 32

The REPORT Procedure CHAPTER 32 859 CHAPTER 32 The REPORT Procedure Overview 861 Types of Reports 861 A Sampling of Reports 861 Concepts 866 Laying Out a Report 866 Usage of Variables in a Report 867 Display Variables 867 Order Variables

More information

Applications Development

Applications Development Two Steps to LIBNAME-Free Coding: Use of Macro Parameters and AUTOEXEC.SAS Zhengyi Fang, Social & Scientific Systems, Inc., Silver Spring, MD Paul Gorrell, IMPAQ International, LLC, Columbia, MD ABSTRACT

More information

footnote1 height=8pt j=l "(Rev. &sysdate)" j=c "{\b\ Page}{\field{\*\fldinst {\b\i PAGE}}}";

footnote1 height=8pt j=l (Rev. &sysdate) j=c {\b\ Page}{\field{\*\fldinst {\b\i PAGE}}}; Producing an Automated Data Dictionary as an RTF File (or a Topic to Bring Up at a Party If You Want to Be Left Alone) Cyndi Williamson, SRI International, Menlo Park, CA ABSTRACT Data dictionaries are

More information

A Macro to Manage Table Templates Mark Mihalyo, Community Care Behavioral Health Organization, Pittsburgh, PA

A Macro to Manage Table Templates Mark Mihalyo, Community Care Behavioral Health Organization, Pittsburgh, PA A Macro to Manage Table Templates Mark Mihalyo, Community Care Behavioral Health Organization, Pittsburgh, PA ABSTRACT The scenario: Data must be placed in a table or chart design provided by the company

More information

ET01. LIBNAME libref <engine-name> <physical-file-name> <libname-options>; <SAS Code> LIBNAME libref CLEAR;

ET01. LIBNAME libref <engine-name> <physical-file-name> <libname-options>; <SAS Code> LIBNAME libref CLEAR; ET01 Demystifying the SAS Excel LIBNAME Engine - A Practical Guide Paul A. Choate, California State Developmental Services Carol A. Martell, UNC Highway Safety Research Center ABSTRACT This paper is a

More information

Epidemiology Principles of Biostatistics Chapter 3. Introduction to SAS. John Koval

Epidemiology Principles of Biostatistics Chapter 3. Introduction to SAS. John Koval Epidemiology 9509 Principles of Biostatistics Chapter 3 John Koval Department of Epidemiology and Biostatistics University of Western Ontario What we will do today We will learn to use use SAS to 1. read

More information

ODS DOCUMENT, a practical example. Ruurd Bennink, OCS Consulting B.V., s-hertogenbosch, the Netherlands

ODS DOCUMENT, a practical example. Ruurd Bennink, OCS Consulting B.V., s-hertogenbosch, the Netherlands Paper CC01 ODS DOCUMENT, a practical example Ruurd Bennink, OCS Consulting B.V., s-hertogenbosch, the Netherlands ABSTRACT The ODS DOCUMENT destination (in short ODS DOCUMENT) is perhaps the most underutilized

More information

What Is SAS? CHAPTER 1 Essential Concepts of Base SAS Software

What Is SAS? CHAPTER 1 Essential Concepts of Base SAS Software 3 CHAPTER 1 Essential Concepts of Base SAS Software What Is SAS? 3 Overview of Base SAS Software 4 Components of the SAS Language 4 SAS Files 4 SAS Data Sets 5 External Files 5 Database Management System

More information

Batch and Line Mode Processing in SAS Viya

Batch and Line Mode Processing in SAS Viya Batch and Line Mode Processing in SAS Viya SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2016. Batch and Line Mode Processing in SAS Viya. Cary,

More information

PCKG: Managing SAS Macro Libraries. Magnus Mengelbier, Limelogic Ltd, London, United Kingdom

PCKG: Managing SAS Macro Libraries. Magnus Mengelbier, Limelogic Ltd, London, United Kingdom Paper CC06 PCKG: Managing SAS Macro Libraries Magnus Mengelbier, Limelogic Ltd, London, United Kingdom ABSTRACT Development of standard SAS macro libraries is a continuous exercise in feature development,

More information

ABSTRACT KEY WORDS INTRODUCTION

ABSTRACT KEY WORDS INTRODUCTION ABSTRACT SESUG Paper 063-2017 Behind the Scenes: from Data to Customized Swimmer Plots Using SAS Graphical Template Language (GTL) Rita Tsang, ICON Clinical Research Hima Bhatia, ICON Clinical Research

More information

2. Referencing Files and Sepng Op+ons. GIORGIO RUSSOLILLO - Cours de prépara+on à la cer+fica+on SAS «Base Programming» 47

2. Referencing Files and Sepng Op+ons. GIORGIO RUSSOLILLO - Cours de prépara+on à la cer+fica+on SAS «Base Programming» 47 2. Referencing Files and Sepng Op+ons GIORGIO RUSSOLILLO - Cours de prépara+on à la cer+fica+on SAS «Base Programming» 47 Defining SAS libraries To reference a permanent SAS file you: - Assign a name (libref)

More information

Information Visualization

Information Visualization Paper 166-25 Presenting Your Data Easily with Graph-N-Go Curtis A. Smith, Defense Contract Audit Agency, La Mirada, CA ABSTRACT Visualizing and presenting data effectively using reports and listings can

More information

A Way to Work with Invoice Files in SAS

A Way to Work with Invoice Files in SAS A Way to Work with Invoice Files in SAS Anjan Matlapudi and J. Daniel Knapp Pharmacy Informatics, PerformRx, The Next Generation PBM, 200 Stevens Drive, Philadelphia, PA 19113 ABSTRACT This paper illustrates

More information

The EXPLODE Procedure

The EXPLODE Procedure 415 CHATER 17 The EXLODE rocedure Overview 415 rocedure Syntax 416 ROC EXLODE Statement 416 ARMCARDS or ARMCARDS4 Statement 416 Message Lines 416 Null Statement 418 Examples 419 Example 1: Controlling

More information

Print the Proc Report and Have It on My Desktop in the Morning! James T. Kardasis, J.T.K. & Associates, Skokie, IL

Print the Proc Report and Have It on My Desktop in the Morning! James T. Kardasis, J.T.K. & Associates, Skokie, IL Print the Proc Report and Have It on My Desktop in the Morning! James T. Kardasis, J.T.K. & Associates, Skokie, IL ABSTRACT The user will learn how to produce detail and summary reports as well as frequency

More information

One SAS To Rule Them All

One SAS To Rule Them All SAS Global Forum 2017 ABSTRACT Paper 1042 One SAS To Rule Them All William Gui Zupko II, Federal Law Enforcement Training Centers In order to display data visually, our audience preferred Excel s compared

More information

Paper AP14 Modifying The LogParse PassInfo Macro to Provide a Link between Product Usage in Rtrace Log and Time Used in Job Log

Paper AP14 Modifying The LogParse PassInfo Macro to Provide a Link between Product Usage in Rtrace Log and Time Used in Job Log Paper AP14 Modifying The LogParse PassInfo Macro to Provide a Link between Product Usage in Rtrace Log and Time Used in Job Log Ronald J. Fehd, Centers for Disease Control and ention, Atlanta, GA, USA

More information

Using Graph-N-Go With ODS to Easily Present Your Data and Web-Enable Your Graphs Curtis A. Smith, Defense Contract Audit Agency, La Mirada, CA

Using Graph-N-Go With ODS to Easily Present Your Data and Web-Enable Your Graphs Curtis A. Smith, Defense Contract Audit Agency, La Mirada, CA Paper 160-26 Using Graph-N-Go With ODS to Easily Present Your Data and Web-Enable Your Graphs Curtis A. Smith, Defense Contract Audit Agency, La Mirada, CA ABSTRACT Visualizing and presenting data effectively

More information

Organizing Deliverables for Clinical Trials The Concept of Analyses and its Implementation in EXACT

Organizing Deliverables for Clinical Trials The Concept of Analyses and its Implementation in EXACT Paper AD05 Organizing Deliverables for Clinical Trials The Concept of Analyses and its Implementation in EXACT Hansjörg Frenzel, PRA International, Mannheim, Germany ABSTRACT Clinical trials can have deliverables

More information

While You Were Sleeping, SAS Was Hard At Work Andrea Wainwright-Zimmerman, Capital One Financial, Inc., Richmond, VA

While You Were Sleeping, SAS Was Hard At Work Andrea Wainwright-Zimmerman, Capital One Financial, Inc., Richmond, VA Paper BB-02 While You Were Sleeping, SAS Was Hard At Work Andrea Wainwright-Zimmerman, Capital One Financial, Inc., Richmond, VA ABSTRACT Automating and scheduling SAS code to run over night has many advantages,

More information

Program Validation: Logging the Log

Program Validation: Logging the Log Program Validation: Logging the Log Adel Fahmy, Symbiance Inc., Princeton, NJ ABSTRACT Program Validation includes checking both program Log and Logic. The program Log should be clear of any system Error/Warning

More information

Customising SAS OQ to Provide Business Specific Testing of SAS Installations and Updates

Customising SAS OQ to Provide Business Specific Testing of SAS Installations and Updates Paper TS07 Customising SAS OQ to Provide Business Specific Testing of SAS Installations and Updates Steve Huggins, Amadeus Software Limited, Oxford, UK ABSTRACT The SAS Installation Qualification and Operational

More information

An Introduction to Creating Multi- Sheet Microsoft Excel Workbooks the Easy Way with SAS

An Introduction to Creating Multi- Sheet Microsoft Excel Workbooks the Easy Way with SAS Copyright 2011 SAS Institute Inc. All rights reserved. An Introduction to Creating Multi- Sheet Microsoft Excel Workbooks the Easy Way with SAS Vince DelGobbo Web Tools Group, SAS Goals Integrate SAS output

More information

SAS PROGRAMMING AND APPLICATIONS (STAT 5110/6110): FALL 2015 Module 2

SAS PROGRAMMING AND APPLICATIONS (STAT 5110/6110): FALL 2015 Module 2 SAS PROGRAMMING AND APPLICATIONS (STAT 5110/6110): FALL 2015 Department of MathemaGcs and StaGsGcs Phone: 4-3620 Office: Parker 364- A E- mail: carpedm@auburn.edu Web: hup://www.auburn.edu/~carpedm/stat6110

More information

Initializing and Configuring the SAS System

Initializing and Configuring the SAS System 3 CHAPTER 1 Initializing and Configuring the SAS System Invoking SAS in the OS/390 Environment 4 Invoking SAS under TSO: the SAS CLIST 4 Invoking SAS in Batch Mode: the SAS Cataloged Procedure 5 Logging

More information

Why & How To Use SAS Macro Language: Easy Ways To Get More Value & Power from Your SAS Software Tools

Why & How To Use SAS Macro Language: Easy Ways To Get More Value & Power from Your SAS Software Tools Why & How To Use SAS Macro Language: Easy Ways To Get More Value & Power from Your SAS Software Tools LeRoy Bessler PhD Bessler Consulting and Research Strong Smart Systems Mequon, WI, USA Le_Roy_Bessler@wi.rr.com

More information

SAS Studio 4.3: User s Guide

SAS Studio 4.3: User s Guide SAS Studio 4.3: User s Guide SAS Documentation December 4, 2017 The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2017. SAS Studio 4.3: User s Guide. Cary, NC: SAS Institute

More information

USER TRAINING AND SUPPORT

USER TRAINING AND SUPPORT Printing in BAS- under OS/2- or Windows: A Tutoria1 Jeffrey M. Abolafia Collaborative Studies coordinating Center University of North Carolina at Chapel Hill Introduction Version 6.08 of the SAS System,

More information

Data Presentation. Paper

Data Presentation. Paper Paper 116-27 Using SAS ODS to Enhance Clinical Data Summaries: Meeting esub Guidelines Steven Light and Paul Gilbert, DataCeutics, Inc. Kathleen Greene, Genzyme Corporation ABSTRACT SAS programmers in

More information

Going Under the Hood: How Does the Macro Processor Really Work?

Going Under the Hood: How Does the Macro Processor Really Work? Going Under the Hood: How Does the Really Work? ABSTRACT Lisa Lyons, PPD, Inc Hamilton, NJ Did you ever wonder what really goes on behind the scenes of the macro processor, or how it works with other parts

More information

100 THE NUANCES OF COMBINING MULTIPLE HOSPITAL DATA

100 THE NUANCES OF COMBINING MULTIPLE HOSPITAL DATA Paper 100 THE NUANCES OF COMBINING MULTIPLE HOSPITAL DATA Jontae Sanders, MPH, Charlotte Baker, DrPH, MPH, CPH, and C. Perry Brown, DrPH, MSPH, Florida Agricultural and Mechanical University ABSTRACT Hospital

More information

The TRANTAB Procedure

The TRANTAB Procedure 1291 CHAPTER 40 The TRANTAB Procedure Overview 1291 Concepts 1292 Understanding Translation Tables and Character Sets 1292 Storing Translation Tables 1292 Modifying Institute-supplied Translation Tables

More information

Indenting with Style

Indenting with Style ABSTRACT Indenting with Style Bill Coar, Axio Research, Seattle, WA Within the pharmaceutical industry, many SAS programmers rely heavily on Proc Report. While it is used extensively for summary tables

More information

SAS Viya 3.1 FAQ for Processing UTF-8 Data

SAS Viya 3.1 FAQ for Processing UTF-8 Data SAS Viya 3.1 FAQ for Processing UTF-8 Data Troubleshooting Tips for Processing UTF-8 Data (Existing SAS Code) What Is the Encoding of My Data Set? PROC CONTENTS displays information about the data set

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

Diagnosing SAS Enterprise Guide 4.1 Connectivity Problems Using the SAS Integration Technologies Configuration Utility TS-790

Diagnosing SAS Enterprise Guide 4.1 Connectivity Problems Using the SAS Integration Technologies Configuration Utility TS-790 Diagnosing SAS Enterprise Guide 4.1 Connectivity Problems Using the SAS Integration Technologies Configuration Utility TS-790 Diagnosing SAS Enterprise Guide Connectivity Problems Using the SAS Integration

More information

Six Cool Things You Can Do In Display Manager Jenine Milum, Charlotte, NC Wachovia Bank

Six Cool Things You Can Do In Display Manager Jenine Milum, Charlotte, NC Wachovia Bank Paper CC-029 Six Cool Things You Can Do In Display Manager Jenine Milum, Charlotte, NC Wachovia Bank ABSTRACT Many people use Display Manager but don t realize how much work it can actually do for you.

More information

EQuIS Data Processor (EDP) User Manual

EQuIS Data Processor (EDP) User Manual EQuIS Data Processor (EDP) User Manual Introduction EQuIS Data Processor (EDP) Introduction The EQuIS Data Processor, or EDP, is today s answer to the many data quality issues that plague data managers.

More information

General Methods to Use Special Characters Dennis Gianneschi, Amgen Inc., Thousand Oaks, CA

General Methods to Use Special Characters Dennis Gianneschi, Amgen Inc., Thousand Oaks, CA General Methods to Use Special Characters Dennis Gianneschi, Amgen Inc., Thousand Oaks, CA ABSTRACT This paper presents three general methods to use special characters in SAS procedure output as well as

More information

Functions vs. Macros: A Comparison and Summary

Functions vs. Macros: A Comparison and Summary Functions vs. Macros: A Comparison and Summary Mahipal Vanam Phaneendhar Vanam Srinivas Vanam Percept Pharma Services, Bridgewater, NJ ABSTRACT SAS is rich in various built-in functions, and predefined

More information

Creating Booklets Using Microsoft Word 2013 on a PC

Creating Booklets Using Microsoft Word 2013 on a PC Creating Booklets Using Microsoft Word 2013 on a PC Booklets are a great way to collect information and graphic samples and format them in a user-friendly publication to share with others. Examples: Collect

More information

WebLink Manual EZ-CAMP2

WebLink Manual EZ-CAMP2 WebLink Manual EZ-CAMP2 SofterWare, Inc. WebLink March 2010 Table of Contents Table of Contents 1. WEBLINK OVERVIEW...3 Manual Overview...3 Support...3 WebLink Terminology...4 2. ADDING THE FORM TO YOUR

More information

A Generalized Macro-Based Data Reporting System to Produce Both HTML and Text Files

A Generalized Macro-Based Data Reporting System to Produce Both HTML and Text Files A Generalized Macro-Based Data Reporting System to Produce Both HTML and Text Files Jeff F. Sun, Blue Cross Blue Shield of North Carolina, Durham, North Carolina Abstract This paper will address the inter-connection

More information

Maintaining Formats when Exporting Data from SAS into Microsoft Excel

Maintaining Formats when Exporting Data from SAS into Microsoft Excel Maintaining Formats when Exporting Data from SAS into Microsoft Excel Nate Derby & Colleen McGahan Stakana Analytics, Seattle, WA BC Cancer Agency, Vancouver, BC Club des Utilisateurs SAS de Québec 11/1/16

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

Perceptive Document Composition

Perceptive Document Composition Perceptive Document Composition Client Product Guide PDC Version: 5.4 Written by: Product Documentation, R&D Date: February 2014 2014 Perceptive Software. All rights reserved Perceptive Software is a trademark

More information

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

Macro Facility. About the Macro Facility. Automatic Macro Variables CHAPTER 14 213 CHAPTER 14 Macro Facility About the Macro Facility 213 Automatic Macro Variables 213 Macro Statements 215 Macro Functions 215 SAS System Options Used by the Macro Facility 216 Using Autocall Libraries

More information

%Addval: A SAS Macro Which Completes the Cartesian Product of Dataset Observations for All Values of a Selected Set of Variables

%Addval: A SAS Macro Which Completes the Cartesian Product of Dataset Observations for All Values of a Selected Set of Variables %Addval: A SAS Macro Which Completes the Cartesian Product of Dataset Observations for All Values of a Selected Set of Variables Rich Schiefelbein, PRA International, Lenexa, KS ABSTRACT It is often useful

More information

Writing Programs in SAS Data I/O in SAS

Writing Programs in SAS Data I/O in SAS Writing Programs in SAS Data I/O in SAS Statistics 135 Autumn 2005 Copyright c 2005 by Mark E. Irwin Writing SAS Programs Your SAS programs can be written in any text editor, though you will often want

More information