FDS.jpg

FDS_AR_INQUIRY Designer view

 

Threads emanate from script component Get Files asynchronously and are transformed in parallel. Component Sync Threads does not start until all Load arXXXXX-U/H Data Flow threads have exited. The primary reason for doing this is that component Sync Threads counts actual rows written and compares them to the count of source rows processed.

 

Since the For Loop Container currently clears the destination import tables before each iteration, concurrent AR source file groups could overwrite the counts from previous groups while Sync Threads is counting them. After all file groups specified in Download_AR_Filenames have been processed, global variable bBreakLoop is cleared and the For Loop Container breaks enabling Script Component End Task.