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.
Think you are using the wrong tool. I suggest you use a SAS Stored Process instead.
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
Maybe you should tjek out https://sasjs.io/. They made a framework for web development with SAS
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.