Benchmark Macro %COMPARE Sreekanth Reddy Middela, MaxisIT Inc., Edison, NJ Venkata Sekhar Bhamidipati, Merck & Co., Inc.
|
|
- Kelley Shaw
- 5 years ago
- Views:
Transcription
1 Benchmark Macro %COMPARE Sreekanth Reddy Middela, MaxisIT Inc., Edison, NJ Venkata Sekhar Bhamidipati, Merck & Co., Inc., North Wales, PA ABSTRACT The main functionality of benchmark macro %Compare is to summarize, aggregate, and display the various hardware resources utilized by a SAS program. Additionally, %Compare compares, between two programs, resources such as memory, real time, CPU time, etc., which is a useful benchmarking technique to help determine the program structure and hardware needs. %Compare can be helpful for programmers working on large databases such as those occurring with vaccine clinical trials or sales data. This paper will illustrate techniques using various real scenarios. INTRODUCTION This paper examines a few of the most common questions regarding efficient SAS code. Its main focus is to examine the usage of overall memory, real time, and CPU time differences between two programs/logs. Except where noted, all examples were tested in production versions of SAS on Windows XP platforms. %Compare is user friendly with a display window for inputs as well as a PDF display for outputs. It is important to understand that the memory, real times, and CPU times shown in the logs in this paper are not necessarily indicative of the times you may see if you try the same tests. These times vary greatly between operating systems and between machine configurations. The times used here are primarily for purposes of comparison to help you to make decisions and improve on SAS coding practices. In addition to comparing two program resources %Compare identifies the data or proc steps in which the system is not moving data well. Additionally, this macro produces summary statistics tables for each step by group. MACRO DESIGN The main objective of %Compare is to compare two SAS programs/logs and determine which is more efficient in using a minimum amount of CPU time. It identifies the data or proc steps in which the system is not moving the data well. The macro shows techniques to read information from log files, and has a user friendly pop-up window for input and a PDF output. Performance %Compare is designed to gauge the efficiency between two SAS programs in a new way which is by measuring the total CPU resource utilized to execute SAS programs. If a SAS program with many data and proc steps uses a huge amount of resources, it is often difficult to determine which data and proc steps are using most of the resources. %Compare identifies some of the steps which may be using most resources. According to the SAS user manual, "If the real time and total CPU time are within 15 percent of each other, this usually indicates that the system is moving data well (at least during the run time of that job/step processing)." This means that the ratio of CPU processing time is close to that of the total job. Based on this information, %Compare identifies the steps where the real time and total CPU time are not within 15 percent of each other. Reading information from log files One of the main challenges of the macro is to read the log file which can be huge and not user friendly and difficult to review manually. There are several ways to read the log to identify each data or proc step and their associated resources (i.e. real time and CPU time etc.); %Compare uses the "indexw" function to do that. User friendly input/output One of the best features of %Compare is user friendly input and output in that it accepts the input through a popup window. The user can enter SAS program or SAS log names, and the output is in the form of a user friendly PDF. 1
2 Flow chart Two SAS programs Or Two SAS logs Through a user friendly window Log inputs Program Execute programs with FULLSTIMER option and produce log Conclusion Overall resources utilization Table Read logs for real time, CPU time Execute etc.. and program perform and produce log summary statistics Steps in which real time and total CPU time are not within 15 percent to each other Summary statistics for each step Outputs User friendly input from a pop-up window screen %Compare accepts either two programs or two logs as input. The SAS code below creates a pop-up window which accepts input and stores the values in "pgmx1" and "pgmx2" %window ram icolumn=60 irow=20 columns=60 rows=40 color = black #15 'Please Enter the 1st Program/Log Name:' color = white pgmx1 20 Display=YES REQUIRED=YES ATTR=UNDERLINE color=white #16 'Please Enter the 2nd Program/Log Name:' color = white pgmx2 20 Display=YES REQUIRED=YES ATTR=UNDERLINE color= white 'Press Enter to continue.' color= white ; %display ram bell delete; 2
3 Below is the snap shot of the pop-up window screen to accept input The SAS code below concatenates the stored input variables "pgmx1" and "pgmx2" from the pop-up window to the name of the library where the programs or logs reside. It then identifies whether the inputs are programs or logs (using %if %index(&pgm1,.log) eq 0). If the inputs are programs, the "%creatlog" macro includes the FULLSTIMER option in programs providing additional system resource information (i.e. memory, system CPU resources), and executes programs. It then produces the log files. If the inputs are logs the macro goes to the next step of reading logs and identifying system resources such as real time, CPU time, etc. %let pgmdir = C:\ram ; /* Library where your programs reside */ %let pgm1=&pgmdir\&pgmx1; %let pgm2=&pgmdir\&pgmx2; %if %index(&pgm1,.log) eq 0 %then %createlog(num = 1) ; /* %creatlog macro execute programs and produces log */ %else filename pgm1 "&pgm1"; Capturing system resources like memory, CPU time, etc. This is one of the main sections of the macro. It captures all the resources like real time, CPU time, etc. using the "indexw" function. %Compare works for logs that are not using FULLSTIMER option and for programs which use FULLSTIMER option. The flag "&logflag" indicates whether it is a log or a program. Based on the flag the macro captures the resources information using the SAS code below: %if &logflag ne 0 %then %do ; /* if the input is a log */ if indexw(name,'real time') or indexw(name,'cpu time' ) then do ; value = input(compress(name,' real cpu time seconds'),8.) ; if indexw(name,'real time' ) then flag = 'real' ; if indexw(name,'cpu time' ) then flag = 'cpu' ; output ; end ; %end ; 3
4 %if &logflag eq 0 %then %do ; /* if the input is a Program */ if indexw(name,'real time' ) or indexw(name,'user cpu time') or indexw(name,'system cpu time') or indexw(name,'memory') then do ; if indexw(name,'real time' ) then flag = 'real' ; if indexw(name,'user cpu time' ) then flag = 'user cpu time' ; if indexw(name,'system cpu time' ) then flag = 'system cpu time' ; if indexw(name,'memory' ) then flag = 'memory' ; value = input(compress(name,' real cpu time seconds Memory k'),8.) ; output ; end ; %end ; Outputs In this final section the captured log information is processed using SAS procedures (like univariate, transpose, report, etc.) and produces the following outputs: 1) A conclusion stating which program/log is using the minimum amount of CPU time. 2) A table with total real times, CPU times and memory utilized for each program/log. 3) The steps in which real time and total CPU time are not within 15 percent of each other. 4) Summary stats tables for all steps by group. Example 1 Comparing two Logs In this example ve1.log and ve2.log are two program logs in which the FULLSTIMER option was not used to produce the logs. 1) Which program log is using minimum amount of resources Comparison of System Resource Utilization Between Two Programs Conclusion ve2.log is using Less CPU resources than ve1.log 2) Total real time and CPU time for both program logs Overall Resources Utilization Table ve1.log ve2.log real time (in Sec) cpu time (in Sec) ) The steps in which real time and total CPU time are not within 15 percent of each other Program Log: ve1.log real cpu DATA DATA Program Log: ve2.log real cpu DATA DATA DATA
5 4) The summary statistics for each type of step Summary Statistics for Each Step Program/log: ' ve1.log' Steps Real Time CPU Time CONTENTS N 1 1 MEAN STD.. SUM MAX MD MIN DATA N MEAN STD SUM MAX MD MIN 0 0 Example 2 Comparing two programs In this example, test_pgm1.sas, test_pgm2.sas are two programs in which the FULLSTIMER option is used to produce these logs by the %Compare macro. 1) Which program is using minimum amount of resources Comparison of System Resource Utilization between two Programs Conclusion test_pgm1.sas is using Less CPU resources than test_pgm2.sas 2) Total real time and CPU time for both program logs Overall Resources Utilization Table test_pgm1.sa s test_pgm2.sa s real time (in Sec) cpu time (in Sec) Memory in Kilo Bytes ) The steps in which real time and total CPU time are not within 15 percent of each other Note: this example did not produce this output because for all the steps the real time and CPU time are within 15 percent of each other. 5
6 4) The summary statistics for each type of step Summary Statistics for Each Step Program/log: ' test_pgm1.sas' Steps Memory Real System CPU Time User CPU Time DATA N MEAN STD SUM MAX MD MIN Summary Statistics for Each Step Program/log: ' test_pgm2.sas System CPU Time User CPU Time Steps Memory Real DATA N MEAN STD SUM MAX MD MIN CONCLUSION After executing this user friendly macro %Compare, the user knows which SAS program is using the minimum CPU time and also knows the data or proc steps in which the system is not moving the data well. This is a useful benchmarking technique to improve the efficiency of a SAS program. The SAS programmer should consider all aspects of the application to make the appropriate choice. REFERENCES: SAS User Guide (link: Su, Y., Glaser, A. The Extraction, Summarization, and Presentation of Information from SAS Log Files. PhilaSUG, November ACKNOWLEDGMENTS 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 registered trademarks or trademarks of their respective companies. CONTACT INFORMATION Your comments and questions are valued and encouraged. Contact the author at: Sreekanth Reddy Middela Venkata Sekhar Bhamidipati MaxisIT Inc. Merck & Co., Inc. Address: 1199 Amboy Ave Scientific Programming Analyst City: Edison State: NJ ZIP: venkata_bhamidipati@merck.com middelasr@hotmail.com Phone:(267)
Using GSUBMIT command to customize the interface in SAS Xin Wang, Fountain Medical Technology Co., ltd, Nanjing, China
PharmaSUG China 2015 - Paper PO71 Using GSUBMIT command to customize the interface in SAS Xin Wang, Fountain Medical Technology Co., ltd, Nanjing, China One of the reasons that SAS is widely used as the
More informationPharmaSUG Paper PO10
PharmaSUG 2013 - Paper PO10 How to make SAS Drug Development more efficient Xiaopeng Li, Celerion Inc., Lincoln, NE Chun Feng, Celerion Inc., Lincoln, NE Peng Chai, Celerion Inc., Lincoln, NE ABSTRACT
More informationAn Automation Procedure for Oracle Data Extraction and Insertion
An Automation Procedure for Oracle Data Extraction and Insertion Shiqun S. Li, Smith Hanley, East Hanover, NJ David H. Wilcox, NYS Department of Health, Albany, NY ABSTRACT SAS software provides strong
More informationNumeric Variable Storage Pattern
Numeric Variable Storage Pattern Sreekanth Middela Srinivas Vanam Rahul Baddula Percept Pharma Services, Bridgewater, NJ ABSTRACT This paper presents the Storage pattern of Numeric Variables within the
More informationGreenspace: A Macro to Improve a SAS Data Set Footprint
Paper AD-150 Greenspace: A Macro to Improve a SAS Data Set Footprint Brian Varney, Experis Business Intelligence and Analytics Practice ABSTRACT SAS programs can be very I/O intensive. SAS data sets with
More informationAn Efficient Tool for Clinical Data Check
PharmaSUG 2018 - Paper AD-16 An Efficient Tool for Clinical Data Check Chao Su, Merck & Co., Inc., Rahway, NJ Shunbing Zhao, Merck & Co., Inc., Rahway, NJ Cynthia He, Merck & Co., Inc., Rahway, NJ ABSTRACT
More informationA SAS Macro Utility to Modify and Validate RTF Outputs for Regional Analyses Jagan Mohan Achi, PPD, Austin, TX Joshua N. Winters, PPD, Rochester, NY
PharmaSUG 2014 - Paper BB14 A SAS Macro Utility to Modify and Validate RTF Outputs for Regional Analyses Jagan Mohan Achi, PPD, Austin, TX Joshua N. Winters, PPD, Rochester, NY ABSTRACT Clinical Study
More informationCC13 An Automatic Process to Compare Files. Simon Lin, Merck & Co., Inc., Rahway, NJ Huei-Ling Chen, Merck & Co., Inc., Rahway, NJ
CC13 An Automatic Process to Compare Files Simon Lin, Merck & Co., Inc., Rahway, NJ Huei-Ling Chen, Merck & Co., Inc., Rahway, NJ ABSTRACT Comparing different versions of output files is often performed
More informationA Tool to Compare Different Data Transfers Jun Wang, FMD K&L, Inc., Nanjing, China
PharmaSUG China 2018 Paper 64 A Tool to Compare Different Data Transfers Jun Wang, FMD K&L, Inc., Nanjing, China ABSTRACT For an ongoing study, especially for middle-large size studies, regular or irregular
More informationPharmaSUG Paper TT11
PharmaSUG 2014 - Paper TT11 What is the Definition of Global On-Demand Reporting within the Pharmaceutical Industry? Eric Kammer, Novartis Pharmaceuticals Corporation, East Hanover, NJ ABSTRACT It is not
More informationCMISS the SAS Function You May Have Been MISSING Mira Shapiro, Analytic Designers LLC, Bethesda, MD
ABSTRACT SESUG 2016 - RV-201 CMISS the SAS Function You May Have Been MISSING Mira Shapiro, Analytic Designers LLC, Bethesda, MD Those of us who have been using SAS for more than a few years often rely
More informationA Taste of SDTM in Real Time
A Taste of SDTM in Real Time Changhong Shi, Merck & Co., Inc., Rahway, NJ Beilei Xu, Merck & Co., Inc., Rahway, NJ ABSTRACT The Study Data Tabulation Model (SDTM) is a Clinical Data Interchange Standards
More informationSAS 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 informationOLAP Drill-through Table Considerations
Paper 023-2014 OLAP Drill-through Table Considerations M. Michelle Buchecker, SAS Institute, Inc. ABSTRACT When creating an OLAP cube, you have the option of specifying a drill-through table, also known
More informationWhen Powerful SAS Meets PowerShell TM
PharmaSUG 2018 - Paper QT-06 When Powerful SAS Meets PowerShell TM Shunbing Zhao, Merck & Co., Inc., Rahway, NJ, USA Jeff Xia, Merck & Co., Inc., Rahway, NJ, USA Chao Su, Merck & Co., Inc., Rahway, NJ,
More informationAre you Still Afraid of Using Arrays? Let s Explore their Advantages
Paper CT07 Are you Still Afraid of Using Arrays? Let s Explore their Advantages Vladyslav Khudov, Experis Clinical, Kharkiv, Ukraine ABSTRACT At first glance, arrays in SAS seem to be a complicated and
More informationEasing into Data Exploration, Reporting, and Analytics Using SAS Enterprise Guide
Paper 809-2017 Easing into Data Exploration, Reporting, and Analytics Using SAS Enterprise Guide ABSTRACT Marje Fecht, Prowerk Consulting Whether you have been programming in SAS for years, are new to
More informationCreating output datasets using SQL (Structured Query Language) only Andrii Stakhniv, Experis Clinical, Ukraine
ABSTRACT PharmaSUG 2015 Paper QT22 Andrii Stakhniv, Experis Clinical, Ukraine PROC SQL is one of the most powerful procedures in SAS. With this tool we can easily manipulate data and create a large number
More informationThere s No Such Thing as Normal Clinical Trials Data, or Is There? Daphne Ewing, Octagon Research Solutions, Inc., Wayne, PA
Paper HW04 There s No Such Thing as Normal Clinical Trials Data, or Is There? Daphne Ewing, Octagon Research Solutions, Inc., Wayne, PA ABSTRACT Clinical Trials data comes in all shapes and sizes depending
More informationA Juxtaposition of Tables and Graphs Using SAS /GRAPH Procedures
A Juxtaposition of Tables and Graphs Using SAS /GRAPH Procedures Suhas R. Sanjee, MaxisIT Inc., Edison, NJ Sheng Zhang, Merck and Co., Upper Gwynedd, PA ABSTRACT Graphs provide high-impact visuals that
More informationPatricia 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 informationA Linux Shell Script to Automatically Compare Results of Statistical Analyses
PharmaSUG 2018 - Paper AD-04 A Linux Shell Script to Automatically Compare Results of Statistical Analyses Chen Wang, Shu Zan and Joshua Conrad, Gilead Sciences, Inc. Foster City, CA ABSTRACT Double programming
More informationDitch the Data Memo: Using Macro Variables and Outer Union Corresponding in PROC SQL to Create Data Set Summary Tables Andrea Shane MDRC, Oakland, CA
ABSTRACT Ditch the Data Memo: Using Macro Variables and Outer Union Corresponding in PROC SQL to Create Data Set Summary Tables Andrea Shane MDRC, Oakland, CA Data set documentation is essential to good
More informationRegaining Some Control Over ODS RTF Pagination When Using Proc Report Gary E. Moore, Moore Computing Services, Inc., Little Rock, Arkansas
PharmaSUG 2015 - Paper QT40 Regaining Some Control Over ODS RTF Pagination When Using Proc Report Gary E. Moore, Moore Computing Services, Inc., Little Rock, Arkansas ABSTRACT When creating RTF files using
More informationPaper 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 informationGet Started Writing SAS Macros Luisa Hartman, Jane Liao, Merck Sharp & Dohme Corp.
Get Started Writing SAS Macros Luisa Hartman, Jane Liao, Merck Sharp & Dohme Corp. ABSTRACT The SAS Macro Facility is a tool which lends flexibility to your SAS code and promotes easier maintenance. It
More informationWhat Do You Mean My CSV Doesn t Match My SAS Dataset?
SESUG 2016 Paper CC-132 What Do You Mean My CSV Doesn t Match My SAS Dataset? Patricia Guldin, Merck & Co., Inc; Young Zhuge, Merck & Co., Inc. ABSTRACT Statistical programmers are responsible for delivering
More informationFly over, drill down, and explore
ABSTRACT Paper 79-2013 Fly over, drill down, and explore Suzanne Brown, HealthInsight New Mexico, Albuquerque, NM Data often have a spatial dimension, whether it is a five-year financial plan and annual
More informationThe Output Bundle: A Solution for a Fully Documented Program Run
Paper AD05 The Output Bundle: A Solution for a Fully Documented Program Run Carl Herremans, MSD (Europe), Inc., Brussels, Belgium ABSTRACT Within a biostatistics department, it is required that each statistical
More informationPharmaSUG Paper PO12
PharmaSUG 2015 - Paper PO12 ABSTRACT Utilizing SAS for Cross-Report Verification in a Clinical Trials Setting Daniel Szydlo, Fred Hutchinson Cancer Research Center, Seattle, WA Iraj Mohebalian, Fred Hutchinson
More informationA Few Quick and Efficient Ways to Compare Data
A Few Quick and Efficient Ways to Compare Data Abraham Pulavarti, ICON Clinical Research, North Wales, PA ABSTRACT In the fast paced environment of a clinical research organization, a SAS programmer has
More informationCreating and Executing Stored Compiled DATA Step Programs
465 CHAPTER 30 Creating and Executing Stored Compiled DATA Step Programs Definition 465 Uses for Stored Compiled DATA Step Programs 465 Restrictions and Requirements 466 How SAS Processes Stored Compiled
More informationA Utility Program for Quickly Identifying LOG Error or Warning Messages
A Utility Program for Quickly Identifying LOG Error or Warning Messages Zhengyi Fang and Paul Gorrell Social & Scientific Systems, Inc., Silver Spring, MD ABSTRACT This paper will show you how to create
More informationSAS Macros of Performing Look-Ahead and Look-Back Reads
PharmaSUG 2018 - Paper QT-05 ABSTRACT SAS Macros of Performing Look-Ahead and Look-Back Reads Yanhong Liu, Cincinnati Children s Hospital Medical Center, Cincinnati, OH When working with the time series
More informationAutomated 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 informationFiles 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 informationABSTRACT INTRODUCTION PROBLEM: TOO MUCH INFORMATION? math nrt scr. ID School Grade Gender Ethnicity read nrt scr
ABSTRACT A strategy for understanding your data: Binary Flags and PROC MEANS Glen Masuda, SRI International, Menlo Park, CA Tejaswini Tiruke, SRI International, Menlo Park, CA Many times projects have
More informationSummarizing Impossibly Large SAS Data Sets For the Data Warehouse Server Using Horizontal Summarization
Summarizing Impossibly Large SAS Data Sets For the Data Warehouse Server Using Horizontal Summarization Michael A. Raithel, Raithel Consulting Services Abstract Data warehouse applications thrive on pre-summarized
More informationSAS System Powers Web Measurement Solution at U S WEST
SAS System Powers Web Measurement Solution at U S WEST Bob Romero, U S WEST Communications, Technical Expert - SAS and Data Analysis Dale Hamilton, U S WEST Communications, Capacity Provisioning Process
More informationSAS 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 informationData Manipulation with SQL Mara Werner, HHS/OIG, Chicago, IL
Paper TS05-2011 Data Manipulation with SQL Mara Werner, HHS/OIG, Chicago, IL Abstract SQL was developed to pull together information from several different data tables - use this to your advantage as you
More informationUsing PROC REPORT to Cross-Tabulate Multiple Response Items Patrick Thornton, SRI International, Menlo Park, CA
Using PROC REPORT to Cross-Tabulate Multiple Response Items Patrick Thornton, SRI International, Menlo Park, CA ABSTRACT This paper describes for an intermediate SAS user the use of PROC REPORT to create
More informationApplication Interface for executing a batch of SAS Programs and Checking Logs Sneha Sarmukadam, inventiv Health Clinical, Pune, India
PharmaSUG 2013 - Paper AD16 Application Interface for executing a batch of SAS Programs and Checking Logs Sneha Sarmukadam, inventiv Health Clinical, Pune, India ABSTRACT The most convenient way to execute
More informationIBM InfoSphere Information Server Version 8 Release 7. Reporting Guide SC
IBM InfoSphere Server Version 8 Release 7 Reporting Guide SC19-3472-00 IBM InfoSphere Server Version 8 Release 7 Reporting Guide SC19-3472-00 Note Before using this information and the product that it
More informationPharmaSUG China Paper 059
PharmaSUG China 2016 - Paper 059 Using SAS @ to Assemble Output Report Files into One PDF File with Bookmarks Sam Wang, Merrimack Pharmaceuticals, Inc., Cambridge, MA Kaniz Khalifa, Leaf Research Services,
More informationPharmaSUG 2013 CC26 Automating the Labeling of X- Axis Sanjiv Ramalingam, Vertex Pharmaceuticals, Inc., Cambridge, MA
PharmaSUG 2013 CC26 Automating the Labeling of X- Axis Sanjiv Ramalingam, Vertex Pharmaceuticals, Inc., Cambridge, MA ABSTRACT Labeling of the X-axis usually involves a tedious axis statement specifying
More informationSDTM Attribute Checking Tool Ellen Xiao, Merck & Co., Inc., Rahway, NJ
PharmaSUG2010 - Paper CC20 SDTM Attribute Checking Tool Ellen Xiao, Merck & Co., Inc., Rahway, NJ ABSTRACT Converting clinical data into CDISC SDTM format is a high priority of many pharmaceutical/biotech
More informationThis paper describes a report layout for reporting adverse events by study consumption pattern and explains its programming aspects.
PharmaSUG China 2015 Adverse Event Data Programming for Infant Nutrition Trials Ganesh Lekurwale, Singapore Clinical Research Institute, Singapore Parag Wani, Singapore Clinical Research Institute, Singapore
More informationExporting Variable Labels as Column Headers in Excel using SAS Chaitanya Chowdagam, MaxisIT Inc., Metuchen, NJ
Paper 74924-2011 Exporting Variable Labels as Column Headers in Excel using SAS Chaitanya Chowdagam, MaxisIT Inc., Metuchen, NJ ABSTRACT Excel output is the desired format for most of the ad-hoc reports
More informationPharmaSUG China Mina Chen, Roche (China) Holding Ltd.
PharmaSUG China 2017-50 Writing Efficient Queries in SAS Using PROC SQL with Teradata Mina Chen, Roche (China) Holding Ltd. ABSTRACT The emergence of big data, as well as advancements in data science approaches
More informationUsing SAS software to shrink the data in your applications
Paper 991-2016 Using SAS software to shrink the data in your applications Ahmed Al-Attar, AnA Data Warehousing Consulting LLC, McLean, VA ABSTRACT This paper discusses the techniques I used at the Census
More informationA SAS Solution to Create a Weekly Format Susan Bakken, Aimia, Plymouth, MN
Paper S126-2012 A SAS Solution to Create a Weekly Format Susan Bakken, Aimia, Plymouth, MN ABSTRACT As programmers, we are frequently asked to report by periods that do not necessarily correspond to weeks
More informationData Quality Review for Missing Values and Outliers
Paper number: PH03 Data Quality Review for Missing Values and Outliers Ying Guo, i3, Indianapolis, IN Bradford J. Danner, i3, Lincoln, NE ABSTRACT Before performing any analysis on a dataset, it is often
More informationHow Managers and Executives Can Leverage SAS Enterprise Guide
Paper 8820-2016 How Managers and Executives Can Leverage SAS Enterprise Guide ABSTRACT Steven First and Jennifer First-Kluge, Systems Seminar Consultants, Inc. SAS Enterprise Guide is an extremely valuable
More informationJMP Clinical. Release Notes. Version 5.0
JMP Clinical Version 5.0 Release Notes Creativity involves breaking out of established patterns in order to look at things in a different way. Edward de Bono JMP, A Business Unit of SAS SAS Campus Drive
More informationSAS Visual Analytics 8.2: Getting Started with Reports
SAS Visual Analytics 8.2: Getting Started with Reports Introduction Reporting The SAS Visual Analytics tools give you everything you need to produce and distribute clear and compelling reports. SAS Visual
More informationTips for Mastering Relational Databases Using SAS/ACCESS
Tips for Mastering Relational Databases Using SAS/ACCESS 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
More informationABSTRACT INTRODUCTION MACRO. Paper RF
Paper RF-08-2014 Burst Reporting With the Help of PROC SQL Dan Sturgeon, Priority Health, Grand Rapids, Michigan Erica Goodrich, Priority Health, Grand Rapids, Michigan ABSTRACT Many SAS programmers need
More informationThe first approach to accessing pathology diagnostic information is the use of synoptic worksheets produced by the
ABSTRACT INTRODUCTION Expediting Access to Critical Pathology Data Leanne Goldstein, City of Hope, Duarte, CA Rebecca Ottesen, City of Hope, Duarte, CA Julie Kilburn, City of Hope, Duarte, CA Joyce Niland,
More informationHow to Keep Multiple Formats in One Variable after Transpose Mindy Wang
How to Keep Multiple Formats in One Variable after Transpose Mindy Wang Abstract In clinical trials and many other research fields, proc transpose are used very often. When many variables with their individual
More informationMacro Method to use Google Maps and SAS to Geocode a Location by Name or Address
Paper 2684-2018 Macro Method to use Google Maps and SAS to Geocode a Location by Name or Address Laurie Smith, Cincinnati Children s Hospital Medical Center, Cincinnati, Ohio ABSTRACT Google Maps is a
More informationChapter 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 informationSTAT:5400 Computing in Statistics
STAT:5400 Computing in Statistics Introduction to SAS Lecture 18 Oct 12, 2015 Kate Cowles 374 SH, 335-0727 kate-cowles@uiowaedu SAS SAS is the statistical software package most commonly used in business,
More informationQuick Data Definitions Using SQL, REPORT and PRINT Procedures Bradford J. Danner, PharmaNet/i3, Tennessee
ABSTRACT PharmaSUG2012 Paper CC14 Quick Data Definitions Using SQL, REPORT and PRINT Procedures Bradford J. Danner, PharmaNet/i3, Tennessee Prior to undertaking analysis of clinical trial data, in addition
More informationData Edit-checks Integration using ODS Tagset Niraj J. Pandya, Element Technologies Inc., NJ Vinodh Paida, Impressive Systems Inc.
PharmaSUG2011 - Paper DM03 Data Edit-checks Integration using ODS Tagset Niraj J. Pandya, Element Technologies Inc., NJ Vinodh Paida, Impressive Systems Inc., TX ABSTRACT In the Clinical trials data analysis
More informationPharmaSUG Paper AD03
PharmaSUG 2017 - Paper AD03 Three Issues and Corresponding Work-Around Solution for Generating Define.xml 2.0 Using Pinnacle 21 Enterprise Jeff Xia, Merck & Co., Inc., Rahway, NJ, USA Lugang (Larry) Xie,
More informationPharmaSUG China Paper 70
ABSTRACT PharmaSUG China 2015 - Paper 70 SAS Longitudinal Data Techniques - From Change from Baseline to Change from Previous Visits Chao Wang, Fountain Medical Development, Inc., Nanjing, China Longitudinal
More informationGetting it Done with PROC TABULATE
ABSTRACT Getting it Done with PROC TABULATE Michael J. Williams, ICON Clinical Research, San Francisco, CA The task of displaying statistical summaries of different types of variables in a single table
More informationBeginning Tutorials. PROC FSEDIT NEW=newfilename LIKE=oldfilename; Fig. 4 - Specifying a WHERE Clause in FSEDIT. Data Editing
Mouse Clicking Your Way Viewing and Manipulating Data with Version 8 of the SAS System Terry Fain, RAND, Santa Monica, California Cyndie Gareleck, RAND, Santa Monica, California ABSTRACT Version 8 of the
More informationPharmaSUG Paper CC11
PharmaSUG 2014 - Paper CC11 Streamline the Dual Antiplatelet Therapy Record Processing in SAS by Using Concept of Queue and Run-Length Encoding Kai Koo, Abbott Vascular, Santa Clara, CA ABSTRACT Dual antiplatelet
More informationABSTRACT: INTRODUCTION: WEB CRAWLER OVERVIEW: METHOD 1: WEB CRAWLER IN SAS DATA STEP CODE. Paper CC-17
Paper CC-17 Your Friendly Neighborhood Web Crawler: A Guide to Crawling the Web with SAS Jake Bartlett, Alicia Bieringer, and James Cox PhD, SAS Institute Inc., Cary, NC ABSTRACT: The World Wide Web has
More informationBuilding Flexible Jobs in DataFlux
Paper 1384-2015 Building Flexible Jobs in DataFlux Jeanne Estridge, Sinclair Community College ABSTRACT Creating DataFlux jobs that can be executed from job scheduling software can be challenging. This
More informationCustomized Flowcharts Using SAS Annotation Abhinav Srivastva, PaxVax Inc., Redwood City, CA
ABSTRACT Customized Flowcharts Using SAS Annotation Abhinav Srivastva, PaxVax Inc., Redwood City, CA Data visualization is becoming a trend in all sectors where critical business decisions or assessments
More informationBad Date: How to find true love with Partial Dates! Namrata Pokhrel, Accenture Life Sciences, Berwyn, PA
PharmaSUG 2014 Paper PO09 Bad Date: How to find true love with Partial Dates! Namrata Pokhrel, Accenture Life Sciences, Berwyn, PA ABSTRACT This poster will discuss the difficulties encountered while trying
More informationA Breeze through SAS options to Enter a Zero-filled row Kajal Tahiliani, ICON Clinical Research, Warrington, PA
ABSTRACT: A Breeze through SAS options to Enter a Zero-filled row Kajal Tahiliani, ICON Clinical Research, Warrington, PA Programmers often need to summarize data into tables as per template. But study
More informationABSTRACT 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 informationQuick and Efficient Way to Check the Transferred Data Divyaja Padamati, Eliassen Group Inc., North Carolina.
ABSTRACT PharmaSUG 2016 - Paper QT03 Quick and Efficient Way to Check the Transferred Data Divyaja Padamati, Eliassen Group Inc., North Carolina. Consistency, quality and timelines are the three milestones
More informationA Fully Automated Approach to Concatenate RTF outputs and Create TOC Zhiping Yan, Covance, Beijing, China Lugang Xie, Merck, Princeton, US
PharmaSUG China 2015 - Paper 28X-B9F7B4B9P8 A Fully Automated Approach to Concatenate RTF outputs and Create TOC Zhiping Yan, Covance, Beijing, China Lugang Xie, Merck, Princeton, US ABSTRACT Statistical
More informationExtending the Scope of Custom Transformations
Paper 3306-2015 Extending the Scope of Custom Transformations Emre G. SARICICEK, The University of North Carolina at Chapel Hill. ABSTRACT Building and maintaining a data warehouse can require complex
More informationA SAS Macro to Generate Caterpillar Plots. Guochen Song, i3 Statprobe, Cary, NC
PharmaSUG2010 - Paper CC21 A SAS Macro to Generate Caterpillar Plots Guochen Song, i3 Statprobe, Cary, NC ABSTRACT Caterpillar plots are widely used in meta-analysis and it only requires a click in software
More informationIF there is a Better Way than IF-THEN
PharmaSUG 2018 - Paper QT-17 IF there is a Better Way than IF-THEN Bob Tian, Anni Weng, KMK Consulting Inc. ABSTRACT In this paper, the author compares different methods for implementing piecewise constant
More informationDivide 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 informationSuper boost data transpose puzzle
Paper 2100-2016 Super boost data transpose puzzle Ahmed Al-Attar, AnA Data Warehousing Consulting LLC, McLean, VA ABSTRACT This paper compares different solutions to a data transpose puzzle presented to
More informationA 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 informationGuide Users along Information Pathways and Surf through the Data
Guide Users along Information Pathways and Surf through the Data Stephen Overton, Overton Technologies, LLC, Raleigh, NC ABSTRACT Business information can be consumed many ways using the SAS Enterprise
More informationWhile 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 informationPreparing the Office of Scientific Investigations (OSI) Requests for Submissions to FDA
PharmaSUG 2018 - Paper EP15 Preparing the Office of Scientific Investigations (OSI) Requests for Submissions to FDA Ellen Lin, Wei Cui, Ran Li, and Yaling Teng Amgen Inc, Thousand Oaks, CA ABSTRACT The
More informationUSING HASH TABLES FOR AE SEARCH STRATEGIES Vinodita Bongarala, Liz Thomas Seattle Genetics, Inc., Bothell, WA
harmasug 2017 - Paper BB08 USING HASH TABLES FOR AE SEARCH STRATEGIES Vinodita Bongarala, Liz Thomas Seattle Genetics, Inc., Bothell, WA ABSTRACT As part of adverse event safety analysis, adverse events
More informationVenkata N Madhira Senior SAS Programmer, Shionogi Inc.
A Macro Tool to Find and/or Split Variable Text String Greater Than 200 Characters for Regulatory Submission Datasets. Venkata N Madhira Senior SAS Programmer, Shionogi Inc. PhUSE US Connect 2018 Introduction
More informationRanking Between the Lines
Ranking Between the Lines A %MACRO for Interpolated Medians By Joe Lorenz SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in
More informationTen tips for efficient SAS code
Ten tips for efficient SAS code Host Caroline Scottow Presenter Peter Hobart Managing the webinar In Listen Mode Control bar opened with the white arrow in the orange box Efficiency Overview Optimisation
More informationIntroducing a Colorful Proc Tabulate Ben Cochran, The Bedford Group, Raleigh, NC
Paper S1-09-2013 Introducing a Colorful Proc Tabulate Ben Cochran, The Bedford Group, Raleigh, NC ABSTRACT Several years ago, one of my clients was in the business of selling reports to hospitals. He used
More informationIt s not the Yellow Brick Road but the SAS PC FILES SERVER will take you Down the LIBNAME PATH= to Using the 64-Bit Excel Workbooks.
Paper FP_82 It s not the Yellow Brick Road but the SAS PC FILES SERVER will take you Down the LIBNAME PATH= to Using the 64-Bit Excel Workbooks. ABSTRACT William E Benjamin Jr, Owl Computer Consultancy,
More informationSAS macro package to automate coding graphs with ClinXport.
Paper PP12 SAS macro package to automate coding graphs with ClinXport. Philippe Remusat, ClinBAY, Genappe, Belgium François Vandenhende, ClinBAY, Genappe, Belgium ABSTRACT ClinXport is a tool developed
More informationSAS IT Resource Management 3.3
SAS IT Resource Management 3.3 Gallery Manager User's Guide SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2012. SAS IT Resource Management 3.3:
More information%ANYTL: A Versatile Table/Listing Macro
Paper AD09-2009 %ANYTL: A Versatile Table/Listing Macro Yang Chen, Forest Research Institute, Jersey City, NJ ABSTRACT Unlike traditional table macros, %ANTL has only 3 macro parameters which correspond
More informationTaming a Spreadsheet Importation Monster
SESUG 2013 Paper BtB-10 Taming a Spreadsheet Importation Monster Nat Wooding, J. Sargeant Reynolds Community College ABSTRACT As many programmers have learned to their chagrin, it can be easy to read Excel
More informationIt s Proc Tabulate Jim, but not as we know it!
Paper SS02 It s Proc Tabulate Jim, but not as we know it! Robert Walls, PPD, Bellshill, UK ABSTRACT PROC TABULATE has received a very bad press in the last few years. Most SAS Users have come to look on
More informationSorting big datasets. Do we really need it? Daniil Shliakhov, Experis Clinical, Kharkiv, Ukraine
PharmaSUG 2015 - Paper QT21 Sorting big datasets. Do we really need it? Daniil Shliakhov, Experis Clinical, Kharkiv, Ukraine ABSTRACT Very often working with big data causes difficulties for SAS programmers.
More informationAutomatic Detection of Section Membership for SAS Conference Paper Abstract Submissions: A Case Study
1746-2014 Automatic Detection of Section Membership for SAS Conference Paper Abstract Submissions: A Case Study Dr. Goutam Chakraborty, Professor, Department of Marketing, Spears School of Business, Oklahoma
More information