Top Banner
Copyright © 2006, SAS Institute Inc. All rights reserved. New (Useful & Cool) Features of Enterprise Guide 4.3 James Waite – SAS Training Specialist (BI)
17

New (Useful & Cool) Features of Enterprise Guide 4 Group Presentati… · 03/04/2011  · define region / order "Region"; define Subsidiary / order "Subsidiary";define Stores / display

Sep 09, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: New (Useful & Cool) Features of Enterprise Guide 4 Group Presentati… · 03/04/2011  · define region / order "Region"; define Subsidiary / order "Subsidiary";define Stores / display

Copyright © 2006, SAS Institute Inc. All rights reserved.

New (Useful & Cool) Featuresof Enterprise Guide 4.3James Waite – SAS Training Specialist (BI)

Page 2: New (Useful & Cool) Features of Enterprise Guide 4 Group Presentati… · 03/04/2011  · define region / order "Region"; define Subsidiary / order "Subsidiary";define Stores / display

Copyright © 2006, SAS Institute Inc. All rights reserved.

Agenda

� Focus of Enhancements

� Programming Features

� Great references

� Demo

� Q & A

Page 3: New (Useful & Cool) Features of Enterprise Guide 4 Group Presentati… · 03/04/2011  · define region / order "Region"; define Subsidiary / order "Subsidiary";define Stores / display

Copyright © 2006, SAS Institute Inc. All rights reserved.

Focus of Enhancements

� Some interface niceties

� Programming interface

� Programming interface

� Programming interface

Page 4: New (Useful & Cool) Features of Enterprise Guide 4 Group Presentati… · 03/04/2011  · define region / order "Region"; define Subsidiary / order "Subsidiary";define Stores / display

Copyright © 2006, SAS Institute Inc. All rights reserved.

Preview Data

Page 5: New (Useful & Cool) Features of Enterprise Guide 4 Group Presentati… · 03/04/2011  · define region / order "Region"; define Subsidiary / order "Subsidiary";define Stores / display

Copyright © 2006, SAS Institute Inc. All rights reserved.

(Just Some) Programming Features

� Syntax Suggestion and Autocomplete

� Integrated Help Documentation

� Enhanced Process Flows (i.e Autoexec)

� Hot Keys

� Automatic Code Formatting

� Code Analyzer

Page 6: New (Useful & Cool) Features of Enterprise Guide 4 Group Presentati… · 03/04/2011  · define region / order "Region"; define Subsidiary / order "Subsidiary";define Stores / display

Copyright © 2006, SAS Institute Inc. All rights reserved.

Syntax Suggestion and Autocomplete

Page 7: New (Useful & Cool) Features of Enterprise Guide 4 Group Presentati… · 03/04/2011  · define region / order "Region"; define Subsidiary / order "Subsidiary";define Stores / display

Copyright © 2006, SAS Institute Inc. All rights reserved.

Integrated Help Documentation

Page 8: New (Useful & Cool) Features of Enterprise Guide 4 Group Presentati… · 03/04/2011  · define region / order "Region"; define Subsidiary / order "Subsidiary";define Stores / display

Copyright © 2006, SAS Institute Inc. All rights reserved.

Autocomplete – As You Like It

Page 9: New (Useful & Cool) Features of Enterprise Guide 4 Group Presentati… · 03/04/2011  · define region / order "Region"; define Subsidiary / order "Subsidiary";define Stores / display

Copyright © 2006, SAS Institute Inc. All rights reserved.

Enhanced Process Flows (i.e Autoexec)

Page 10: New (Useful & Cool) Features of Enterprise Guide 4 Group Presentati… · 03/04/2011  · define region / order "Region"; define Subsidiary / order "Subsidiary";define Stores / display

Copyright © 2006, SAS Institute Inc. All rights reserved.

Hot Keys

� Formats (Ctrl+Shift+F) and Informats (Ctrl+Shift+I)

� SAS Libraries (Ctrl+L)

� SAS Functions (Ctrl+Shift+F1)

� Configurable!

• Program > Enhanced Editor Keys

Page 11: New (Useful & Cool) Features of Enterprise Guide 4 Group Presentati… · 03/04/2011  · define region / order "Region"; define Subsidiary / order "Subsidiary";define Stores / display

