Hi i have to find the record count for the sequential file_1 which is generated by 3 different databases in a single job. by using 2 source as hash and other by source as sybase. And after getting record count from seqentail file1 i should populate in other sequential file field.
And i tried using
1) taking one field of sequential file and using aggregator stage and transformer and populating in other sequentail file2 field
2) used DSGetLinkInfo(hJob, StageName, LinkName, DSJ.LINKROWCOUNT)
but did not what will be stage name in my case.
So please help me on this..
Record count on sequential file
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 106
- Joined: Thu Jun 08, 2006 8:51 am
For (2) use the input link name and stage name of the sequential file stage.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 106
- Joined: Thu Jun 08, 2006 8:51 am
-
- Participant
- Posts: 106
- Joined: Thu Jun 08, 2006 8:51 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Your Aggregator can count, or sum the value 1, and will give a correct result.
Your syntax for DSGetLinkInfo() is correct for getting the link row count, provided that the stage name is that of an active stage to which the link is connected.
Your syntax for DSGetLinkInfo() is correct for getting the link row count, provided that the stage name is that of an active stage to which the link is connected.
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.
-
- Participant
- Posts: 106
- Joined: Thu Jun 08, 2006 8:51 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: