Inermediate link in join stage
Posted: Mon Feb 14, 2005 4:50 am
I need to join three files together to get the desired file. currently i am doing this by doing a join twice like
File B File C
| |
| |
File A ---> Join-----> Join ---->Output File
both the joins are Left Outer. I need some fields from each file.
While going through the documentation of DataStage PX I read about the Intermediate Links and tried to use them. but the problem that i faced was that only those fields from input can be used to derive output file's fields, which are keys.
However this is not the case in my job. i have to derive several output file fields from input file fields which are not part of the key.
How an i use intermediate links in join stage. Is there any way i can use a single join stage to do this or i will have to stick with multiple joins.
Thanks in Advance
P.S. Data is very huge and Lookup stage cant be used.
File B File C
| |
| |
File A ---> Join-----> Join ---->Output File
both the joins are Left Outer. I need some fields from each file.
While going through the documentation of DataStage PX I read about the Intermediate Links and tried to use them. but the problem that i faced was that only those fields from input can be used to derive output file's fields, which are keys.
However this is not the case in my job. i have to derive several output file fields from input file fields which are not part of the key.
How an i use intermediate links in join stage. Is there any way i can use a single join stage to do this or i will have to stick with multiple joins.
Thanks in Advance
P.S. Data is very huge and Lookup stage cant be used.