‘why 4? selected features of 9.4 to whet your appetite! groups/smug… · ‘why 4? selected...
TRANSCRIPT
SAS MELBOURNE USER GROUPMARCH 2014
‘Why 4? Selected features of 9.4 to whet your appetite!’
TO COMPLETE THE SURVEY – GO TO….
Best Presentation winner from Q4 2013…
Congratulations - Flavio
www.surveymonkey.com/s/SMUG_Q1_2014
By completing the online survey you could win…
2 x adult passes to Hoyts La Premiere
SAS® Global ForumMarch 23-26, 2014Gaylord National Resort and Convention Center Washington, DC
Three days
3000+ attendees worldwide
Hundreds of presentations
Expert-led training
Hands-on workshops
Support & demo areas
Professional development
Networking with Industry & Technology leaders
http://support.sas.com/events/sasglobalforum/2014
Additional Resources
SAS Support
support.sas.com
SANZOC - SMUG Online
communities.sas.com/groups/sanzoc
Upcoming SAS Events
SMUG Q2 – Wednesday 28th March
Enterprise Miner - Hands On Workshop – 18th March
Forecasting – Hands On Workshop – 18th March
Visual Analytics – Hands On Workshop – 18th March & 8th April
Data Quality – Hands On Workshops – 18th March
Speak to your local SAS Account Manager for further details…..
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
WHY FOR?
PETER MALLIKPRINCIPAL TECHNOLOGY CONSULTANT
SAS INSTITUTE ANZ
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
WHY SAS 9.4?
PETER MALLIKPRINCIPAL TECHNOLOGY CONSULTANT
SAS INSTITUTE ANZ
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
SELECTED FEATURES OF SAS 9.4 TO WHET YOUR APPETITE!!!
PETER MALLIKPRINCIPAL TECHNOLOGY CONSULTANT
SAS INSTITUTE ANZ
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
THE TIMES, THEY ARE A CHANGING THE TIMES, THEY ARE A CHANGING
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
THE TIMES, THEY ARE A CHANGING CLIENT SERVER -> GRID COMPUTING
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
THE TIMES, THEY ARE A CHANGING CLOUD COMPUTING
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
THE TIMES, THEY ARE A CHANGING CLOUD COMPUTING
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 CLOUD SAS SUPPORT FOR CLOUD COMPUTING
• Public Clouds
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 CLOUD SAS SUPPORT FOR CLOUD COMPUTING
• Public Clouds
• Private Clouds
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 CLOUD SAS SUPPORT FOR CLOUD COMPUTING
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 CLOUD SAS SUPPORT FOR CLOUD COMPUTING
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
THE TIMES, THEY ARE A CHANGING DATA VOLUME
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
THE TIMES, THEY ARE A CHANGING DATA VOLUME
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 ARCHITECTURE FEWER 3RD PARTY DEPENDENCIES
• SAS Web Server • SAS Web Application Server
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 ARCHITECTURE FEWER 3RD PARTY DEPENDENCIES
• SAS Framework Data Server is out
• SAS Web Infrastructure Platform Data Server is in
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 ARCHITECTURE FEWER 3RD PARTY DEPENDENCIES
• Integrated Support via SAS
• Simplified Planning
• Easier Cloud Deployment
• Fewer Third Party Costs
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 ARCHITECTURE METADATA SERVER CLUSTERING
• Requires 3 or more nodes
• Provides Performance Scaling on READS
• Provides HA for read & write
• Self manages
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 ARCHITECTURE METADATA SERVER CLUSTERING
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 ARCHITECTURE METADATA SERVER CLUSTERING
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 ARCHITECTURE MID TIER CLUSTERING
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 ARCHITECTURE INTEGRATED MONITORING
• SAS Environment Manager
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 MONITORING ENVIRONMENT MANAGER
• Services
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 MONITORING ENVIRONMENT MANAGER
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 ARCHITECTURE ENVIRONMENT MANAGER
• Explore Permission Inheritance
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
SAS 9.4 SECURITY
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 SECURITY METADATA BOUND LIBRARIES
• Enforces metadata permissions evaluation on dataset access
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 SECURITY METADATA BOUND LIBRARIES
• Technically it was introduced 93m2, but 9.4 introduced the SMC gui
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 SECURITY METADATA BOUND LIBRARIES
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 SECURITY SERVER LOCKDOWN
• Whitelist File locations SAS servers can access
• Workspace, Pooled Workspace, Stored Process, Batch, Grid and Connect
• Allows access to auto assigned paths implicitly (config, preassigned libraries and stp metadata)
• Needs to be combined with NOXCMD
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 SECURITY SERVER LOCKDOWN
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 SECURITY SERVER LOCKDOWN
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 SECURITY SERVER LOCKDOWN
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 SECURITY ENCRYPTION
• SAS/SECURE now included with BASE SAS!
• Updated versions of crypto modules
• AES with 64bit salt
• Can encrypt data and index pages of tables at rest
• Can encrypt data in motion between platform components
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 SO WHAT???
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 USABILITY ENTERPRISE GUIDE LOG SUMMARY
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 USABILITY MOBILE BI APP FOR ENTERPRISE BI SERVER
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 USABILITY WORK WITH ZIP FILES NATIVELY!!!
• READINGfilename foo ZIP 'U:\directory1\testzip.zip';
data shoes;length region $25 product $14;infile foo(shoes);input region $25. product $14.;
run;
• WRITINGfilename foo ZIP 'U:\directory1\testzip.zip';
data _null_;file foo(shoes);set sashelp.shoes;put region $25. product $14.;
run;
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 USABILITY ODS HTML5
ods html5 options;
ods graphics /imagefmt=svg;
proc sgplot data=sashelp.stocks(where=(date >= "01jan2000"d and stock = "IBM"));title "Stock Trend";series x=date y=close;series x=date y=low;series x=date y=high;
run;
ods html5 close;
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
ods epub file="glm.epub" title="My First ODS EPUB E-book"options(creator="SAS Programmer" description="My First ODS EPUB Book" subject="PROC GLM" type="ODS EPUB book");
ods graphics on;proc glm data=DrugTest;
class Drug;model PostTreatment = Drug|PreTreatment;
run;quit;
ods epub close;
9.4 USABILITY ODS EPUB (E-BOOKS)
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
ods html close;
title1 'PowerPoint Using Template Layout Twocontent with ODS LIST/GMAP';footnote "The ODS Output Destination for PowerPoint";
ods powerpoint file="Layout2List.ppt" layout=twocontentnogtitle nogfootnote;
proc odslist;item 'Pre-defined template';item 'Side-by-side output';item;
p 'Use:';list / style=[bullet=check];item 'Tables';item 'Graphs';item 'Lists';item 'Text';
end;run;
goptions hsize=4.5in vsize=4.5in;proc gmap map=maps.us data=maps.us all;id state;choro statecode/statistic=frequency discrete nolegend;
run; quit;
ods _all_ close;
9.4 USABILITY ODS POWERPOINT
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 USABILITY ODS GRIDDED LAYOUT
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 USABILITY ODS GRIDDED LAYOUT
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 USABILITY ODS ABSOLUTE LAYOUT
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 USABILITY ODS ABSOLUTE LAYOUT
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 USABILITY WRITE TO A SHAREPOINT DOCUMENT LIBRARY
• SHAREPOINT_COMP_MODE write-value allows Webdav
• can be one of the following values:• 1 | YES | TRUE = specifies that a file can be written to a SharePoint
document library• 0 | NO | FALSE = specifies that a file cannot be written to a SharePoint
document library (Default)
• This environment variable can be set in a number of ways (for example, in code, in an autoexec file, or in a configuration file). Here is an example of setting the environment variable by using the SET= system option.
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 USABILITY WRITE TO A SHAREPOINT DOCUMENT LIBRARY
options set=sharepoint_comp_mode 1;
filename writeit webdav "https://sharepointURL/webdav/test/"dir user="webuser" pass=XXXXXXXXX;
data _null_;file writeit(cars);set sashelp.cars;put make $25. model $34.;
run;
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
SAS 9.4 ACCESS NEW LANGUAGES FEDSQL
ANSI SQL:1999 core standard • Scalable, threaded• Common SQL syntax across all data sources• ANSI SQL data types (INT, FLOAT, Decimal….)
TK (Threaded Kernel) Based
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
SAS 9.4 ACCESS NEW LANGUAGES FEDSQL
• Can Access: • SAS data sets, • SAS Scalable Performance Data Engine (SPD Engine) data sets, • Aster, • DB2 for UNIX and PC operating environments, • Greenplum, • MySQL, • Netezza, • ODBC databases (such as Microsoft SQL Server), • Oracle, • SAP (Read-only), • Sybase IQ,• Teradata.• Memory Data Store (MDS), • SAP HANA,• SASHDAT data sources.
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
SAS 9.4 ACCESS NEW LANGUAGES FEDSQL
libname mybase base 'C:\Base';
libname myoracle oracle path=ora11g user=xxxxxx password=xxxxxx schema=xxxxxx;
proc fedsql;
select * from mybase.product, myoracle.sales;
quit;
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
SAS 9.4 ACCESS NEW LANGUAGES DS2
• SAS proprietary programming language
• Object-based syntax – user-defined methods and packages
• Embedded FedSQL support
• ANSI SQL data type support
• TK Based
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
SAS 9.4 ACCESS NEW LANGUAGES DS2 WITH FEDSQL
proc ds2;data _NULL_;
dcl varchar(8) tablename;retain tablename;dcl char(40) name;dcl double age;dcl varchar(180) s;
/* Create the table. */method init();tablename = 'testdata';s = 'create table ' || tablename || '(name char(40), age double)';sqlexec(s);
end;
/* Insert rows from the sample table. */method run();set sample_data;s = 'insert into ' || tablename || ' values(''' || trim(name) || ''',' || age ||')';sqlexec(s);
end;enddata;
run;quit;
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
SAS 9.4 ACCESS NEW LANGUAGES JSON
• Javascript Object Notation
• A popular alternative to XML for web service data transactions
proc json out="C:\temp\jOutput.json" pretty;export work.subsetclass (where=(age=12)) / nokeys nosastags;
run;
[ [
"James", "M", 12, 57.3, 83
], [
"Jane","F",12,59.8,84.5
],]
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 USABILITY SMALLER INSTALLERS TO SUPPORT CLIENT ROLLOUTS
• Client Tools such as EG and MS Add-In now come as standalone installers
• Easier to push to client hosts
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 USABILITY SAS DEPLOYMENT BACKUP AND RECOVERY TOOL
• Integrated batch tool that backs up / restores• Metadata• /Data, /SASEnvironment and Server configuration directories of a SAS config• SAS Content Server• WIP Databases• User customizable sub directories of your LevX path
• Automatically scheduled during configuration
• Keeps 30 days of backups
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 CONVINCE ME TO MOVE
=
SAS 9.4 is Already at M1 Level
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
9.4 CONVINCE ME TO MOVE
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
SAS 9.4 MIGRATION
• Careful Planning
• N-2 Approach (ie: 9.2 -> 9.4, not 9.1.3 -> 9.4)
• Certain Baseline Product version requirements
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
SAS 9.4 MIGRATION PROMOTION
• Selective Import/Export of Metadata and Content
• Facilitated through various GUIs
• Provides an opportunity to travel light
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
SAS 9.4 MIGRATION SAS MIGRATION UTILITY
• Used at time of environment configuration
• Ensures everything is carried across
• Ensures is carried across
everything
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
SAS 9.4 MIGRATION YOU HOLD THE POWER…
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
SAS 9.4 FURTHER INFORMATION
• Learn about SAS 9.4• Download What’s new in SAS 9.4 ebook• Visit Support.sas.com site
• Migration Planning• Support.sas.com migration site
http://support.sas.com/rnd/migration/utility/upgrade.html
• SAS Professional Services Migration Services
High‐quality graphs using PROC SGPLOT
Philip Crane
High‐quality graphs using PROC SGPLOT
Please hold your questions until the end.
Thank you
New procedures
• SGPlot• SGScatter• SGPanel• SGRender
Original plotsGroup Plots
Basic X Y plots scatter, series, step and needle
Fit and Confidence plots regression, loess, pbspline and ellipse
Distribution graphs histograms, boxplots and density
Categorisation graphs bar charts, dot plots and line graphs
Graphs can be
• Saved in standard image formats such as BMP, JPEG
• Displayed in the Results window in SAS EG• Sent to the any of the ODS destinations• Use ODS styles to change their appearance
Graph one
Graph one data
fy YTD EoY
20072008 5 16
20082009 11 27
20092010 14 26
20102011 11 19
20112012 17 24
20122013 11 22
20132014 11 11
Graph one – code 1
proc sgplot data=Smug; vbar Fy / response=Ytd datalabel;format Fy FyFmt.;
run;
Graph one – plot 1
Graph one – code 2
proc sgplot data=Smug; vbar Fy / response=Ytd datalabel
fillattrs=(color=cxFFCC00);vbar Fy / response=EoY datalabel nofill;format Fy FyFmt.;
run;
Graph one – plot 2
Graph one – code 3title “Critical incidents upto &AsAt";footnote j=right height=8pt 'Business Performance Management';proc sgplot data=Smug noautolegend; vbar Fy / response=Ytd datalabel
fillattrs=(color=cxFFCC00);vbar Fy / response=EoY datalabel nofill;xaxis display=(nolabel);yaxis grid label='Fatalities';inset ('YTD'='shown gold');format Fy FyFmt.;
run;
Graph one – plot 3
ODS
ods html file="&gout/Smug.htm" gpath="&gout" style=Solutions;
ods graphics / imagefmt=jpegimagename=‘CriticalA‘;
proc sgplot …
Changing style
Graph two ‐ dataUseForDate LabF12MthHrs LblPt
28/02/2013 4121.21
31/03/2013 4124.46
30/04/2013 4133.07
31/05/2013 4129.43
30/06/2013 4132.39 4132.39
31/07/2013 4136.55
31/08/2013 4143.68
30/09/2013 4148.95
31/10/2013 4158.18
30/11/2013 4165.78
31/12/2013 4169.92
31/01/2014 4175.85 4175.85
Graph two – code 1proc sgplot data=All noautolegend ;series x=UseForDate y=LabF12MthHrs /
lineattrs=(thickness=2 color=black)datalabel = LblPt;
yaxis grid min=3500max=4500 label='Million hours worked';xaxis grid values=('30Jun09'd,'31Dec09'd,'30Jun10'd,'31Dec10'd,
'30Jun11'd,'31Dec11'd,'30Jun12'd,'31Dec12'd,'30Jun13'd,'31Dec13'd,'30Jun14'd)
tickvalueformat=monyy5. label='Worked in year ended in this month';
format LblPt comma10.;run;
Graph two – plot 1
Graph two – code 2proc sgplot data=All noautolegend ;scatter x=UseForDate y=LblPt /
markerattrs=(symbol=circle);series x=UseForDate y=LabF12MthHrs /
lineattrs=(thickness=2 color=black)datalabel = LblPt;
yaxis grid min=3500max=4500 label='Million hours worked';xaxis grid values=('30Jun09'd,'31Dec09'd,'30Jun10'd,'31Dec10'd,
'30Jun11'd,'31Dec11'd,'30Jun12'd,'31Dec12'd,'30Jun13'd,'31Dec13'd,'30Jun14'd)
tickvalueformat=monyy5. label='Worked in year ended in this month';
format LblPt comma10.;run;
Graph two – plot 2
For more information
Statistical Graphics Procedures by Example: Effective Graphs Using SASSanjay Matange and Dan Heath
Graphically SpeakingData Visualization with a focus on SAS ODS Graphics
http://blogs.sas.com/content/graphicallyspeaking
THANK YOUFOR LISTENING
QUESTIONS ?
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
SAS EDUCATION TAKING YOU WHERE YOU WANT TO GO
the skills to fully realise the power of the SAS software in your hands
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
SAS EDUCATION ANALYTICS IS THE HOTTEST MARKET TODAY!
Skill No.1:SAS
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
SAS EDUCATION
TRAINING DISCUSSIONS
• Hire a SAS instructor for on-the-job coaching• Learn with a coach by your side • Private training on topics you want most • Practice on your data for quicker results • Gain insight into your data and code • Get more comfortable with what you learned in class
Contact [email protected] for more information
• Complimentary 1-2 hour onsite session with a SAS Senior Consultant• Work with your team to assess SAS skills level and align SAS training to
your business needs
MENTORING DAYS
POPULAR SERVICES TO CONSIDER
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
SAS EDUCATION 2014 TRAINING CATALOGUE
Contact [email protected] for more information
Download the 2014 Training Catalogue today!
https://www.sas.com/offices/asiapacific/sp/training/
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
SAS EDUCATIONUPCOMING …….CUSTOMER SEGMENTATION USING ENTERPRISE MINERWHEN:July
NOTE: Some prior exposure to SAS is useful, but not required. No experience with SAS Enterprise Miner is required.
WHY IS CUSTOMER SEGMENTATION IMPORTANT?• identify your most and least profitable customers• better focus your marketing • build loyal relationships with customers• increase your competitiveness• better resource allocation• improve products to meet customer needs• customer retention
LEARN:• Segmentation basics• Types of segmentation and their pros and cons• How to handle messy, skewed and missing data • Effective methods of segmentation• Work through 5-6 real life case studies
WHO SHOULD ATTEND?• Anyone who wants to learn how to segment customers based on attitude, preference, or
transaction data to develop effective targeted marketing communications.
Register before 1st May, 2014 to receive a 10% discount. Enter the promotion code: "BKSDC" when registering.
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
QUESTIONS FOR THE PRESENTERS ?
Q & A
Copyr igh t © 2013, SAS Ins t i tu te Inc . A l l r igh ts reserved.
SAS DEMO BOOTH Talk to me… Predicting Churn from Call Center
Join us for an
exploration of text analytics and customer perceptions…
DON’T FORGET TO FILL IN THE SURVEY
www.surveymonkey.com/s/SMUG_Q1_2014
THANK YOU FOR YOUR ATTENDANCE