BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
EyalGonen
Lapis Lazuli | Level 10

Hi experts,

 

Does anyone know if one can achieve what is described here: https://video.sas.com/detail/videos/sas-add-in-for-microsoft-office/video/3862907101001/use-microsof... using SAS Viya 2022.x instead of SAS 9.4?

 

Thanks,

Eyal

1 ACCEPTED SOLUTION

Accepted Solutions
AllanBowe
Barite | Level 11

SAS AMO is a SAS 9 product

 

You could set up a Stored Process to call Viya if you're running both.  Or, use VBA to call the SAS Viya REST APIs.  

 

Otherwise, you'll have to wait for the office support in Viya (might be out already) that brings connectivity to Office 365.  Not sure about legacy excel though.

/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)

Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs

View solution in original post

3 REPLIES 3
AllanBowe
Barite | Level 11

One approach is to simply ingest the excel in a web app and send that to the backend for processing.

Here's a video of doing that on Viya using Data Controller for SAS: https://vimeo.com/417808409?embedded=true&source=video_title&owner=89559501 - in this, additional STPs (known as Jobs in Viya) can be triggered after approval.

 

If you wanted to build something similar yourself, you can make use of the same excel parser as we do:  https://sheetjs.com/ and call Viya using SASjs:  https://github.com/sasjs/adapter

 

Disclaimer - my team built both Data Controller and SASjs.

/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)

Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs
EyalGonen
Lapis Lazuli | Level 10

Thank you for the idea. My question was more basic than your proposed answer 🙂

I am asking whether technically it is possible to invoke SAS Viya jobs from Excel using SAS AMO like it is possible to invoke STPs from Excel with SAS 9.4?

 

AllanBowe
Barite | Level 11

SAS AMO is a SAS 9 product

 

You could set up a Stored Process to call Viya if you're running both.  Or, use VBA to call the SAS Viya REST APIs.  

 

Otherwise, you'll have to wait for the office support in Viya (might be out already) that brings connectivity to Office 365.  Not sure about legacy excel though.

/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)

Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Discussion stats
  • 3 replies
  • 2007 views
  • 0 likes
  • 2 in conversation