How to capture no of rows processed on link in parallel job
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 19
- Joined: Tue Jun 26, 2012 11:14 am
- Location: Houston
How to capture no of rows processed on link in parallel job
Hello all,
I had trouble calculating no of rows processed on a link in a parallel job . i searched the forum and could not find any solution.I see that that there is a DSGetLinkInfo() function in server job . Is there any function for parallel jobs ??
Thanks in advance for your response
Regards
Prem
I had trouble calculating no of rows processed on a link in a parallel job . i searched the forum and could not find any solution.I see that that there is a DSGetLinkInfo() function in server job . Is there any function for parallel jobs ??
Thanks in advance for your response
Regards
Prem
-
- Premium Member
- Posts: 536
- Joined: Thu Oct 11, 2007 1:48 am
- Location: Bangalore
Hi,
You can write a server routine and you can call that routine in parallel jobs in two ways:-
1. Call routine in job sequence and pass rowcount as a job parameter.
2.In parallel job you can call basic transformer stage and call the routine.
Its very simple routine,just you need to pass stage name and link name to that function.let me know in case you need routine handy.
You can write a server routine and you can call that routine in parallel jobs in two ways:-
1. Call routine in job sequence and pass rowcount as a job parameter.
2.In parallel job you can call basic transformer stage and call the routine.
Its very simple routine,just you need to pass stage name and link name to that function.let me know in case you need routine handy.
Thanks
Prasoon
ETL Consultant
LinkedIn :- http://www.linkedin.com/profile/view?id ... ab_pro_top
Blog:- http://dsshar.blogspot.com/
Prasoon
ETL Consultant
LinkedIn :- http://www.linkedin.com/profile/view?id ... ab_pro_top
Blog:- http://dsshar.blogspot.com/
-
- Participant
- Posts: 19
- Joined: Tue Jun 26, 2012 11:14 am
- Location: Houston
-
- Premium Member
- Posts: 536
- Joined: Thu Oct 11, 2007 1:48 am
- Location: Bangalore
Hi,
You need to write a server routine,I am replying from mobile so I can't write whole routine but function will look like thts:-
RowInputCount - DSGetLinkInfo(DSJ.ME,"stage name","link name",DSJ.LINKROWCOUNT)
ANS - RowInputCount
You can search any basic routine and frame it in that.
You need to write a server routine,I am replying from mobile so I can't write whole routine but function will look like thts:-
RowInputCount - DSGetLinkInfo(DSJ.ME,"stage name","link name",DSJ.LINKROWCOUNT)
ANS - RowInputCount
You can search any basic routine and frame it in that.
Thanks
Prasoon
ETL Consultant
LinkedIn :- http://www.linkedin.com/profile/view?id ... ab_pro_top
Blog:- http://dsshar.blogspot.com/
Prasoon
ETL Consultant
LinkedIn :- http://www.linkedin.com/profile/view?id ... ab_pro_top
Blog:- http://dsshar.blogspot.com/
-
- Participant
- Posts: 19
- Joined: Tue Jun 26, 2012 11:14 am
- Location: Houston
-
- Participant
- Posts: 19
- Joined: Tue Jun 26, 2012 11:14 am
- Location: Houston
Be aware that coding it with DSJ.ME as the job handle means it can only check the links in the job that called it. And that means you'd need to call this routine 'after job' in every job that you wanted to monitor. I prefer a 'post' process, something that you can run after your loads are complete that interogates all of the jobs from the run and gathers up all of the statistics needed at one time. That separation means your loads are not interrupted or hung up by a failure to collect the job statistics.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 3593
- Joined: Thu Jan 23, 2003 5:25 pm
- Location: Australia, Melbourne
- Contact:
You are wasting your time, IBM have built this functionality into Information Server 8.7 and 9.1 via the Operations Console. All job and link row counts are loaded into the operations console and can be queried like normal database tables - you can point Cognos or whatever BI tool you use at it and report and, aggregate on row counts.
Certus Solutions
Blog: Tooling Around in the InfoSphere
Twitter: @vmcburney
LinkedIn:Vincent McBurney LinkedIn
Blog: Tooling Around in the InfoSphere
Twitter: @vmcburney
LinkedIn:Vincent McBurney LinkedIn
-
- Premium Member
- Posts: 536
- Joined: Thu Oct 11, 2007 1:48 am
- Location: Bangalore
Hi,vmcburney wrote:You are wasting your time, IBM have built this functionality into Information Server 8.7 and 9.1 via the Operations Console. All job and link row counts are loaded into the operations console and can be queried like normal database tables - you can point Cognos or whatever BI tool you use at it and report and, aggregate on row counts.
This seems to be interesting information.I just loggedin to Operation Console and tried to check the rowcount,but there i saw rows/second enformation is logged.
It will be very helpful if you can let us know which table we need to query to get linkrowcount of particular job..?
Thanks
Prasoon
ETL Consultant
LinkedIn :- http://www.linkedin.com/profile/view?id ... ab_pro_top
Blog:- http://dsshar.blogspot.com/
Prasoon
ETL Consultant
LinkedIn :- http://www.linkedin.com/profile/view?id ... ab_pro_top
Blog:- http://dsshar.blogspot.com/
-
- Participant
- Posts: 19
- Joined: Tue Jun 26, 2012 11:14 am
- Location: Houston
-
- Participant
- Posts: 19
- Joined: Tue Jun 26, 2012 11:14 am
- Location: Houston
-
- Participant
- Posts: 19
- Joined: Tue Jun 26, 2012 11:14 am
- Location: Houston