I want to run a SAS program using sas studio on viya using powershell.
Please tell me the pages and methods that will be helpful.
thank you for your reply.
As you said, I want to upload the SAS program files to sas studio on viya.
It seems that I can upload xlsx, csv, etc. to CAS using the following command, but I don't know how to upload the SAS program.
Do you know how to upload a SAS program file using the CLI?
sas-admin cas tables import
You can deploy SAS programs as Jobs (accessible in SAS Drive) using the SASjs CLI: https://cli.sasjs.io/deploy
We have an open issue for including Studio programs: https://github.com/sasjs/cli/issues/991
If your project has the budget to support this feature, we'd be happy to build it.
You can run a SAS program on SPRE using the SASjs CLI.
Installation instructions: https://cli.sasjs.io/installation/
Configure your SAS target: https://cli.sasjs.io/add/
Run some code: https://cli.sasjs.io/run/
Here's a video demo of the above on Viya 4: https://communities.sas.com/t5/SAS-Hacker-s-Hub/Hacker-tip-2-running-SAS-code-from-terminal/td-p/800...
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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 save with the early bird rate—just $795!