BookmarkSubscribeRSS Feed
Mayt
Obsidian | Level 7

Hi everyone

I want to call api to execute a job/flow in real-time. So think I may need to create a job definition to execute a job/flow first, then call the job definition through API. But I don't know how to write sas code in job definition to execute a job/flow.

If you guys have any recommendation, please let me know. Thank you in advance.

4 REPLIES 4
LinusH
Tourmaline | Level 20
Can you please give little more context, like are you referring to Viya jobs/flows or 9.4 metadata objects?
Data never sleeps
Mayt
Obsidian | Level 7
It's Viya jobs.
MAGDN
Calcite | Level 5

 

See Compute – Compute API Reference (sas.com)

MAGDN_0-1706182867661.png

 

De body of the api to execute a job contains a reference to the job definition. In the job definition you put the code you want to execute

 

 

 

Mayt
Obsidian | Level 7

Can we call a job flow within job definition?

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!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 456 views
  • 2 likes
  • 3 in conversation