enterprise guide 4.3: programming gains from pointing ... › content › dam › sas › en_ca ›...

29
Copyright © 2012, SAS Institute Inc. All rights reserved. ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING & CLICKING MATT MALCZEWSKI, SAS CANADA MAY 2013

Upload: others

Post on 24-Jun-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

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

Page 2: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

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.

Page 3: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

Page 4: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

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

Page 5: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

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

Page 6: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

AUTOCOMPLETE

Page 7: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SYNTAX SUGGESTION

Page 8: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

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

Page 9: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

FUNCTION COMPLETION/DISAMBIGUATION

Page 10: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

MACRO COMPLETION

Page 11: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

ENHANCED PROCESS FLOWS

Page 12: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

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)

Page 13: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

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)

Page 14: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

HOT KEYS

Page 16: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

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;

Page 17: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

CODE ANALYZER

Page 18: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

HANDY TIPS: OPTIONS

Page 19: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

HANDY TIPS: OPTIONS

Page 20: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

HANDY TIPS: OPTIONS

Page 21: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

HANDY TIPS: OPTIONS

Page 22: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

HANDY TIPS: LOG

Page 23: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

HANDY TIPS: LOG

Page 24: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

HANDY TIPS: LOG

Page 25: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

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…

Page 26: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

EG 5.1

Page 27: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

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

Page 28: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

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

Page 29: ENTERPRISE GUIDE 4.3: PROGRAMMING GAINS FROM POINTING ... › content › dam › SAS › en_ca › User... · Title: EG 4.3 Programming Point and Click Gains Author: Matt Malczewski

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

[email protected]

TWITTER: @MALCHEW

LINKEDIN: MALCHEW

BLOG: MUSINGS FROM AN OUTLIER