I have code that checks the last modified date of a specific dataset and compares it to the current system date. If the modified date of the desired dataset does not match the current system date, the macro then checks a specified number of times at set intervals (10 minutes) to see if the dataset is current. This code works as intended - no issues. What I need help with is when the dates match, how can I execute a process flow (or set of process flows) in the EG project where the macro resides?
%IF &MODATETIME2 = &NOW2 %THEN %DO;
%PUT NOTE:EXECUTE DESIRED PROCESS FLOWS>>>>>>>>>; <<<--what goes here to execute one or more process flows in the project?
*exit the macro once execution completes;
%return;
%END;
Currently I have %put statements indicating the dates match while I resolve this issue.