Quantcast
Channel: SCN : All Content - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4013

While loop never stop running

$
0
0

Hi,

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:

While_Loop.jpg

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

Am I doing something wrong?

Thank you.


Viewing all articles
Browse latest Browse all 4013

Trending Articles