BookmarkSubscribeRSS Feed
a20121248
Obsidian | Level 7

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)?

a20121248_0-1685042434232.png

Thank you in advance.

 

Best regards,

Javier

2 REPLIES 2
joeFurbee
Community Manager

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

SASBowl LVI, LLMs and SAS Coding
Wednesday, November 19, 2025 at 10 am ET.
MAGDN
Fluorite | Level 6

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. 

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 3707 views
  • 1 like
  • 3 in conversation