Hi:
I have Viya 3.5. I managed to create a Job using the SAS Rest API. Now I need to move these Jobs to the SAS Environment Manager Scheduling tab, but I haven't been able to find an action for this task.
It would be perfect to schedule from an API Rest call or command line? Otherwise, is there a way just to display Jobs in SAS Environment Manager (without scheduling)?
Thank you in advance.
Best regards,
Javier
Hi @a20121248,
You can schedule the jobs using the CLI. Take a look at the pyviyatools GitHub repository. There are multiple job-related tools in the list.
There's also the Community article, Simple steps to schedule a SAS job in UNIX (PUTTY) by @ChrisHemedinger that may be helpful. At the end of the article the blog post Running SAS programs in batch under Unix/Linux by @LeonidBatkhan is referenced.
Thanks,
Joe
Join us for SAS Community Trivia
You wrote "You can schedule the jobs using the CLI. "
Since de CLI is using microservices/api's underwater why is this api not official documented and free to use ?
Hence not everyone is allowed to use an CLI.
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 lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.