Hi All,
Can i have a sequential stage with multiple input links ?
Can are OCI stage have multiple input links to the same table with different update options for each link .
Please clarify me,
Thank you all,
sequential stage with multiple input links
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 614
- Joined: Fri Feb 06, 2004 3:59 pm
-
- Premium Member
- Posts: 614
- Joined: Fri Feb 06, 2004 3:59 pm
-
- Premium Member
- Posts: 614
- Joined: Fri Feb 06, 2004 3:59 pm
Yes, offcourse you can have different metadata for each file you are writing to even though you are using one sequential stage. It's exactly same as we write to a database with multiple links. You need to select the proper input name in the drop down list and load the corresponding metadata.
About the advantages, well when we write to a table in a database, (say for example, SQL server), using a single stage avoids locks.
But in sequential file stage I don't see any other advantage rather than have less number of stages on the designer board.
About the advantages, well when we write to a table in a database, (say for example, SQL server), using a single stage avoids locks.
But in sequential file stage I don't see any other advantage rather than have less number of stages on the designer board.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
In older releases of DataStage, the directory was a stage property and only the file entry name was a link property, so you needed separate Sequential File stages for each separate directory.
This is no longer the case.
Even so I prefer still to use separate Sequential File stages, because I tend to document things thoroughly - so I can put an Annotation beside each where required. "This file contains input records rejected because the Location Code is not on file." Even managers (PHBs) can understand.
This is no longer the case.
Even so I prefer still to use separate Sequential File stages, because I tend to document things thoroughly - so I can put an Annotation beside each where required. "This file contains input records rejected because the Location Code is not on file." Even managers (PHBs) can understand.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.