22
Copyright © SAS Institute Inc. All rights reserved. SAS ® FORUM STOCKHOLM 2019 Nyheter i SAS 9.4 M0-M6 [email protected]

Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

Copyright © SAS Inst itute Inc. A l l r ights reserved.

SAS® FORUMSTOCKHOLM 2019

Nyheter i SAS 9.4 [email protected]

Page 2: Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

Copyright © SAS Inst itute Inc. A l l r ights reserved.

SAS® FORUMSTOCKHOLM 2019

Nyheter i SAS 9.4 M0-M6

Utvecklingen av SAS började redan 1966 på IBM System/360

SAS 9.4 M0 släpptes i juli 2013 och M6 blev tillgänglig december 2018

Page 3: Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

Copyright © SAS Inst itute Inc. A l l r ights reserved.

SAS® FORUMSTOCKHOLM 2019

Nyheter i SAS 9.4 M0-M6

• Proc FEDSQL

• Proc JSON/JSON Libname

• Proc PRESENV, PRESENV option

• Server Lockdown, Metadata-Bound Libraries

• Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8

• Proc SGMAP

• ODS proc Odslist/Odstext→ The PowerPoint generator

• ODS Word – Ny destination (exp. M6)

• Proc SGPIE – Ny snygg donut á la VA (exp. M6)

Page 4: Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

Copyright © SAS Inst itute Inc. A l l r ights reserved.

SAS® FORUMSTOCKHOLM 2019

Proc FedSQL

• SAS FedSQL is a SAS proprietary implementation of ANSI SQL:1999 core standard. It provides support for new data types and other ANSI 1999 core compliance features and proprietary extensions

• FedSQL provides a scalable, threaded, high-performance way to access, manage, and share relational data in multiple data sources. When possible, FedSQL queries are optimized with multi-threaded algorithms in order to resolve large-scale operations

• Runs in CAS so perhaps it’s time to have a look at Proc FedSQL?

Page 5: Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

Copyright © SAS Inst itute Inc. A l l r ights reserved.

SAS® FORUMSTOCKHOLM 2019

Proc JSON/JSON Libname

• The JSON procedure reads data from a SAS data set and writes it to an external file in JSON representation.https://go.documentation.sas.com/?docsetId=proc&docsetTarget=n0nejfk9q0pzmnn181l92qk3ah2e.htm&docsetVersion=9.4&locale=en

• The JSON LIBNAME statement enables you to read a JSON file using the JSON engine.https://go.documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=lestmtsglobal&docsetTarget=n1jfdetszx99ban1rl4zll6tej7j.htm&locale=en#p118grj55qzz7nn11jby8l9sgruj

Page 6: Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

Copyright © SAS Inst itute Inc. A l l r ights reserved.

SAS® FORUMSTOCKHOLM 2019

Proc JSON

Page 7: Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

Copyright © SAS Inst itute Inc. A l l r ights reserved.

SAS® FORUMSTOCKHOLM 2019

JSON Libname

Page 8: Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

Copyright © SAS Inst itute Inc. A l l r ights reserved.

SAS® FORUMSTOCKHOLM 2019

Preserving the SAS EnvironmentPRESENV option, Proc PRESENV

• When the PRESENV= system option is set, the Work library data sets and catalogs, and the values of global statements, macro variables, and system options can be preserved between SAS sessions. You use the PRESENV procedure to preserve your environment settings and variable definitions to be used in a subsequent SAS session.

• This OPTIONS statement saves the following items:

• global SAS statements (for example, the FILENAME, LIBNAME, TITLE, and FOOTNOTE statements)

• compiled macros in the SAS Work library

• temporary formats in the SAS Work library

• option settings in your session

Page 9: Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

Copyright © SAS Inst itute Inc. A l l r ights reserved.

SAS® FORUMSTOCKHOLM 2019

Server Lockdown and Metadata-Bound Libraries

• Locked-Down Servers – The SAS Dummyhttps://blogs.sas.com/content/sasdummy/2014/02/21/using-lockdown-sas94/

• Locked-Down Servers – Security Administration Guidehttps://go.documentation.sas.com/?docsetId=bisecag&docsetTarget=p0eo05w7u850lgn1n1i5vquf07vg.htm&docsetVersion=9.4&locale=en

• SAS 9.4 Guide to Metadata-Bound Librarieshttps://go.documentation.sas.com/?docsetId=seclibag&docsetTarget=bookinfo.htm&docsetVersion=9.4&locale=ja

• Fencing in your SAS users with LOCKDOWN – The SAS Dummyhttps://blogs.sas.com/content/sasdummy/2014/02/21/using-lockdown-sas94/

Page 10: Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

Copyright © SAS Inst itute Inc. A l l r ights reserved.

SAS® FORUMSTOCKHOLM 2019

Server LockdownServer default

SAS datasetsFile systemDatabases

SAS Server

Page 11: Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

Copyright © SAS Inst itute Inc. A l l r ights reserved.

SAS® FORUMSTOCKHOLM 2019

Server LockdownServer with Lockdown

SAS datasetsFile systemDatabases

SAS Server

Page 12: Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

Copyright © SAS Inst itute Inc. A l l r ights reserved.

SAS® FORUMSTOCKHOLM 2019

Server Lockdown

