SAS Enterprise Guide A Quick Overview of Developing, Creating, and Successfully Delivering a Simple Project



Similar documents
The Query Builder: The Swiss Army Knife of SAS Enterprise Guide

Technical Paper. Defining an ODBC Library in SAS 9.2 Management Console Using Microsoft Windows NT Authentication

PharmaSUG Paper QT26

SAS Marketing Automation 5.1. User s Guide

SAS Customer Intelligence 360: Creating a Consistent Customer Experience in an Omni-channel Environment

Defining an OLEDB Library in SAS Management Console Using Windows Authentication

HOW DO I CREATE A PARTNER PROGRAM? PRESENTED BY

Setting Up 1099 Pro Client Server Edition For Tax Year 2007 Using Microsoft SQL Server

PCLaw Scheduled Backup

Chapter 2 The Data Table. Chapter Table of Contents

Volume. Revolutionary. Online. Cool. Letters&Recall

Merging Labels, Letters, and Envelopes Word 2013

Schools Remote Access Server

University of Arkansas Libraries ArcGIS Desktop Tutorial. Section 4: Preparing Data for Analysis

STIDistrict SQL 2000 Database Management Plans

Define an Oracle Library in SAS Management Console

Special and Fundraising Events Masters Class. Part 2: Managing your Event and Sending Invitations

Suite. How to Use GrandMaster Suite. Exporting with ODBC

C&A AR Online Credit Card Processor Installation and Setup Instructions with Process Flow

District Data Coordinator Toolbox: Automating Data Acquisition Using Database Connections in SAS

Adding a User to Active Directory in Windows Server 2012

The full setup includes the server itself, the server control panel, Firebird Database Server, and three sample applications with source code.

ADP Workforce Now V3.0

William E Benjamin Jr, Owl Computer Consultancy, LLC

Knowledgebase Article

Using Mail Merge: How to automate the distribution of a document to different destinations

Exporting from FirstClass

Mail Merge Microsoft Word and Excel Queries Scott Kern Senior Consultant

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

Rational Reporting. Module 3: IBM Rational Insight and IBM Cognos Data Manager

Novell ZENworks Asset Management 7.5

Collaboration Solution Helps Law Firm Bolster Relationships, Streamline Processes

Library Intro AC800M

Microsoft Office. Mail Merge in Microsoft Word

Share Point Document Management For Sage 100 ERP

// Mamut Business Software. Installation Guide

How To Use Optimum Control EDI Import. EDI Invoice Import. EDI Supplier Setup General Set up

WebSpy Vantage Ultimate 2.2 Web Module Administrators Guide

Business Portal for Microsoft Dynamics GP. Key Performance Indicators Release 10.0

9.1 SAS. SQL Query Window. User s Guide

Sage Estimating (SQL) (formerly Sage Timberline Estimating) Release Notes. Version (Controlled Release)

Using Proc SQL and ODBC to Manage Data outside of SAS Jeff Magouirk, National Jewish Medical and Research Center, Denver, Colorado

Bitrix Site Manager ASP.NET. Installation Guide

SAS Add in to MS Office A Tutorial Angela Hall, Zencos Consulting, Cary, NC

Results CRM 2012 User Manual

Windows Live Mail Setup Guide

Create a Balanced Scorecard

Microsoft Dynamics GP. Collections Management

for Invoice Processing Installation Guide

What's a backup cycle?

View Your Photos. What you ll need: A folder of digital photos Jasc Paint Shop Photo Album 5

Overview... 2 How to Add New Documents... 3 Adding a Note / SMS or Phone Message... 3 Adding a New Letter How to Create Letter Templates...

From Database to your Desktop: How to almost completely automate reports in SAS, with the power of Proc SQL

Microsoft Office Access 2007 which I refer to as Access throughout this book

Downloading Your Financial Statements to Excel

Mail Merge (Microsoft Office 2010)

SAS 9.3 Foundation for Microsoft Windows

Setting Up Outlook on Workstation to Capture s

Loyalty Program Guide

2. A typical business process

Training Manual. Version 6

Business Intelligence Tutorial

How to send meeting invitations using Office365 Calendar

Fall Quick Reference Guide. Organizational and Talent Development. General End Users All SJCD Employees (Level One)

Producing Listings and Reports Using SAS and Crystal Reports Krishna (Balakrishna) Dandamudi, PharmaNet - SPS, Kennett Square, PA

Backup Tab. User Guide

UPL09 Reporting on Software License Compliance Hands-On Lab

What s New in Version 12

Technical Script AIST3410 Database Management systems p 1

Exchange Brick-level Backup and Restore

Windows Mail POP Instructions - Bloomsburg University Students

The MX-Contact Sales Module Overview

