SAS Viya

SAS Viya’s AI-based automation aligns to the needs and talents of your team, keeping both models and progress in motion across the analytics life cycle.
BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Aki_shivhare
Calcite | Level 5

SAS_VIYA docker image that i have doesn't have the below products so i cannot use proc FCMP to call python Functions :

SAS Intelligent Decisioning

SAS Model Manager

SAS Event Stream Processing

 

Also , Its sas_viya 3.5 so I cannot  use proc python .

I tried the below line of code and it worked :

proc options option=xcmd;
run;
X "python3 app.py"; --> this worked

But I need to call a python function and need to import app.py as module.

python -c ''import app; app.run(input)"

 

is something like this achievable. 

1 ACCEPTED SOLUTION

Accepted Solutions
gwootton
SAS Super FREQ
I couldn't find any documentation suggesting you could do this outside of using PROC FCMP.
--
Greg Wootton | Principal Systems Technical Support Engineer

View solution in original post

1 REPLY 1
gwootton
SAS Super FREQ
I couldn't find any documentation suggesting you could do this outside of using PROC FCMP.
--
Greg Wootton | Principal Systems Technical Support Engineer

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Discussion stats
  • 1 reply
  • 3774 views
  • 0 likes
  • 2 in conversation