Hi !
I have a problem. I want to do a LOOP on SAS Data Integration Studio and execute this Loop until the value in my table is equal 1.
For example :
The user writer code generate a variable "file_test" in the table work.test
I want to make a LOOP with the LOOP transformation (no user writer code) to execute the loop until the value of "file_test" equal 0 and if the value of "file_test" = 1 then stop the LOOP.
Is it possible ?
The version of SAS DIS is 4.9
Thanks 🙂
Hello LinusH,
First of all thanks for your reply ! ![]()
The operation of the process is as follows:
The DIS job should run every 5 minutes by searching a directory for a specific file.
The macro loops as long as the file is not found. If the file is found, it stops.
How can I set up a condition in my program that runs the DIS job every 5 minutes to check for the presence of the file and does not run after the file is found?
I can use the USER WRITER transformation, as you said the LOOP transformation doesn't work for this.
Best regards,
Super !! you confirm all iwas thinking :)))
Thanks a lot 🙂
Best regards,
Stefan
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.