Hands-on Guide. FileMaker Pro. Using FileMaker Pro with Microsoft Office

Task Scheduler. Morgan N. Sandquist Developer: Gary Meyer Reviewer: Lauri Watts

Jolly Server Getting Started Guide

Software Requirements Specification. Web Library Management System

Creating Reports with Microsoft Dynamics AX SQL Reporting Services

PigCHAMP Knowledge Software. Enterprise Edition Installation Guide

Infor CRM Education on Infor Campus

ABSTRACT INTRODUCTION FAMILIARITY. Paper

A quick guide to setting up your new website

Stellar Phoenix. Mailbox Exchange Recovery 7.0. User Guide

OVERVIEW OF THE ENTERPRISE GUIDE INTERFACE

Using the SAS Enterprise Guide (Version 4.2)

QuickStore Mobile Counting

SAS/Data Integration Studio Creating and Using A Generated Transformation Jeff Dyson, Financial Risk Group, Cary, NC

Swiss Safe Storage Online Backup MS Exchange Mail Level Backup

Sage 100 ERP. What s New in Sage 100 ERP 4.5? BENEFITS

SHIPSTATION / MIVA MERCHANT SETUP GUIDE

Konica Minolta s OPS Web Portal

Table of contents 1. IMPORTANT INFORMATION BEFORE YOU START GETTING STARTED EXCHANGE CONTROL PANEL... 2

Controlling User Typed Responses for Fill-in Questions

QAD Enterprise Applications. Training Guide Demand Management 6.1 Technical Training

Event Management System (EMS) Room Scheduling Guide

NUI Galway Web Training Presentation

Implementing and Maintaining Microsoft SQL Server 2008 Reporting Services

14.1. bs^ir^qfkd=obcib`qflk= Ñçê=emI=rkfuI=~åÇ=léÉåsjp=eçëíë

Personal Selling Experiential Exercise Using ACT! Express

Novell ZENworks Asset Management 7.5

How schedule AccuTRConsole to run every hour

Transcription:

Paper 156-29 SAS Enterprise Guide A Quick Overview of Developing, Creating, and Successfully Delivering a Simple Project Ajaz (A.J.) Farooqi, Walt Disney Parks and Resorts, Lake Buena Vista, FL ABSTRACT Enterprise Guide, a relatively new product from SAS, is a "point-and-click" environment that brings to both new and experienced SAS users a higher level of SAS computing power. Although there are many different ways of completing any task using SAS, completing tasks with Enterprise Guide is even faster for experienced SAS users and painless for new SAS users. We use a hypothetical project to demonstrate the power of Enterprise Guide through a projectoriented approach. While the primary beneficiaries of this article are new SAS users (with some understanding of SQL), experienced SAS users can also benefit. INTRODUCTION The underlying message behind Enterprise Guide is being able to deliver solutions by cutting through the complexities that make delivery of solutions complicated. Most of all, this solution uses an environment that is familiar to most or is easy to pick up by a programmer or analyst somewhat familiar with SAS. This product requires very little training to get started. To demonstrate, lets walk through an example of creating a simple project using Enterprise Guide. This scenario will demonstrate some of the features that highlight functionality and user-friendliness of Enterprise Guide. For this purpose I will create a project for a hypothetical company with a real-world experience. PROJECT SCENARIO I am calling this company Gizmoo1, based in the Midwest. They make widgets of different types, which are sold through company brick-n-mortar stores in continental US, or over the Internet or via print catalog. Gizmoo1 also has an online e-commerce website that sells the entire inventory. Gizmoo1 mails a paper catalog on a weekly cycle to those in its customer base who have not had any activity in the last four months. Prospective customers who show interest by requesting a catalog are also included in the weekly mailing. Consumers can register themselves either online or by visiting one of the stores. These catalogs have three versions during a calendar year. The company s marketing database called Consumer Marketing Database (CMD) houses about five million customer names, addresses, and surveys. Every Monday, a part-time programmer runs a query against CMD (Informix database.) He then waits for the results before downloading data from the server to his workstation. He then runs a number of SAS programs in a specific order to consolidate, and merge/purge the customer lists. After this process completed, he electronically transfers these to a catalog print vendor (Listalot). This catalog vendor prints and mails these catalog. Gizmoo1 s marketing division has limited resources with no full-time SAS programmer. I am asked to help implement a solution for weekly catalog processing. I have used SAS for about a year, plus have very limited exposure to Enterprise Guide. I am also familiar with SQL. Before leaving for his vacation, the programmer did share his code. So for past few of days I have been tinkering with Enterprise Guide and trying to incorporate SAS and SQL code into Enterprise Guide environment and schedule this to run on a weekly basis with no input. There is a SAS Server available for processing. Now we know that this solution can be implemented many different ways, but what follows is only one potential way of automating this process. These are broken into the following six steps: 1- Creating Project Folder Project tree is where I create or (as in this scenario) insert related code in. This tree structure is what Enterprise Guide uses for code, data, tasks and reports. Only one project can be active at any one time. 1

Figure 1-Initial Screen After starting up Enterprise Guide, I click on the New button to create a new project. Highlight project name and type in the new name Weekly Catalog Mailing. Click OK. Click Save to save it with the same name as the project name or give it a new name (see Figure 3) Figure 2 - Create a New Project 2

Figure 3 - Project Save As 2-Assigning Libref I assign a Libname statement to create library for datasets and output. In this environment, wdwhp25 is SAS running on the server. From Insert menu select Code. (Figure 4) Type in node name as Accessing Data. Make sure that the server is set to wdwhp25. Figure 4 - Inserting Code Module Type LIBNAME statement into the new code window (Figure 5). Figure 5 - Libref assignment 3

3-Accessing Data In order to get data from CMD database, I modified SQL that was provided by programmer. Only change I made was to make this SQL into a pass-through SQL. From Insert menu select Code. (Figure 4) Type in node name as SQL Processing. Make sure that server is set to wdwhp25. Paste or type in SQL code in this node window. (Figure 6) NOTE: You can modify this code by either double clicking on SQL Processing node and once the window displays, make appropriate changes. You are now building SAS datasets Figure 6 - SQL Code example 4-SAS Data step Now that I coded for datasets from previous step, I need to do merges, deduping, and suppressions to make weekly list current and mailable. Recall that we started off with two files, one contained names of our existing guests and other contained guests who were first-timers to CMD. We can now customize catalog messaging and enclose a different offer for new customers versus existing customers. For this reason code has to be able to distinguish between these two customer types. From Insert menu selected Code. Called this SAS Processing. Pasted SAS code that I got from the programmer. 4

Figure 7 - SAS Code 5-Transferring files to Print-Vendor Weekly customer list is now ready to be sent to Listalot for catalog printing and shipping. Here again Enterprise Guide made it easy to consolidate this code under a project tree. From Insert menu selected Code. Called this Export to Catalog Vendor. (Figure 9) This code will transfer a weekly file to Listalot for catalog processing Figure 7 - FTP Weekly File 6-Scheduling task Projects can be scheduled to run on a periodic basis. For this scenario, it is able to utilize scheduling feature of Enterprise Guide. I established a weekly schedule, which allows tasks to run in a particular order at a pre-determined day and time. Steps; From Tools menu option, I selected Process Flow Builder. I then clicked on selected tasks in particular order by double clicking these. I got a screen similar to Figure 8. 5

Figure 8 - Scheduled Task Process Flow Builder To schedule these tasks to run. From Tools menu, I clicked Schedule Weekly Catalog Mailing (this would the project name) Figure 9 - select Schedule option I selected Schedule tab and clicked on New. Since I wanted this to run every Monday morning. I chose Weekly from Schedule Task option and clicked on Monday and with a start time of 9:00 AM (see Figure 10) For more advanced option consult either the help screens or a manual for specifics. 6

Figure 10 - Weekly Task schedule Clicked OK Of course after these steps don t forget to save the project. You just completed a project! CONCLUSION Enterprise Guide is an invaluable addition to the suite of tools that SAS offers. This paper is just a sample of projectoriented point-in-click approach for solving business issues using Enterprise Guide. There are several other ways of accomplishing the same tasks, but what makes this unique is having ability to work in a friendly point-n-click windows environment. Plus, the capability to use existing SAS code, which even if developed outside of Enterprise Guide, can be added to projects. This one scenario demonstrated the continued enhancement of this product. REFERENCES Getting Started with Enterprise Guide, Second Edition Enterprise Guide Help SAS OnlineDoc, Version 8 Ravenna, Andy. (2003), "SAS Enterprise Guide - Getting the Job Done" in Proceedings of the Twenty-eighth Annual SUGI Conference, Cary, N.C.: SAS Institute Inc. 69-28 ACKNOWLEDGMENTS Special thanks to Professor Morgan Wang, Mike O Leary, Dave Dydo, and Jeff Van Domelen for their help, advise, and encouragement with this paper. CONTACT INFORMATION Your comments and questions are valued and encouraged. Contact the author at: A. J. Farooqi Walt Disney Parks and Resorts P. O. Box 10000 Lake Buena Vista, FL 32830-1000 Work Phone: 407.566.6781 Email: ajaz.e.farooqi@disney.com 7

SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. indicates USA registration. Other brand and product names are trademarks of their respective companies. 8