Automating SAS Macros: Run SAS Code when the Data is Available and a Target Date Reached.

Save this PDF as:
 WORD  PNG  TXT  JPG

Size: px
Start display at page:

Download "Automating SAS Macros: Run SAS Code when the Data is Available and a Target Date Reached."

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:

Paper 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 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 information

An email macro: Exploring metadata EG and user credentials in Linux to automate email notifications Jason Baucom, Ateb Inc.

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 information

Statistics and Analysis. Quality Control: How to Analyze and Verify Financial Data

Statistics 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 information

PharmaSUG2011 - Paper AD11

PharmaSUG2011 - 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 information

You have got SASMAIL!

You 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 information

Automate G/L Consolidation User Guide

Automate 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 information

Streamlining Reports: A Look into Ad Hoc and Standardized Processes James Jenson, US Bancorp, Saint Paul, MN

Streamlining 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 information

Technical 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 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 information

Automation 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 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 information

Tales 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 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 information

SENDING 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 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 information

DBF Chapter. Note to UNIX and OS/390 Users. Import/Export Facility CHAPTER 7

DBF 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 information

While You Were Sleeping - Scheduling SAS Jobs to Run Automatically Faron Kincheloe, Baylor University, Waco, TX

While 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 information

Sending 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 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 information

CDW DATA QUALITY INITIATIVE

CDW 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 information

Importing Excel File using Microsoft Access in SAS Ajay Gupta, PPD Inc, Morrisville, NC

Importing 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 information

Using Pharmacovigilance Reporting System to Generate Ad-hoc Reports

Using 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 information

Managing Tables in Microsoft SQL Server using SAS

Managing 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 information

DiskBoss. File & Disk Manager. Version 2.0. Dec 2011. Flexense Ltd. www.flexense.com info@flexense.com. File Integrity Monitor

DiskBoss. 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 information

IT Service Level Management 2.1 User s Guide SAS

IT 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 information

Scheduling in SAS 9.4 Second Edition

Scheduling 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 information

FIRST STEP - ADDITIONS TO THE CONFIGURATIONS FILE (CONFIG FILE) SECOND STEP Creating the email to send

FIRST 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 information

Scheduling in SAS 9.3

Scheduling 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 information

Using Macros to Automate SAS Processing Kari Richardson, SAS Institute, Cary, NC Eric Rossland, SAS Institute, Dallas, TX

Using 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 information

DiskPulse DISK CHANGE MONITOR

DiskPulse 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 information

Enhancing the SAS Enhanced Editor with Toolbar Customizations Lynn Mullins, PPD, Cincinnati, Ohio

Enhancing 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 information

An Introduction to SAS/SHARE, By Example

An 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 information

Business Reports. ARUP Connect

Business 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 information

SAS 9.4 Intelligence Platform: Migration Guide, Second Edition

SAS 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 information

Using 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 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 information

SUGI 29 Applications Development

SUGI 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 information

Better Safe than Sorry: A SAS Macro to Selectively Back Up Files

Better 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 information

ABSTRACT THE ISSUE AT HAND THE RECIPE FOR BUILDING THE SYSTEM THE TEAM REQUIREMENTS. Paper DM09-2012

ABSTRACT 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 information

Emailing 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 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 information

Interfacing 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 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 information

.CRF. Electronic Data Capture and Workflow System for Clinical Trials

.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 information

One 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 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 information

SUGI 29 Coders' Corner

SUGI 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 information

ABSTRACT INTRODUCTION DATA FEEDS TO THE DASHBOARD

ABSTRACT 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 information

SAS 9.4 Intelligence Platform

SAS 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 information

Microsoft Dynamics GP Release. Workflow Administrator s Guide

Microsoft 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 information

So You Want to be SAS Certified Ben Cochran, The Bedford Group, Raleigh, NC

So You Want to be SAS Certified Ben Cochran, The Bedford Group, Raleigh, NC Paper BB-15-2014 So You Want to be SAS Certified Ben Cochran, The Bedford Group, Raleigh, NC ABSTRACT Several years ago, SAS Institute, Inc. started a Certification program to give SAS users a chance to

More information

System Center Configuration Manager 2007

System 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 information

IBM Cognos Controller Version 10.2.0. New Features Guide

IBM 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 information

SAS, Excel, and the Intranet

SAS, 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 information

Using 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 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 information

Be a More Productive Cross-Platform SAS Programmer Using Enterprise Guide

Be 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 information

Share Point Document Management For Sage 100 ERP

Share 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 information

Instant Interactive SAS Log Window Analyzer

Instant 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 information

Optimizing Marketing Campaign ROI through Process Automation

Optimizing 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 information

Applications Development

Applications 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 information

