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-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
  • 1 reply
  • 1880 views
  • 0 likes
  • 2 in conversation