• Allows you to:

• Deny/grant access to local files

• Restrict access methods

• Restrict SAS functions

• Activated in sasv9_usermods.cfg or autoexec

• Validates all access to the file system via white list

Page 13: Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

Copyright © SAS Inst itute Inc. A l l r ights reserved.

SAS® FORUMSTOCKHOLM 2019

Git-integration in Base, EG 7.13 and Studio 3.8 (exp.)

Page 14: Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

Copyright © SAS Inst itute Inc. A l l r ights reserved.

SAS® FORUMSTOCKHOLM 2019

Git-integration in Base, EG 7.13 and Studio 3.8 (exp.)

• Using built-in Git operations in SAS – The SAS Dummy https://blogs.sas.com/content/sasdummy/2019/01/17/git-in-sas/

• Understanding Git integration in SAS Studiohttps://go.documentation.sas.com/?activeCdc=webeditorcdc&cdcId=sasstudiocdc&cdcVersion=3.8&docsetId=webeditorug&docsetTarget=p0hlfsbbbdnco4n1vep8z6k2p6us.htm&locale=en

• Check it out! Versioning in SAS Enterprise Guide http://support.sas.com/resources/papers/proceedings14/SAS179-2014.pdf

Page 15: Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

Copyright © SAS Inst itute Inc. A l l r ights reserved.

SAS® FORUMSTOCKHOLM 2019

Proc SGMAP• Proc SGMAP doc

https://go.documentation.sas.com/?docsetId=grmapref&docsetTarget=n18zwxj3couxmgn161trks2usk2v.htm&docsetVersion=9.4_01&locale=en

• Graphically Speaking: https://blogs.sas.com/content/graphicallyspeaking/2017/12/14/sgmap-now-in-base-sas/

Page 16: Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

Copyright © SAS Inst itute Inc. A l l r ights reserved.

SAS® FORUMSTOCKHOLM 2019

ODS – Odslist, Odstext – The PowerPoint generatorThe following 2 slides are made with this SAS code

ods powerPoint file="C:\Demo\ODS\Output\PPToptions.ppt" style=styles.example

options(transition="rotate" effect_option="from_top");

ods powerpoint layout=titleslide;

/* Slide 1 */

proc odstext;

p "The ODS Destination for PowerPoint" / style=presentationtitle;

p "SAS Forum 2019" / style=presentationtitle2;

run;

/* Slide 2 */

ods powerpoint layout=_null_;

footnote '^{style [color=white]The ODS Destination for PowerPoint}';

title 'Supported Output';

proc odstext;

list / style=[color=lightgrey];

item 'Graphics';

item 'Tables';

item 'Lists';

item 'Paragraphs';

item 'ODS TEXT= output';

end;

run;

Page 17: Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

The ODS Destination for PowerPoint

SAS Forum 2019

2019-03-07 The PowerPoint Destination 17

Page 18: Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

Supported Output

• Graphics• Tables• Lists• Paragraphs• ODS TEXT= output

2019-03-07 The ODS Destination for PowerPoint 18

Page 19: Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

Copyright © SAS Inst itute Inc. A l l r ights reserved.

SAS® FORUMSTOCKHOLM 2019

ODS Word – New destination (M6)

• Smaller file sizes

• No need for manual “Save As” … .docx step

• Automatic support for Office themes: https://support.office.com/en-us/article/change-a-theme-and-make-it-the-default-in-word-or-excel-c846f997-968e-4daa-b2d4-42bd2afef904

• Works with the Word app on iOS: https://itunes.apple.com/us/app/microsoft-word/id586447913?mt=8

• Change orientation within a document

• Customize the style of table of contents entries

• Supports document metadata (author, keywords, category, status, comments)

• Native support for paragraphs and lists

• Support for ODS gridded layout in SAS 9.4M7

Page 20: Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

Copyright © SAS Inst itute Inc. A l l r ights reserved.

SAS® FORUMSTOCKHOLM 2019

Proc SGPIE – Ny snygg donut á la VA (exp. M6)

• Graphically Speaking: https://blogs.sas.com/content/graphicallyspeaking/2018/11/26/the-sgpie-procedure/

Page 21: Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

Copyright © SAS Inst itute Inc. A l l r ights reserved.

SAS® FORUMSTOCKHOLM 2019

More links

• What’s New in Base SAS 9.4: Detailshttps://go.documentation.sas.com/?docsetId=basewn&docsetTarget=n0aoxnlicuhy0kn1l0pvgnn2k15e.htm&docsetVersion=9.4&locale=en

• What's New in Base SAS 9.4: Procedureshttps://go.documentation.sas.com/?docsetId=proc&docsetTarget=procwhatsnew94.htm&docsetVersion=9.4&locale=en

• Blogs@sashttps://blogs.sas.com

• Base SAS RnDhttp://support.sas.com/rnd/

• SAS Software @ Youtubehttps://www.youtube.com/user/SASsoftware

Page 22: Nyheter i SAS 9.4 M0-M6€¦ · •Git-integration - Base SAS, Enterprise Guide 7.13, SAS Studio 3.8 •Proc SGMAP •ODS proc Odslist/Odstext →The PowerPoint generator •ODS Word

Copyright © SAS Inst itute Inc. A l l r ights reserved.

Tack!