24 %MACRO _getAutocallNumber (i_object
 
   29    %*** check all autocall paths ***;
 
   31       %LET l_path = &&g_sasautos&i/&i_object;
 
   32       %IF %sysfunc(fileexist(&l_path)) %THEN %DO;
 
   38    %*** check 
for SASUnit program path ***;
 
   39    %LET l_path = &g_sasunit/&i_object;
 
   40    %IF %sysfunc(fileexist(&l_path)) %THEN %DO;
 
   45    %*** check 
for SASUnit os-specific program path ***;
 
   46    %LET l_path = &g_sasunit_os/&i_object;
 
   47    %IF %sysfunc(fileexist(&l_path)) %THEN %DO;
 
   53 %MEND _getAutocallNumber;