Processing in input data in batch wise

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
monaz
Participant
Posts: 98
Joined: Sat Aug 23, 2008 3:14 am

Processing in input data in batch wise

Post by monaz »

Hi Have a requirement in which i need to proceess the input records based onbatches of 100,000 records to the final output file.. This requirement is because to resolve performance issue..

Please suggest..

As it has 15month's old record so we extracting all the transaction records and limiting in the final output file to process 100,000 records per day
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Do you mean that you wish to process your input in batches of 100,000 or that you wish to parcel out your output to files limited to 100,000 lines each? If you create one output file you could use the UNIX command "split" to effect that.
Last edited by ArndW on Wed Jul 15, 2009 5:25 am, edited 1 time in total.
monaz
Participant
Posts: 98
Joined: Sat Aug 23, 2008 3:14 am

Post by monaz »

ArndW wrote:Do you mean that you wish to process your input in batches of 100,000 or that you wish to parcle out your output to files limited to 100,000 lines each? If you create one output file you could use th ...
Thanks for the quick response.

i mean i wish to process your input in batches of 100,000. Could you please help me out in achieving this task
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

I assume your input file is bigger than 100,000 rows. Isn't doing several runs, each processing 100,000 [different] rows to separate output files the same as doing one run and then splitting the output into chunks of 100,000? The latter would be so much easier and less susceptible to errors.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Monaz, please - why are you starting over again on the same subject as your previous post? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply