Row Counts

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
ramudwhelp
Participant
Posts: 24
Joined: Mon Jul 24, 2006 12:30 am

Row Counts

Post by ramudwhelp »

Hi,


Is there any way to capture the how many rows updated,inserted and rejected to the target.Source is CSV file and target is DB2.

Regards,
Ramakrishna.M
Ramakrishna
AmeyJoshi14
Participant
Posts: 334
Joined: Fri Dec 01, 2006 5:17 am
Location: Texas

Post by AmeyJoshi14 »

Yes you can get all this info in DatastageDirector Logs.
You can also get this information through unix by using folloeing command:

dsjob -logsum -type INFO -max 5 PROJECT_NAME JOB_NAME

:)
MOHAMMAD.ISSAQ
Participant
Posts: 78
Joined: Fri Mar 02, 2007 4:54 am
Location: CHENNAI

Post by MOHAMMAD.ISSAQ »

In which directory can i able to run the dsjob command in UNIX.
I tried to run it but it's throwing an error as "command not found"

Please help me out
MOHAMMAD.ISSAQ
Participant
Posts: 78
Joined: Fri Mar 02, 2007 4:54 am
Location: CHENNAI

Post by MOHAMMAD.ISSAQ »

In which directory can i able to run the dsjob command in UNIX.
I tried to run it but it's throwing an error as "command not found"

Please help me out
Govindarajan
Participant
Posts: 24
Joined: Mon Jul 12, 2004 10:16 am

Post by Govindarajan »

You may need to run this program from bin directory. The bin directory location may differ based on the server. e.g /opt/Ascential/DataStage/DSEngine/bin
AmeyJoshi14
Participant
Posts: 334
Joined: Fri Dec 01, 2006 5:17 am
Location: Texas

Post by AmeyJoshi14 »

Hey "dsjob" command is stored in following directory:
/Ascential/DataStage/DSEngine/bin
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You can run it from any directory if you use its full pathname ${DSHOME}/bin/dsjob or if you have ${DSHOME}/bin in your command directory search list (the PATH environment variable).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply