- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 01-25-2024 06:05 AM
(1537 views)
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Can you please give little more context, like are you referring to Viya jobs/flows or 9.4 metadata objects?
Data never sleeps
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
It's Viya jobs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
See Compute – Compute API Reference (sas.com)
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Can we call a job flow within job definition?