An Approach to Creating Archives That Minimizes Storage Requirements

An 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 information

IBM Security SiteProtector System Migration Utility Guide

IBM 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 information

Applications Development ABSTRACT PROGRAM DESIGN INTRODUCTION SAS FEATURES USED

Applications 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 information

Return of the Codes: SAS, Windows, and Your s Mark Tabladillo, Ph.D., MarkTab Consulting, Atlanta, GA Associate Faculty, University of Phoenix

Return 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 information

%DIFF: A SAS Macro to Compare Documents in Word or ASCII Format. Michelle Xu and Jay Zhou Amylin Pharmaceuticals, Inc.

%DIFF: A SAS Macro to Compare Documents in Word or ASCII Format. Michelle Xu and Jay Zhou Amylin Pharmaceuticals, Inc. Paper CC09 %DIFF: A SAS Macro to Compare Documents in Word or ASCII Format Michelle Xu and Jay Zhou Amylin Pharmaceuticals, Inc., San Diego, CA ABSTRACT Manually comparing outputs, generated using SAS

More information

Determine What SAS Version and Components Are Available

Determine 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 information

ODBC Chapter,First Edition

ODBC 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 information

SUGI 29 Coders' Corner

SUGI 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 information

StruxureWare Power Monitoring 7.0.1

StruxureWare Power Monitoring 7.0.1 WHAT'S NEW 7EN12-0262-01 08/2012 StruxureWare Power Monitoring 7.0.1 StruxureWare Power Monitoring 7.0.1 is the recommended service pack for version 7.0. The StruxureWare Power Monitoring system provides

More information

Using 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 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 information

Paper 109-25 Merges and Joins Timothy J Harrington, Trilogy Consulting Corporation

Paper 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 information

Vector HelpDesk - Administrator s Guide

Vector 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 information

Accessing a Microsoft SQL Server Database from SAS on Microsoft Windows

Accessing a Microsoft SQL Server Database from SAS on Microsoft Windows Accessing a Microsoft SQL Server Database from SAS on Microsoft Windows On Microsoft Windows, you have two options to access a Microsoft SQL Server database from SAS. You can use either SAS/Access Interface

More information

CHAPTER 1 Overview of SAS/ACCESS Interface to Relational Databases

CHAPTER 1 Overview of SAS/ACCESS Interface to Relational Databases 3 CHAPTER 1 Overview of SAS/ACCESS Interface to Relational Databases About This Document 3 Methods for Accessing Relational Database Data 4 Selecting a SAS/ACCESS Method 4 Methods for Accessing DBMS Tables

More information

Overview. NT Event Log. CHAPTER 8 Enhancements for SAS Users under Windows NT

Overview. 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 information

Effective Use of SQL in SAS Programming

Effective 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 information

ODBC 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 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 information

SAS 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 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 information

Creating Dynamic Reports Using Data Exchange to Excel

Creating 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 information

PATROL From a Database Administrator s Perspective

PATROL From a Database Administrator s Perspective PATROL From a Database Administrator s Perspective September 28, 2001 Author: Cindy Bean Senior Software Consultant BMC Software, Inc. 3/4/02 2 Table of Contents Introduction 5 Database Administrator Tasks

More information

Foundations & Fundamentals. A PROC SQL Primer. Matt Taylor, Carolina Analytical Consulting, LLC, Charlotte, NC

Foundations & 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 information

Mass 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 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 information

IBM TRIRIGA Version 10 Release 4.2. Inventory Management User Guide IBM

IBM 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 information

Moving a database from MS Access to MS SQL server. Introduction. Selecting the database. Creating a Data Source

Moving a database from MS Access to MS SQL server. Introduction. Selecting the database. Creating a Data Source GO Software Pty Limited Map: 27 Tacoma Blvd, Pasadena SA 5042 Phn: 0403-063-991 Fax: none ABN: 54-008-044-906 ACN: 008-044-906 Eml: support@gosoftware.com.au Web: www.gosoftware.com.au Moving a database

More information

SAS Office Analytics: An Application In Practice

SAS 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 information

Implementing a SAS Metadata Server Configuration for Use with SAS Enterprise Guide

Implementing 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 information

opensm2 Enterprise Performance Monitoring

opensm2 Enterprise Performance Monitoring opensm2 Enterprise Performance Monitoring Issue December 2010 Pages 5 Introduction Round-the-clock performance monitoring forms the basis for effective and economic operation of IT systems. With the opensm2

More information

Crystal Reports Installation Guide

Crystal 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 information

LEARNING MANAGEMENT SYSTEM (LMS) SUBSCRIBING TO A REPORT

