Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
ENTERPRISE GUIDE 4.3: PROGRAMMING
GAINS FROM POINTING & CLICKING
MATT MALCZEWSKI, SAS CANADA
MAY 2013
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
QUICK SURVEY
• SAS Programmers?
• SAS Enterprise Guide Users?
• SAS Programmers who are now being forced to use Enterprise Guide even though
you don’t want to and you work much more efficiently in Base SAS anyways and
you can’t even figure out where to begin with this frustrating interface ARGH.
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
A QUICK ‘THANK
YOU’
• Information shamelessly (but gratefully) stolen from talks delivered by:
• Audimar Bangi, Chris Hemedinger & Stephen Slocum
• James Waite
• Andy Revenna
• Jennifer Bjurstrom
• All talks found through the SAS Global Forum Proceedings
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
AGENDA
• Autocomplete/Syntax suggestion
• Enhanced process flows (Autoexec)
• Hot keys
• Code formatting
• Code Analyzer
• Some handy tips
• Options
• Project log
• Enterprise Guide 5.1
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
AUTOCOMPLETE
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
SYNTAX SUGGESTION
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
FUNCTION COMPLETION/DISAMBIGUATION
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
AVAILABLE LIBRARIES & DATA MEMBERS
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
MACRO COMPLETION
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
ENHANCED PROCESS FLOWS
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
ENHANCED PROCESS FLOWS (AUTOEXEC)
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
ENHANCED PROCESS FLOWS (AUTOEXEC)
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
HOT KEYS
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
‘I CAN TURN THIS ALL OFF, RIGHT?’
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
CODE FORMATTING
data topn;
length rank 8; label rank="Rank";
set topn; by &category descending &measure;
if first.&category then rank=0; rank+1;
if rank le &n then output;
run;
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
CODE ANALYZER
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
HANDY TIPS: OPTIONS
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
HANDY TIPS: OPTIONS
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
HANDY TIPS: OPTIONS
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
HANDY TIPS: OPTIONS
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
HANDY TIPS: LOG
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
HANDY TIPS: LOG
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
HANDY TIPS: LOG
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
EG 5.1
• High Performance Procedures
• HPCOUNTREG, HPDMDB, HPDS2, HPFOREST, HPLMIXED, HPLOGISTIC,
HPNEURAL, HPNLIN, HPREDUCE, HPREG, HPSEVERITY, HYPSAMPLE…
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
EG 5.1
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
SUMMARY
• ‘Options’ are your friend
• Lots of great time-saving techniques
• Autocorrect, syntax complete
• A more customizable – and programmer-friendly – experience than is often
believed
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
RESOURCES
• New (Useful & Cool) Features of Enterprise Guide 4.3 (James Waite) http://www.sas.com/offices/NA/canada/downloads/presentations/VancouverMay11/Enterprise-Guide.pdf
• New Goodies in SAS Enterprise Guide 4.3 (Audimar Bangi, Chris
Hemedinger & Stephen Slocum) http://support.sas.com/resources/papers/proceedings10/137-2010.pdf
• Becoming a Better Programmer with SAS Enterprise Guide 4.3 (Andy
Ravenna)
http://support.sas.com/resources/papers/proceedings11/307-2011.pdf
• Improving Your Relationship with SAS Enterprise Guide (Jennifer Bjurstrom)
http://support.sas.com/resources/papers/proceedings13/415-2013.pdf
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
THANK YOU
MATT MALCZEWSKI, SAS CANADA
TWITTER: @MALCHEW
LINKEDIN: MALCHEW
BLOG: MUSINGS FROM AN OUTLIER