BookmarkSubscribeRSS Feed
Mayt
Quartz | Level 8

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
Quartz | Level 8
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
Quartz | Level 8

Can we call a job flow within job definition?

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 557 views
  • 2 likes
  • 3 in conversation