data shoeSales; set sashelp.shoes end=final; retain total 0; total = total + &var; if final then call symputx('result', total); run;
file:////temp/invokeSASCodeTutorial.sas
).
Data Object Label
|
Type
|
Value
|
---|---|---|
Total
|
Short Text
|
0 |
Total Category
|
Short Text
|
sales |
Policy Property
|
Value
|
---|---|
Name
|
Task Started
-> Invoke
SAS Code
|
Description
|
This policy sends the
var parameter value to the hosted SAS code example and assigns the result to the Total
data object.
|
Event
|
Task Started
|
Action
|
Invoke SAS Code
|
SAS Source Code
|
http://host-name/invokeSASCodeTutorial.sas
|
Server
|
SASApp – Logical
Workspace Server
|
Repository
|
Foundation
|
Pass all root workflow data objects
|
disabled
|
(Output) Data Object
|
InvokeSASCode Tutorial/Tutorial
Task/Total
|
(Input 1) Data Object
|
InvokeSASCode Tutorial/Tutorial
Task/Total Category
|
(Input 1) Macro Variable
|
var
|
(Output) Macro Variable
|
result
|
%let var=sales;