I have installed DS Server on windows.
I need to get the following infomation about Job:
No. of rows processed
No. of rows affected
No. of rows rejected
Could you please tell which function or logic I need to implement to get this information.
Thanks in advance.
Need Datastage Job Log information
Moderators: chulett, rschirm, roy
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
No. of rows processed is captured automatically, and is logged in the "active stage finishing" event in the job log, is viewable using the monitor, and can be captured with DataStage API functions (which includes the dsjob command line interface).
No. of rows affected is something you'll need to ask your database server about - it's not a piece of information DataStage records. DataStage will only tell you how many rows it sent to the database server.
No. of rows rejected may or may not be accurately reported, depending on the array size setting you choose. If you choose an array size of 1, then it will be accurate, and regular reject handling will capture the rejected rows, enabling you to send them somewhere else and, yes, to count the rows passing along that link.
No. of rows affected is something you'll need to ask your database server about - it's not a piece of information DataStage records. DataStage will only tell you how many rows it sent to the database server.
No. of rows rejected may or may not be accurately reported, depending on the array size setting you choose. If you choose an array size of 1, then it will be accurate, and regular reject handling will capture the rejected rows, enabling you to send them somewhere else and, yes, to count the rows passing along that link.
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.
Job Log Info : No of Records Processed, Rejected.
Can you please tell me the specific API function as i have tried out but couldn't find out any.
Thanks in advance.
Thanks in advance.
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: