Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

While loop never stop running


Can some please help me out with a while loop.

I have a job where I used the wait_for_file function to detect if a file exist and how many, then use a while loop to loop through the number of files to stage each and every single file until done.  Here is what my while loop looks like:

My problem is my job never stops, keeps running until I have to kill it manually.

Am I doing something wrong?

Thank you.

Not what you were looking for? View more on this topic or Ask a question