Thank you all for your reply. To be precise please find my requirement. 1. I have a control file ( in CSV Format) in server folder that will be placed as a result of the camapign from SAS CI 2. I need to constalatly serach for the contraol file , if the contraol file is present I need to Open the file and read the file and capture the details into a SAS Data Set. 3. This Program needs to be scheduled so that every 10 minutes this runs. I have written the programe which finds the file %let folder=/sasdata/export_files; /* Check for presence of a KNOWN Filr */ data _null_; if fileexist("&folder./abc.csv") then call symputx('file_found','1'); else call symputx('file_found','0'); run; %put FILE_Found = &file_found; Now I need to write a contnuation of this program if FILE_FOUND = 1 the read the file. After completing the file I need to Schedule this Program. The two Option we have is 1. Write this SAS Program and Schedule 2. Write a UNIX program in SAS EG ( X Command ) and schedule the same as Cron Job. Coudl you please let me know how I can complete this and which option suites here better? Thanks !! Anumol Antony
... View more