Automating SAS Macros: Run SAS Code when the Data is Available and a Target Date Reached.
|
|
- Michael Ryan
- 8 years ago
- Views:
Transcription
1 Automating SAS Macros: Run SAS Code when the Data is Available and a Target Date Reached. Nitin Gupta, Tailwind Associates, Schenectady, NY ABSTRACT This paper describes a method to run discreet macro(s) embedded in a single SAS code on a particular day of the week or date in the month. The initiation of the macro happens only when both the day of the week is reached and source(s) data is available. This paper is appropriate for SAS users who run SAS jobs on a production environment. The macro efficiently moves analytical activities given the available schedule/data, avoiding redundancies in running SAS jobs. The code is a combination of SQL and SAS Macro language. This paper is intended for SAS users of all skill levels. Keywords: SAS Macros, Scheduling SAS Jobs, SQL, %Sysfunc(exist), DO loop INTRODUCTION Maintenance and execution of multiple SAS programs become more difficult as the organizations grow and the number of variables involved increases. Scheduling the right program on the right day may involve multiple departments and various resources to get desired results. Also, the ability to run multiple programs simultaneously across multiple SAS sessions may require expensive scheduling tool(s). This paper presents three steps to make the scheduling process simple and error-free. After reading this paper, you should be able to tailor your SAS programs to process Macro statements on the given schedule in your organization. This combination of macros and SQL will be introduced through an example. After the example, the syntax section will describe each of the macros and their arguments. A weekly processing for each of our SAS codes consisted of multiple SAS steps and took an analyst number of hours to just compile each step interactively and maintain the output of these codes. A production framework was needed to better utilize our staff and to ensure that SAS code(s) processing was completed successfully by producing a logical log as output. In the process, we developed a consistent scheduling structure for our SAS macro(s) processing environment by running different macros on different days using a single SAS batch file. The scheduling macro facility requires two parameters, the date of the execution of SAS process and Source or the DATA set to be processed by the SAS macro code. The macro then conditionally reads and validates the data sets if they exist or ends execution if the source DATA sets do not exist. 1
2 The figure below shows relationship between scheduling tasks and individual processing steps. METHOD Step A involves establishing SAS Macro environment and saving key macro variables in a single SAS File. DATA sources passes key variable to the SAS macro and check for returned code from each step. Execute the production task if the return code is Yes. For the purpose of this paper, assume that all the macros are included in a single SAS batch file, which would be used for scheduling purposes. These programs were set up to run under SAS in the Microsoft Windows environment, so you should keep that in mind when looking at them. You may easily modify the systems interfaces of these programs so that they may run in a UNIX, Linux, or z/os environment. The following three step process takes data from the sources and transforms them to the target using scheduling logic: Prepare single file containing various Macro program, which needs to be executed on a given day/dates. Create a list of all the dates, on which the SAS macros would be run. Check if the DATA Sources are available and day reached for Macro(s) to Run. 2
3 STEP 1: CREATE A DATE FILE A SAS DATA step is used, to create a file called dates, which represents list of dates. You can choose any year for start and end of the date, in our example we have chosen the dates between years 1980 and The table contains date of the year and all other information related to that date i.e. month of the date, week of the date, quarter of the date, days of week name etc. Variable name thedate contains the information related to the specific date, to help triage any schedule for the SAS program execution. In the following example, thedate and the dayofweekname variable are used to create the boundary conditions. You can use any of the other variable depending upon the frequency of execution of your SAS program. data dates; retain dayofyear; format datekey 11.; do year = 1980 to 2020; dayofyear = 0; do month = 1 to 12; do dayofmonth = 1 to 31; format thedate mmddyy10.; thedate = mdy(month,dayofmonth,year); if (thedate =.) then leave; dayofyear = dayofyear + 1; weekofyear = (1 + floor(dayofyear / 7)); dayofweekname = left(trim(put(thedate,downame9.))); quarter = put(thedate,qtr1.); datekey = int(compress(put(thedate,yymmdd10.),"-")); output; run; end; end; end; Explanation of Syntax: DO loop is used to create various intervals of dates. Date variable is formatted and displayed in day/week/ month/year. Table 1: The result of the above DATA step would produce the following dates table. 3
4 STEP 2: CREATE THE BOUNDARY CONDITIONS FOR THE EXECUTION SCHEDULE. SQL code is used to create the date range (minimum and maximum dates) for the Macro step(s) to be executed. In this example below, the SAS job should run on each Friday of the week between the dates 1stJan2009 (&mindate) and 30thApr2009 (&maxdate). Number of observations or frequency of dates can be modified by adjusting the where clause in the SQL statement. %let mindate = '1Jan09'd; %let maxdate = '30Apr09'd; proc sql; create table snapshotdates as select thedate from dates where dayofweekname = 'Friday' and (thedate between &mindate and &maxdate) order by thedate; quit; The DATA table Snapshotdates would contain dates, which corresponds to all Friday s of the month between the minimum and maximum dates specified in our schedule. Step 3 below uses the Windows batch job scheduler to run the relevant job once the date is reached by executing the SAS Macro. The following section explains the processes using the SAS Syntax. STEP 3: VERIFY THE EXISTENCE OF THE SPECIFIED SOURCES AND SAS PROGRAM EXECUTION DATE. The DATA step below would checks if the date(s) for the process has been reached by comparing the thedate variable with the system date (&sysdate) of the machine. If the Run date of the program has been reached, there would be one observation in the snapshotdate_job1 data set. data snapshotdates_job1; set snapshotdates; where (thedate) = "&sysdate."d; keep thedate; run; A DATA _NULL_ step is used to create a macro variable containing a list of all the conditional logic and DATA sets. The SAS EXIST function verifies that a data library source member exists and is available to access. By default the EXIST function checks for a member type of DATA. The EXIST function returns a 1 if the library member exists and a zero if the member name does not exist or if the member type is invalid. In the example below macro entitled %Checkfordateandsource requires two parameters for input, the DATA set snapshotdate_job1 and the source file name with the location. Macro %RunSASMarco would be executed if both the source files and the date file are available. The macro variable &dsn requires the name of the source file and macro 4
5 variable &dsn1 checks if the date of the month has reached. Additional conditional logic can be used to schedule multiple number of SAS Macros on different days by creating the various number of Snapshotdates_job files for each schedule date. We would suggest the use of ERRORABEND option to terminate a SAS process if the source data is not available. The Log in the Macro statement %Checkfordateandsource is designed in such a way that SAS would only execute ERRORABEND option if the data source(s) are not available. SAS log would show the statement Date is not reached to run the SAS Macro and would not terminate SAS session if only the date condition is not met. Since the production job would runs without manual intervention, notification is recorded in the SAS output if either the Source(s) is not available or the day of the week is not reached, so that corrective action can begin immediately. An notification can also be setup using an client function (not presented in this paper), including the LOG of the failing step as an attachment. %Macro CheckfordateandSource(dsn, dsn1); data _null_; %if %sysfunc(exist(&dsn)) = 1 %then %do; %let dsid = %sysfunc(open(&dsn)); %let numobs = %sysfunc(attrn(&dsid,nlobs)); %if &numobs gt 0 %then %do; %if %sysfunc(exist(&dsn1)) = 1 %then %do; %let dsid1 = %sysfunc(open(&dsn1)); %let numobs1 = %sysfunc(attrn(&dsid1,nlobs)); %if &numobs1 gt 0 %then %do; /* The name of the Macro Variable, which would be executed */ %RunSASMacro; /* Multiple SAS Macros can be Scheduled using Conditional Logic */ %else %do; %put ##########################################; %put Date is not reached to run the SAS Macro; %put ##########################################; %else %do; %put #########################################; %put ERROR: The data set &dsn does not; %put ERROR- exist in the specified location; %put ERROR- Terminating SAS Process; %put #########################################; xxxx; run; %Mend CheckfordateandSource; /** &Source: The file that %RunSASMacro uses as a Source ***/ /** SnapshotDates_Job1: The day of the Week the Job is supposed to Schedule ***/ %CheckfordateandSource(&Source, SnapshotDates_Job1); Explanation of Syntax: The DATA set of interest is opened for inquiry. The ATTRN function returns number of observations in the DATA set. 5
6 CONCLUSION The sysfunc(exist) checks for the number of observations and executes macro %runsasmacro only if the return value is 1. This paper presents a framework that automates the task of running various macro statements on a particular day of the week or date in the month if the source(s) are available. Three easy SAS steps can help schedule tasks more efficiently and error free, notifying each step of successful completion to an analyst. The analyst is freed from the tedium of running each step manually and only needs to respond to correct errors or check results at completion of the entire process. The production framework like the one described above helps maintain standard programming practices and reduces occurrence of errors. DISCLAIMER The contents of this paper are the work of the author and do not necessarily represent the opinions, recommendations, or practices of NYS Office of Mental Health. 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 a USA registration. Other brand and product names are registered trademarks or trademarks of their respective companies. REFERENCES Additional information about the SAS Macro Facility can be found in the SAS Macro Language: Reference, Version 8. ACKNOWLEDGMENTS This work was supported by the New York State Office of Mental Health. I would like to express my appreciation to Dr. Emily Leckman-Westin for her contributions to this paper. CONTACT INFORMATION Please feel free to contact me if you have any questions or comments about this paper. You may reach me at: Nitin Gupta 1462 Erie Boulevard, Schenectady, NY Work Phone: issdnxg@omh.state.ny.us 6
An email macro: Exploring metadata EG and user credentials in Linux to automate email notifications Jason Baucom, Ateb Inc.
SESUG 2012 Paper CT-02 An email macro: Exploring metadata EG and user credentials in Linux to automate email notifications Jason Baucom, Ateb Inc., Raleigh, NC ABSTRACT Enterprise Guide (EG) provides useful
More informationStatistics and Analysis. Quality Control: How to Analyze and Verify Financial Data
Abstract Quality Control: How to Analyze and Verify Financial Data Michelle Duan, Wharton Research Data Services, Philadelphia, PA As SAS programmers dealing with massive financial data from a variety
More informationPaper PO03. A Case of Online Data Processing and Statistical Analysis via SAS/IntrNet. Sijian Zhang University of Alabama at Birmingham
Paper PO03 A Case of Online Data Processing and Statistical Analysis via SAS/IntrNet Sijian Zhang University of Alabama at Birmingham BACKGROUND It is common to see that statisticians at the statistical
More informationPharmaSUG2011 - Paper AD11
PharmaSUG2011 - Paper AD11 Let the system do the work! Automate your SAS code execution on UNIX and Windows platforms Niraj J. Pandya, Element Technologies Inc., NJ Vinodh Paida, Impressive Systems Inc.,
More informationAutomation of Large SAS Processes with Email and Text Message Notification Seva Kumar, JPMorgan Chase, Seattle, WA
Automation of Large SAS Processes with Email and Text Message Notification Seva Kumar, JPMorgan Chase, Seattle, WA ABSTRACT SAS includes powerful features in the Linux SAS server environment. While creating
More informationYou have got SASMAIL!
You have got SASMAIL! Rajbir Chadha, Cognizant Technology Solutions, Wilmington, DE ABSTRACT As SAS software programs become complex, processing times increase. Sitting in front of the computer, waiting
More informationTales from the Help Desk 3: More Solutions for Simple SAS Mistakes Bruce Gilsen, Federal Reserve Board
Tales from the Help Desk 3: More Solutions for Simple SAS Mistakes Bruce Gilsen, Federal Reserve Board INTRODUCTION In 20 years as a SAS consultant at the Federal Reserve Board, I have seen SAS users make
More informationCDW DATA QUALITY INITIATIVE
Loading Metadata to the IRS Compliance Data Warehouse (CDW) Website: From Spreadsheet to Database Using SAS Macros and PROC SQL Robin Rappaport, IRS Office of Research, Washington, DC Jeff Butler, IRS
More informationStreamlining Reports: A Look into Ad Hoc and Standardized Processes James Jenson, US Bancorp, Saint Paul, MN
Working Paper 138-2010 Streamlining Reports: A Look into Ad Hoc and Standardized Processes James Jenson, US Bancorp, Saint Paul, MN Abstract: This paper provides a conceptual framework for quantitative
More informationSENDING EMAILS IN SAS TO FACILITATE CLINICAL TRIAL. Frank Fan, Clinovo, Sunnyvale CA
SENDING EMAILS IN SAS TO FACILITATE CLINICAL TRIAL Frank Fan, Clinovo, Sunnyvale CA WUSS 2011 Annual Conference October 2011 TABLE OF CONTENTS 1. ABSTRACT... 3 2. INTRODUCTION... 3 3. SYSTEM CONFIGURATION...
More informationUsing Macros to Automate SAS Processing Kari Richardson, SAS Institute, Cary, NC Eric Rossland, SAS Institute, Dallas, TX
Paper 126-29 Using Macros to Automate SAS Processing Kari Richardson, SAS Institute, Cary, NC Eric Rossland, SAS Institute, Dallas, TX ABSTRACT This hands-on workshop shows how to use the SAS Macro Facility
More informationFIRST STEP - ADDITIONS TO THE CONFIGURATIONS FILE (CONFIG FILE) SECOND STEP Creating the email to send
Using SAS to E-Mail Reports and Results to Users Stuart Summers, Alliant, Brewster, NY ABSTRACT SAS applications that are repeatedly and periodically run have reports and files that need to go to various
More informationTechnical Paper. Defining an ODBC Library in SAS 9.2 Management Console Using Microsoft Windows NT Authentication
Technical Paper Defining an ODBC Library in SAS 9.2 Management Console Using Microsoft Windows NT Authentication Release Information Content Version: 1.0 October 2015. Trademarks and Patents SAS Institute
More informationAutomate G/L Consolidation User Guide
Automate G/L Consolidation User Guide Important Notice TaiRox does not warrant or represent that your use of this software product will be uninterrupted or error-free or that the software product can be
More informationDBF Chapter. Note to UNIX and OS/390 Users. Import/Export Facility CHAPTER 7
97 CHAPTER 7 DBF Chapter Note to UNIX and OS/390 Users 97 Import/Export Facility 97 Understanding DBF Essentials 98 DBF Files 98 DBF File Naming Conventions 99 DBF File Data Types 99 ACCESS Procedure Data
More informationSending Emails in SAS to Facilitate Clinical Trial Frank Fan, Clinovo, Sunnyvale, CA
Sending Emails in SAS to Facilitate Clinical Trial Frank Fan, Clinovo, Sunnyvale, CA ABSTRACT Email has drastically changed our ways of working and communicating. In clinical trial data management, delivering
More informationScheduling in SAS 9.4 Second Edition
Scheduling in SAS 9.4 Second Edition SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2015. Scheduling in SAS 9.4, Second Edition. Cary, NC: SAS Institute
More informationScheduling in SAS 9.3
Scheduling in SAS 9.3 SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc 2011. Scheduling in SAS 9.3. Cary, NC: SAS Institute Inc. Scheduling in SAS 9.3
More informationSUGI 29 Coders' Corner
Paper 048-29 ABSTRACT Making Music in SAS : Using Sound to Alert Users of Errors and Data Discrepancies David Fielding, AAI Development Service, Mississauga, ON Did you know you could have SAS play music?
More informationWhile You Were Sleeping - Scheduling SAS Jobs to Run Automatically Faron Kincheloe, Baylor University, Waco, TX
CC04 While You Were Sleeping - Scheduling SAS Jobs to Run Automatically Faron Kincheloe, Baylor University, Waco, TX ABSTRACT If you are tired of running the same jobs over and over again, this paper is
More informationSAS 9.4 Intelligence Platform: Migration Guide, Second Edition
SAS 9.4 Intelligence Platform: Migration Guide, Second Edition SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2015. SAS 9.4 Intelligence Platform:
More informationUsing SAS With a SQL Server Database. M. Rita Thissen, Yan Chen Tang, Elizabeth Heath RTI International, RTP, NC
Using SAS With a SQL Server Database M. Rita Thissen, Yan Chen Tang, Elizabeth Heath RTI International, RTP, NC ABSTRACT Many operations now store data in relational databases. You may want to use SAS
More informationOptimizing Marketing Campaign ROI through Process Automation
Optimizing Marketing Campaign ROI through Process Automation Abstract Tariq Jaffery, Shirley Liu and Rick Vela Javelin Direct Inc, USA This paper provides solutions to campaign management challenges that
More informationBetter Safe than Sorry: A SAS Macro to Selectively Back Up Files
Better Safe than Sorry: A SAS Macro to Selectively Back Up Files Jia Wang, Data and Analytic Solutions, Inc., Fairfax, VA Zhengyi Fang, Social & Scientific Systems, Inc., Silver Spring, MD ABSTRACT SAS
More informationManaging Tables in Microsoft SQL Server using SAS
Managing Tables in Microsoft SQL Server using SAS Jason Chen, Kaiser Permanente, San Diego, CA Jon Javines, Kaiser Permanente, San Diego, CA Alan L Schepps, M.S., Kaiser Permanente, San Diego, CA Yuexin
More informationSUGI 29 Applications Development
Backing up File Systems with Hierarchical Structure Using SAS/CONNECT Fagen Xie, Kaiser Permanent Southern California, California, USA Wansu Chen, Kaiser Permanent Southern California, California, USA
More informationInstant Interactive SAS Log Window Analyzer
ABSTRACT Paper 10240-2016 Instant Interactive SAS Log Window Analyzer Palanisamy Mohan, ICON Clinical Research India Pvt Ltd Amarnath Vijayarangan, Emmes Services Pvt Ltd, India An interactive SAS environment
More informationABSTRACT THE ISSUE AT HAND THE RECIPE FOR BUILDING THE SYSTEM THE TEAM REQUIREMENTS. Paper DM09-2012
Paper DM09-2012 A Basic Recipe for Building a Campaign Management System from Scratch: How Base SAS, SQL Server and Access can Blend Together Tera Olson, Aimia Proprietary Loyalty U.S. Inc., Minneapolis,
More informationAn Approach to Creating Archives That Minimizes Storage Requirements
Paper SC-008 An Approach to Creating Archives That Minimizes Storage Requirements Ruben Chiflikyan, RTI International, Research Triangle Park, NC Mila Chiflikyan, RTI International, Research Triangle Park,
More informationImporting Excel File using Microsoft Access in SAS Ajay Gupta, PPD Inc, Morrisville, NC
ABSTRACT PharmaSUG 2012 - Paper CC07 Importing Excel File using Microsoft Access in SAS Ajay Gupta, PPD Inc, Morrisville, NC In Pharmaceuticals/CRO industries, Excel files are widely use for data storage.
More informationEnhancing the SAS Enhanced Editor with Toolbar Customizations Lynn Mullins, PPD, Cincinnati, Ohio
PharmaSUG 016 - Paper QT1 Enhancing the SAS Enhanced Editor with Toolbar Customizations Lynn Mullins, PPD, Cincinnati, Ohio ABSTRACT One of the most important tools for SAS programmers is the Display Manager
More informationUsing Pharmacovigilance Reporting System to Generate Ad-hoc Reports
Using Pharmacovigilance Reporting System to Generate Ad-hoc Reports Jeff Cai, Amylin Pharmaceuticals, Inc., San Diego, CA Jay Zhou, Amylin Pharmaceuticals, Inc., San Diego, CA ABSTRACT To supplement Oracle
More informationApplications Development ABSTRACT PROGRAM DESIGN INTRODUCTION SAS FEATURES USED
Checking and Tracking SAS Programs Using SAS Software Keith M. Gregg, Ph.D., SCIREX Corporation, Chicago, IL Yefim Gershteyn, Ph.D., SCIREX Corporation, Chicago, IL ABSTRACT Various checks on consistency
More informationIT Service Level Management 2.1 User s Guide SAS
IT Service Level Management 2.1 User s Guide SAS The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2006. SAS IT Service Level Management 2.1: User s Guide. Cary, NC:
More informationEmailing Automated Notification of Errors in a Batch SAS Program Julie Kilburn, City of Hope, Duarte, CA Rebecca Ottesen, City of Hope, Duarte, CA
Emailing Automated Notification of Errors in a Batch SAS Program Julie Kilburn, City of Hope, Duarte, CA Rebecca Ottesen, City of Hope, Duarte, CA ABSTRACT With multiple programmers contributing to a batch
More informationPaper 109-25 Merges and Joins Timothy J Harrington, Trilogy Consulting Corporation
Paper 109-25 Merges and Joins Timothy J Harrington, Trilogy Consulting Corporation Abstract This paper discusses methods of joining SAS data sets. The different methods and the reasons for choosing a particular
More informationIBM Cognos Controller Version 10.2.0. New Features Guide
IBM Cognos Controller Version 10.2.0 New Features Guide Note Before using this information and the product it supports, read the information in Notices on page 9. Product Information This document applies
More informationUsing SAS to Control and Automate a Multi SAS Program Process. Patrick Halpin November 2008
Using SAS to Control and Automate a Multi SAS Program Process Patrick Halpin November 2008 What are we covering today A little background on me Some quick questions How to use Done files Use a simple example
More informationDiskPulse DISK CHANGE MONITOR
DiskPulse DISK CHANGE MONITOR User Manual Version 7.9 Oct 2015 www.diskpulse.com info@flexense.com 1 1 DiskPulse Overview...3 2 DiskPulse Product Versions...5 3 Using Desktop Product Version...6 3.1 Product
More informationSystem Center Configuration Manager 2007
System Center Configuration Manager 2007 Software Distribution Guide Friday, 26 February 2010 Version 1.0.0.0 Baseline Prepared by Microsoft Copyright This document and/or software ( this Content ) has
More informationABSTRACT INTRODUCTION DATA FEEDS TO THE DASHBOARD
Dashboard Reports for Predictive Model Management Jifa Wei, SAS Institute Inc., Cary, NC Emily (Yan) Gao, SAS Institute Inc., Beijing, China Frank (Jidong) Wang, SAS Institute Inc., Beijing, China Robert
More informationUsing SAS Enterprise Business Intelligence to Automate a Manual Process: A Case Study Erik S. Larsen, Independent Consultant, Charleston, SC
Using SAS Enterprise Business Intelligence to Automate a Manual Process: A Case Study Erik S. Larsen, Independent Consultant, Charleston, SC Abstract: Often times while on a client site as a SAS consultant,
More informationMicrosoft Dynamics GP Release. Workflow Administrator s Guide
Microsoft Dynamics GP Release Workflow Administrator s Guide December 10, 2012 Copyright Copyright 2012 Microsoft. All rights reserved. Limitation of liability This document is provided as-is. Information
More informationAn Introduction to SAS/SHARE, By Example
Paper 020-29 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 simultaneously access
More informationOne problem > Multiple solutions; various ways of removing duplicates from dataset using SAS Jaya Dhillon, Louisiana State University
One problem > Multiple solutions; various ways of removing duplicates from dataset using SAS Jaya Dhillon, Louisiana State University ABSTRACT In real world, analysts seldom come across data which is in
More informationDiskBoss. File & Disk Manager. Version 2.0. Dec 2011. Flexense Ltd. www.flexense.com info@flexense.com. File Integrity Monitor
DiskBoss File & Disk Manager File Integrity Monitor Version 2.0 Dec 2011 www.flexense.com info@flexense.com 1 Product Overview DiskBoss is an automated, rule-based file and disk manager allowing one to
More informationCrystal Reports Installation Guide
Crystal Reports Installation Guide Version XI Infor Global Solutions, Inc. Copyright 2006 Infor IP Holdings C.V. and/or its affiliates or licensors. All rights reserved. The Infor word and design marks
More informationIBM Security SiteProtector System Migration Utility Guide
IBM Security IBM Security SiteProtector System Migration Utility Guide Version 3.0 Note Before using this information and the product it supports, read the information in Notices on page 5. This edition
More informationShare Point Document Management For Sage 100 ERP
Share Point Document Management For Sage 100 ERP 457 Palm Drive Glendale, CA 91202 818-956-3744 818-956-3746 sales@iigservices.com www.iigservices.com Share Point Document Management 2 Information in this
More informationBusiness Reports. ARUP Connect
Business Reports ARUP Connect User Manual November 2015 Table of Contents Business Reports... 4 Quick Reference... 4 View Reports... 5 My Reports Tab... 5 Open a Report... 5 Save a Report... 5 Modify My
More informationInterfacing SAS Software, Excel, and the Intranet without SAS/Intrnet TM Software or SAS Software for the Personal Computer
Interfacing SAS Software, Excel, and the Intranet without SAS/Intrnet TM Software or SAS Software for the Personal Computer Peter N. Prause, The Hartford, Hartford CT Charles Patridge, The Hartford, Hartford
More informationSAS 9.4 Intelligence Platform
SAS 9.4 Intelligence Platform Application Server Administration Guide SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2013. SAS 9.4 Intelligence Platform:
More informationRemove Orphan Claims and Third party Claims for Insurance Data Qiling Shi, NCI Information Systems, Inc., Nashville, Tennessee
Paper S-101 Remove Orphan Claims and Third party Claims for Insurance Data Qiling Shi, NCI Information Systems, Inc., Nashville, Tennessee ABSTRACT The purpose of this study is to remove orphan claims
More information.CRF. Electronic Data Capture and Workflow System for Clinical Trials
.CRF Electronic Data Capture and Workflow System for Clinical Trials Business challenge Most research takes place in different centers simultaneously. These are often located in different cities or even
More informationSUGI 29 Coders' Corner
Paper 074-29 Tales from the Help Desk: Solutions for Simple SAS Mistakes Bruce Gilsen, Federal Reserve Board INTRODUCTION In 19 years as a SAS consultant at the Federal Reserve Board, I have seen SAS users
More informationEffective Use of SQL in SAS Programming
INTRODUCTION Effective Use of SQL in SAS Programming Yi Zhao Merck & Co. Inc., Upper Gwynedd, Pennsylvania Structured Query Language (SQL) is a data manipulation tool of which many SAS programmers are
More informationSAS Comments How Straightforward Are They? Jacksen Lou, Merck & Co.,, Blue Bell, PA 19422
SAS Comments How Straightforward Are They? Jacksen Lou, Merck & Co.,, Blue Bell, PA 19422 ABSTRACT SAS comment statements typically use conventional symbols, *, %*, /* */. Most programmers regard SAS commenting
More informationPROC SQL for SQL Die-hards Jessica Bennett, Advance America, Spartanburg, SC Barbara Ross, Flexshopper LLC, Boca Raton, FL
PharmaSUG 2015 - Paper QT06 PROC SQL for SQL Die-hards Jessica Bennett, Advance America, Spartanburg, SC Barbara Ross, Flexshopper LLC, Boca Raton, FL ABSTRACT Inspired by Christianna William s paper on
More informationOverview. NT Event Log. CHAPTER 8 Enhancements for SAS Users under Windows NT
177 CHAPTER 8 Enhancements for SAS Users under Windows NT Overview 177 NT Event Log 177 Sending Messages to the NT Event Log Using a User-Written Function 178 Examples of Using the User-Written Function
More informationSession Attribution in SAS Web Analytics
Session Attribution Session Attribution Session Attribution Session Attribution Session Attribution Session Attribution Session Attributi Technical Paper Session Attribution in SAS Web Analytics The online
More informationIBM TRIRIGA Version 10 Release 4.2. Inventory Management User Guide IBM
IBM TRIRIGA Version 10 Release 4.2 Inventory Management User Guide IBM Note Before using this information and the product it supports, read the information in Notices on page 19. This edition applies to
More informationEliminating Tedium by Building Applications that Use SQL Generated SAS Code Segments
Eliminating Tedium by Building Applications that Use SQL Generated SAS Code Segments David A. Mabey, Reader s Digest Association Inc., Pleasantville, NY ABSTRACT When SAS applications are driven by data-generated
More informationSAS Data Views: A Virtual View of Data John C. Boling, SAS Institute Inc., Cary, NC
SAS Data Views: A Virtual View of Data John C. Boling, SAS Institute Inc., Cary, NC ABSTRACT The concept of a SAS data set has been extended or broadened in Version 6 of the SAS System. Two SAS file structures
More informationAN INTRODUCTION TO MACRO VARIABLES AND MACRO PROGRAMS Mike S. Zdeb, New York State Department of Health
AN INTRODUCTION TO MACRO VARIABLES AND MACRO PROGRAMS Mike S. Zdeb, New York State Department of Health INTRODUCTION There are a number of SAS tools that you may never have to use. Why? The main reason
More informationReturn of the Codes: SAS, Windows, and Your s Mark Tabladillo, Ph.D., MarkTab Consulting, Atlanta, GA Associate Faculty, University of Phoenix
Paper AP-11 Return of the Codes: SAS, Windows, and Your s Mark Tabladillo, Ph.D., MarkTab Consulting, Atlanta, GA Associate Faculty, University of Phoenix ABSTRACT Robust applications participate in the
More informationPaper 70-27 An Introduction to SAS PROC SQL Timothy J Harrington, Venturi Partners Consulting, Waukegan, Illinois
Paper 70-27 An Introduction to SAS PROC SQL Timothy J Harrington, Venturi Partners Consulting, Waukegan, Illinois Abstract This paper introduces SAS users with at least a basic understanding of SAS data
More informationFoundations & Fundamentals. A PROC SQL Primer. Matt Taylor, Carolina Analytical Consulting, LLC, Charlotte, NC
A PROC SQL Primer Matt Taylor, Carolina Analytical Consulting, LLC, Charlotte, NC ABSTRACT Most SAS programmers utilize the power of the DATA step to manipulate their datasets. However, unless they pull
More informationApplications Development
Paper 21-25 Using SAS Software and Visual Basic for Applications to Automate Tasks in Microsoft Word: An Alternative to Dynamic Data Exchange Mark Stetz, Amgen, Inc., Thousand Oaks, CA ABSTRACT Using Dynamic
More informationMass Billing 10.0. An application for Microsoft Dynamics ΤΜ GP 10.0. Furthering your success through innovative business solutions
Mass Billing 10.0 An application for Microsoft Dynamics ΤΜ GP 10.0 Furthering your success through innovative business solutions Copyright Manual copyright 2007 Encore Business Solutions, Inc. Printed
More informationSAS, Excel, and the Intranet
SAS, Excel, and the Intranet Peter N. Prause, The Hartford, Hartford CT Charles Patridge, The Hartford, Hartford CT Introduction: The Hartford s Corporate Profit Model (CPM) is a SAS based multi-platform
More informationHP Service Manager. Software Version: 9.40 For the supported Windows and Linux operating systems. Application Setup help topics for printing
HP Service Manager Software Version: 9.40 For the supported Windows and Linux operating systems Application Setup help topics for printing Document Release Date: December 2014 Software Release Date: December
More informationSAS ODS HTML + PROC Report = Fantastic Output Girish K. Narayandas, OptumInsight, Eden Prairie, MN
SA118-2014 SAS ODS HTML + PROC Report = Fantastic Output Girish K. Narayandas, OptumInsight, Eden Prairie, MN ABSTRACT ODS (Output Delivery System) is a wonderful feature in SAS to create consistent, presentable
More informationGuide to Operating SAS IT Resource Management 3.5 without a Middle Tier
Guide to Operating SAS IT Resource Management 3.5 without a Middle Tier SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2014. Guide to Operating SAS
More informationODBC Chapter,First Edition
1 CHAPTER 1 ODBC Chapter,First Edition Introduction 1 Overview of ODBC 2 SAS/ACCESS LIBNAME Statement 3 Data Set Options: ODBC Specifics 15 DBLOAD Procedure: ODBC Specifics 25 DBLOAD Procedure Statements
More informationFlat Pack Data: Converting and ZIPping SAS Data for Delivery
Flat Pack Data: Converting and ZIPping SAS Data for Delivery Sarah Woodruff, Westat, Rockville, MD ABSTRACT Clients or collaborators often need SAS data converted to a different format. Delivery or even
More informationSAS Office Analytics: An Application In Practice
PharmaSUG 2016 - Paper AD19 SAS Office Analytics: An Application In Practice Monitoring and Ad-Hoc Reporting Using Stored Process Mansi Singh, Roche Molecular Systems Inc., Pleasanton, CA Smitha Krishnamurthy,
More informationBe a More Productive Cross-Platform SAS Programmer Using Enterprise Guide
Be a More Productive Cross-Platform SAS Programmer Using Enterprise Guide Alex Tsui Independent Consultant Business Strategy, Analytics, Software Development ACT Consulting, LLC Introduction As a consultant
More informationBuilding and Customizing a CDISC Compliance and Data Quality Application Wayne Zhong, Accretion Softworks, Chester Springs, PA
WUSS2015 Paper 84 Building and Customizing a CDISC Compliance and Data Quality Application Wayne Zhong, Accretion Softworks, Chester Springs, PA ABSTRACT Creating your own SAS application to perform CDISC
More informationLabels, Labels, and More Labels Stephanie R. Thompson, Rochester Institute of Technology, Rochester, NY
Paper FF-007 Labels, Labels, and More Labels Stephanie R. Thompson, Rochester Institute of Technology, Rochester, NY ABSTRACT SAS datasets include labels as optional variable attributes in the descriptor
More informationCounting the Ways to Count in SAS. Imelda C. Go, South Carolina Department of Education, Columbia, SC
Paper CC 14 Counting the Ways to Count in SAS Imelda C. Go, South Carolina Department of Education, Columbia, SC ABSTRACT This paper first takes the reader through a progression of ways to count in SAS.
More informationVector HelpDesk - Administrator s Guide
Vector HelpDesk - Administrator s Guide Vector HelpDesk - Administrator s Guide Configuring and Maintaining Vector HelpDesk version 5.6 Vector HelpDesk - Administrator s Guide Copyright Vector Networks
More informationSAS Credit Scoring for Banking 4.3
SAS Credit Scoring for Banking 4.3 Hot Fix 1 SAS Banking Intelligence Solutions ii SAS Credit Scoring for Banking 4.3: Hot Fix 1 The correct bibliographic citation for this manual is as follows: SAS Institute
More informationDatabase Maintenance Guide
Database Maintenance Guide Medtech Evolution - Document Version 5 Last Modified on: February 26th 2015 (February 2015) This documentation contains important information for all Medtech Evolution users
More informationQAD Enterprise Applications. Training Guide Demand Management 6.1 Technical Training
QAD Enterprise Applications Training Guide Demand Management 6.1 Technical Training 70-3248-6.1 QAD Enterprise Applications February 2012 This document contains proprietary information that is protected
More informationA Method for Cleaning Clinical Trial Analysis Data Sets
A Method for Cleaning Clinical Trial Analysis Data Sets Carol R. Vaughn, Bridgewater Crossings, NJ ABSTRACT This paper presents a method for using SAS software to search SAS programs in selected directories
More informationDetermine What SAS Version and Components Are Available
Determine What SAS Version and Components Are Available David D. Chapman, Chapman Analytics LLC, Alexandria, VA ABSTRACT For many reasons a user may not know the version of SAS used or what components
More informationdbspeak DBs peak when we speak
Data Profiling: A Practitioner s approach using Dataflux [Data profiling] employs analytic methods for looking at data for the purpose of developing a thorough understanding of the content, structure,
More informationImplementing a SAS Metadata Server Configuration for Use with SAS Enterprise Guide
Implementing a SAS Metadata Server Configuration for Use with SAS Enterprise Guide Step 1: Setting Up Required Users and Groups o Windows Operating Systems Only Step 2: Installing Software Using the SAS
More informationODBC Driver User s Guide. Objectivity/SQL++ ODBC Driver User s Guide. Release 10.2
ODBC Driver User s Guide Objectivity/SQL++ ODBC Driver User s Guide Release 10.2 Objectivity/SQL++ ODBC Driver User s Guide Part Number: 10.2-ODBC-0 Release 10.2, October 13, 2011 The information in this
More informationCreating Dynamic Reports Using Data Exchange to Excel
Creating Dynamic Reports Using Data Exchange to Excel Liping Huang Visiting Nurse Service of New York ABSTRACT The ability to generate flexible reports in Excel is in great demand. This paper illustrates
More informationNine Steps to Get Started using SAS Macros
Paper 56-28 Nine Steps to Get Started using SAS Macros Jane Stroupe, SAS Institute, Chicago, IL ABSTRACT Have you ever heard your coworkers rave about macros? If so, you've probably wondered what all the
More informationRemove Voided Claims for Insurance Data Qiling Shi
Remove Voided Claims for Insurance Data Qiling Shi ABSTRACT The purpose of this study is to remove voided claims for insurance claim data using SAS. Suppose that for these voided claims, we don t have
More informationData-driven Validation Rules: Custom Data Validation Without Custom Programming Don Hopkins, Ursa Logic Corporation, Durham, NC
Data-driven Validation Rules: Custom Data Validation Without Custom Programming Don Hopkins, Ursa Logic Corporation, Durham, NC ABSTRACT One of the most expensive and time-consuming aspects of data management
More informationPrivateWire Gateway Load Balancing and High Availability using Microsoft SQL Server Replication
PrivateWire Gateway Load Balancing and High Availability using Microsoft SQL Server Replication Introduction The following document describes how to install PrivateWire in high availability mode using
More informationRecurring Contract Billing Importer 2013
Recurring Contract Billing Importer 2013 An application for Microsoft Dynamics GP 2013 Furthering your success through innovative business solutions Copyright Manual copyright 2013 Encore Business Solutions,
More informationMicrosoft Dynamics GP 2010
Microsoft Dynamics GP 2010 Workflow Administrator s Guide March 30, 2010 Copyright Copyright 2010 Microsoft. All rights reserved. Limitation of liability This document is provided as-is. Information and
More informationHow To Write A Clinical Trial In Sas
PharmaSUG2013 Paper AD11 Let SAS Set Up and Track Your Project Tom Santopoli, Octagon, now part of Accenture Wayne Zhong, Octagon, now part of Accenture ABSTRACT When managing the programming activities
More informationHow to Reduce the Disk Space Required by a SAS Data Set
How to Reduce the Disk Space Required by a SAS Data Set Selvaratnam Sridharma, U.S. Census Bureau, Washington, DC ABSTRACT SAS datasets can be large and disk space can often be at a premium. In this paper,
More information