BookmarkSubscribeRSS Feed
MBVilela
Calcite | Level 5

Hi, Please could somebody help me... I need to do a process job (in Data Flux) with three data jobs linked, so that when I start the Process job (manually), the 1 and 2 data jobs run and the third data job wait 10 minutes to start since the process starts... is possible?

 

example_time_DF.png

 

3 REPLIES 3
VincentRejany
SAS Employee

Hi

 

Each node has a start time and end time that can be reused in macro variables. You can either use a If/Then node or an expression node, or even an alert for triggering your process job 10min later.

MBVilela
Calcite | Level 5
HI,



Thanks for your help. I used the function Sleep()



Regards



Ber


Patrick
Opal | Level 21

Making your node dependent on the termination of another node feels like a much better approach than just a hard coded sleep().

 

If you just wait "dumb" 10 minutes then you'll often will waste time for you process to finish but you also risk that on this special day where your environment is very busy a 10 minute wait is not long enough.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 892 views
  • 0 likes
  • 3 in conversation