Top Banner
Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization R&D SAS
26

Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Jan 03, 2016

Download

Documents

Patrick McBride
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: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

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

Effective Use ofSAS/GRAPH® Stored Processes

Pat BerrymanSenior Software ManagerData Visualization R&D SAS

Page 2: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 2

Reuse

Enhance

Create

Page 3: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 3

ReuseAdd stored processes

macros

Register in metadata

Run in Clients

Page 4: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 4

Add Stored Processes Macros

%stpbegin;

/* sas code here */

%stpend;

Page 5: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 5

SAS Stored Process Registration

Page 6: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 6

Page 7: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 7

Reuse

Enhance

Create

Page 8: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 8

EnhanceUse client defaults

Use input parameters

Use client options

Page 9: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 9

Use default client style/* goptions ctitle=black htitle=5.pct ftitle=swiss ctext=blue htext=2.pct ftext=swiss cback=ligr border colors=(red blue); */

title "Existing SAS/GRAPH program";

proc gchart data=sashelp.class;

vbar age; run; quit;

Page 10: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 10

Use client device settings

ods html file=‘report.html’ style=gears;

goptions dev=activex;

/* leave sas code here */

ods html close;

Page 11: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 11

link

Page 12: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 12

link

Page 13: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 13

SAS® Enterprise Guide

Page 14: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 14

Page 15: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 15

Page 16: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 16

Page 17: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 17

Page 18: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 18

SAS Stored Process Web Application

Page 19: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 19

Reuse

Enhance

Create

Page 20: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 20

CreateSAS® Enterprise Guide

for authoring, editing and testing stored processes

Page 21: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 21

Page 22: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 22

Page 23: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 23

Page 24: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 24

Show EG created Stored process in AMO

Page 25: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 25

Reuse

Enhance

Create

Page 26: Copyright © 2005, SAS Institute Inc. All rights reserved. Effective Use of SAS/GRAPH® Stored Processes Pat Berryman Senior Software Manager Data Visualization.

Copyright © 2005, SAS Institute Inc. All rights reserved. 26Copyright © 2005, SAS Institute Inc. All rights reserved. 26