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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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