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...
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!