Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

How do I use BODS 4.2 to wait for folders similar to wait_for_file?

$
0
0

I need to be able to process folders in a parent folder.   The parent folder will always be named the same, but the sub folders will be named uniquely as they have a datetime stamp within their name.   I use the wait_for_file function to wait for uniquely named files, can I get it to work for folders, then within that while, I can use wait_for_file.

 

Folder - Parent  (a shared folder on the network)

     Folder - 123445.201602040813.abc     (sub folder)

               a.xml

               b.xml

               c.xml

     Folder - 98765.201602040956.xyz     (sub folder  peer)

               1.xml

               a.xml

 

 

In this scenario, I need to loop over the sub folders then fall into a sub while loop on the *.xml files.   I know how to process over the files, but is there a built-in function to similarly loop over the sub folders?


Viewing all articles
Browse latest Browse all 3719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>