LEARNING MANAGEMENT SYSTEM (LMS) SUBSCRIBING TO A REPORT LEARNING MANAGEMENT SYSTEM (LMS) SUBSCRIBING TO A REPORT This QRG provides instructions for subscribing to a report in the LMS. Report subscriptions in the LMS allow reports to be emailed at scheduled

More information

SAS Credit Scoring for Banking 4.3

SAS 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 information

Remove Orphan Claims and Third party Claims for Insurance Data Qiling Shi, NCI Information Systems, Inc., Nashville, Tennessee

Remove 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

SAS Information Delivery Portal: Organize your Organization's Reporting

SAS Information Delivery Portal: Organize your Organization's Reporting SAS Information Delivery Portal: Organize your Organization's Reporting Kevin Davidson Texas Institute for Measurement, Evaluation, and Statistics University of Houston, Houston, TX ABSTRACT The SAS Information

More information

ABSTRACT INTRODUCTION %CODE MACRO DEFINITION

ABSTRACT INTRODUCTION %CODE MACRO DEFINITION Generating Web Application Code for Existing HTML Forms Don Boudreaux, PhD, SAS Institute Inc., Austin, TX Keith Cranford, Office of the Attorney General, Austin, TX ABSTRACT SAS Web Applications typically

More information

Tivoli Endpoint Manager for Security and Compliance Analytics. Setup Guide

Tivoli Endpoint Manager for Security and Compliance Analytics. Setup Guide Tivoli Endpoint Manager for Security and Compliance Analytics Setup Guide Setup Guide i Note: Before using this information and the product it supports, read the information in Notices. Copyright IBM Corporation

More information

ABSTRACT TECHNICAL DESIGN INTRODUCTION FUNCTIONAL DESIGN

ABSTRACT TECHNICAL DESIGN INTRODUCTION FUNCTIONAL DESIGN Overview of a Browser-Based Clinical Report Generation Tool Paul Gilbert, DataCeutics, Pottstown PA Greg Weber, DataCeutics Teofil Boata, Purdue Pharma ABSTRACT In an effort to increase reporting quality

More information

Power Update - Documentation Power Update Manager

Power Update - Documentation Power Update Manager Power Update - Documentation Power Update Manager In the PU Manager screen you can create New Tasks, Delete and Edit settings for your current Tasks. Note: When making a lot of changes or installing updates,

More information

9.1 SAS/ACCESS. Interface to SAP BW. User s Guide

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

More information

Dynamic Decision-Making Web Services Using SAS Stored Processes and SAS Business Rules Manager

Dynamic Decision-Making Web Services Using SAS Stored Processes and SAS Business Rules Manager Paper SAS1787-2015 Dynamic Decision-Making Web Services Using SAS Stored Processes and SAS Business Rules Manager Chris Upton and Lori Small, SAS Institute Inc. ABSTRACT With the latest release of SAS

More information

Silect Software s MP Author

Silect Software s MP Author Silect MP Author for Microsoft System Center Operations Manager Silect Software s MP Author User Guide September 2, 2015 Disclaimer The information in this document is furnished for informational use only,

More information

Database Maintenance Guide

Database 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 information

Tivoli Endpoint Manager for Security and Compliance Analytics

Tivoli Endpoint Manager for Security and Compliance Analytics Tivoli Endpoint Manager for Security and Compliance Analytics User s Guide User s Guide i Note: Before using this information and the product it supports, read the information in Notices. Copyright IBM

More information

PROC SQL for SQL Die-hards Jessica Bennett, Advance America, Spartanburg, SC Barbara Ross, Flexshopper LLC, Boca Raton, FL

PROC 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 information

Microsoft Dynamics GP 2010

Microsoft 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 information

PharmaSUG2013 Paper AD11

PharmaSUG2013 Paper AD11 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 information

XMailer Reference Guide

XMailer Reference Guide XMailer Reference Guide Version 7.00 Wizcon Systems SAS Information in this document is subject to change without notice. SyTech assumes no responsibility for any errors or omissions that may be in this

More information

Intel Solid-State Drive Data Center Tool User Guide Version 1.1

Intel Solid-State Drive Data Center Tool User Guide Version 1.1 Intel Solid-State Drive Data Center Tool User Guide Version 1.1 Order Number: 327191-002 October 2012 INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR

More information

Eliminate Memory Errors and Improve Program Stability

Eliminate Memory Errors and Improve Program Stability Eliminate Memory Errors and Improve Program Stability with Intel Parallel Studio XE Can running one simple tool make a difference? Yes, in many cases. You can find errors that cause complex, intermittent

More information

Administrators Help Manual

Administrators Help Manual Administrators Help Manual Lepide Active Directory Self Service Lepide Software Private Limited Page 1 Administrators Help Manual for Active Directory Self-Service Lepide Active Directory Self Service

More information