Copyright © 2006, SAS Institute Inc. All rights reserved.

Automatic Code Formatting

� Indentation

� Line Returns

� Etc.

Page 12: New (Useful & Cool) Features of Enterprise Guide 4 Group Presentati… · 03/04/2011  · define region / order "Region"; define Subsidiary / order "Subsidiary";define Stores / display

Copyright © 2006, SAS Institute Inc. All rights reserved.

Code Analyzer

� Runs code and creates a Process Flow

� Great for legacy code

Page 13: New (Useful & Cool) Features of Enterprise Guide 4 Group Presentati… · 03/04/2011  · define region / order "Region"; define Subsidiary / order "Subsidiary";define Stores / display

Copyright © 2006, SAS Institute Inc. All rights reserved.

Great References

� New Goodies for SAS Programmers in SAS Enterprise Guide 4.3http://support.sas.com/documentation/onlinedoc/guide/blog/SASTalks2011_EG43_programmer.pdf

� SAS® Enterprise Guide® 4.3: Finally a Programmer’s Toolhttp://support.sas.com/resources/papers/proceedings11/166-2011.pdf

• Hands-on workshop using the SHOES data from sashelp

• Extensive coverage of new 4.3 programming features and capabilities that were introduced in 4.2 (i.e. reporting, prompting, conditional processing, etc.)

� SAS Enterprise Guide Online Documentationhttp://support.sas.com/documentation/onlinedoc/guide/

� What's New in SAS Enterprise Guide 4.3http://support.sas.com/documentation/cdl/en/whatsnew/62580/HTML/default/viewer.htm#/documentation/cdl/en/whatsnew/62580/HTML/default/egwhatsnew43.htm

Page 14: New (Useful & Cool) Features of Enterprise Guide 4 Group Presentati… · 03/04/2011  · define region / order "Region"; define Subsidiary / order "Subsidiary";define Stores / display

Copyright © 2006, SAS Institute Inc. All rights reserved.

Demo

� Create an EG Project based on existing code

Page 15: New (Useful & Cool) Features of Enterprise Guide 4 Group Presentati… · 03/04/2011  · define region / order "Region"; define Subsidiary / order "Subsidiary";define Stores / display

Copyright © 2006, SAS Institute Inc. All rights reserved.

Q & A

� Questions?

Page 16: New (Useful & Cool) Features of Enterprise Guide 4 Group Presentati… · 03/04/2011  · define region / order "Region"; define Subsidiary / order "Subsidiary";define Stores / display

Copyright © 2006, SAS Institute Inc. All rights reserved.

Example Code Start/* Code below is a modified example of the code discussed and used more fully in the *//* SAS Global Forum 2011 hands-on workshop SAS® Enterprise Guide® 4.3: Finally a Programmer’s Tool" *//* http://support.sas.com/resources/papers/proceedings11/166-2011.pdf */

data Shoes_Data;

set sashelp.shoes;AverageSalesPerStore = sales / stores;label AverageSalesPerStore =

'Average Sales Per Store';run;

ods listing close;

/*******************************************************************/

/* Create MS Excel Workbook */

/*******************************************************************/

ods tagsets.ExcelXP path = 'C:\Demonstrations\EG43'

file='Shoes_Report.xls' style=sasweb;title "Basic Shoe Report";proc print data=Shoes_Data noobs label ;run;odstagsets.ExcelXP close; ods listing;

Page 17: New (Useful & Cool) Features of Enterprise Guide 4 Group Presentati… · 03/04/2011  · define region / order "Region"; define Subsidiary / order "Subsidiary";define Stores / display

Copyright © 2006, SAS Institute Inc. All rights reserved.

Example Code Start – cont’d/* Create PDF Report */

ods listing close;

ods pdf file = 'C:\Demonstrations\EG43\EG Shoes_Report.pdf';

proc report data = Shoes_Data;

column ("Location" (Region Subsidiary Stores)) Product ("Sales" (Sales AverageSalesPerStore);

define region / order "Region"; define Subsidiary / order "Subsidiary";define Stores /

display "Number of Stores";define Product / display "Product";define Sales / Sum

"Sales";define AverageSalesPerStore / Sum "Avg Sales per Store";break after region /

summarize; rbreak after / summarize;

run;

ods pdf close;

ods listing;