BookmarkSubscribeRSS Feed
smehae
SAS Employee

Dears,

 

We want to build SAS DI Job that are exposed to return different output tables and the DI job will be exposed as web service ... currently DI job exposed as output service can have only one output file .. how we can include multiple different tables in the response of exposed web service ?

 

We are using SAS9.4 Platform.

3 REPLIES 3
rudfaden
Lapis Lazuli | Level 10

Think you are using the wrong tool. I suggest you use a SAS Stored Process instead.

LinusH
Tourmaline | Level 20

If you happen to licence Enterprise Decision Management with a MAS server component, there's a transformation for that:

https://documentation.sas.com/doc/sv/etlug/4.905/p0n2s8yde3a0yan1o7i5531cgtet.htm

Haven't tested it myself though.

 

You can also deploy a DI Stdio job as a SAS Stored Process. It's not like a modern service, but similar:

SAS Help Center: About Deploying Jobs as Stored Processes

 

A Stored process can then be published as a web service:

SAS Help Center: About Deploying Jobs as Web Services

Data never sleeps
rudfaden
Lapis Lazuli | Level 10

Maybe you should tjek out https://sasjs.io/. They made a framework for web development with SAS

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1218 views
  • 0 likes
  • 3 in conversation