SAS Programming

DATA Step, Macro, Functions and more
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?

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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.

SAS Training: Just a Click Away

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

Browse our catalog!

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