Multi Output

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi,
I may have more then 1 output file depending on the input data.
The filenames of the output files start with a number. Each record in the
input data has an "actual date" field and each record should go to the
related file .
if the actual date of the record is 14th then the record should go to file
14XXXXX.txt
if the actual date of the record is 15th then the record should go to file
15XXXXX.txt etc.

Do you think it is a good idea to use a dynamic port in a loop and append
each record to the end of related file in each loop?

Another question is When does BTS close a dynamic send file port?
I have one more step for these generated files.If BTS closes the file in
each loop, the orchecstration for the next step may start before I finish
preparing of a file completely.
Can I prepare the files in the first orchestration and then call the second
one in the first orches.

Please let me know if there is a better way.

Thanks
Kenan


.



Relevant Pages

  • Re: Re: Re: RE: Perl Question: Optimization
    ... ### THERE ARE ABOUT 5 SUCH ATTRIBS AS ABOVE TO GET ... Among 10 prepared statements I have 2 which are of>the above type. ... So I have to put the syntax for>prepared statement inside the loop of 40000. ... >>prepare 10 db queries;>while loop through input data file> bind the variables to prepared stmt ...
    (perl.dbi.users)
  • Re: dictionary containing a list
    ... loop around and around filling my list each time with new values, ... It would appear that what I am dumping into the dictionary value is ... a small amount of input data ...
    (comp.lang.python)
  • RE: Reading contents of file
    ... 2)I am not able to print the unmatched data i.e in the above example '45' doesn't match the regex in the while loop so this cannot be printed in the output file. ... the existence of the matched pattern which is done by the help of bookref ...
    (perl.beginners)
  • Re: NaN
    ... Open Binary monthly averaged surface pressure file ... loop for the year, loops through input data, ... calculations don't start until beginning year is reached ...
    (comp.lang.fortran)
  • Re: dictionary containing a list
    ... loop around and around filling my list each time with new values, ... It would appear that what I am dumping into the dictionary value is ... a small amount of input data ...
    (comp.lang.python)