Hi,
I need to generate columns at runtime of job.
job flow like
Seqfile--->TX---->SeqFile
here is my input.
I/p
column1:
ROW1--> aaaa/bbbb/cccc/dddd
ROW2--> eeee/ffff/gggg/hhhh
O/P shoul be
COLUMN1 COLUMN2 COLUMN3 COLUMN4
aaaa bbbb cccc dddd
eeee ffff gggg hhhh
there is no consistancy in delimited fields.
I appreciate for your quick response
kris.
Generate new column at runtime
Moderators: chulett, rschirm, roy
Re: Generate new column at runtime
What does this mean?krishna81 wrote:there is no consistency in delimited fields.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
DS 8X
For example
in the inputfile we have 6 delimited fields in column1
and at second run
in the inputfile we have 5 delimited fields in column1
and at 3rd run
inputfile we have 7 delimited fields in column1.
the expected out put must be
the Outputfile should create whith 6 columns(where each delimited field goes to each column)
and at second run
the Outputfile should create whith 5 columns(where each delimited field goes to each column)
and at 3rd run
the Outputfile should create whith 7 columns(where each delimited field goes to each column)
executing one datastage Job to process these different files.
in the inputfile we have 6 delimited fields in column1
and at second run
in the inputfile we have 5 delimited fields in column1
and at 3rd run
inputfile we have 7 delimited fields in column1.
the expected out put must be
the Outputfile should create whith 6 columns(where each delimited field goes to each column)
and at second run
the Outputfile should create whith 5 columns(where each delimited field goes to each column)
and at 3rd run
the Outputfile should create whith 7 columns(where each delimited field goes to each column)
executing one datastage Job to process these different files.
-
- Premium Member
- Posts: 112
- Joined: Mon Jul 11, 2005 7:54 am
Hi,
Please check the below link,its not the exact requirement but can help you to think more on the same line,hope it helps !.
http://dsxchange.com/viewtopic.php?t=96 ... c63ff43e05
Please check the below link,its not the exact requirement but can help you to think more on the same line,hope it helps !.
http://dsxchange.com/viewtopic.php?t=96 ... c63ff43e05