Multi instance job

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
mallikharjuna
Participant
Posts: 81
Joined: Thu Nov 30, 2006 7:46 am
Location: india

Multi instance job

Post by mallikharjuna »

Hi,

i am using multi instance job.is it possible to check how many records are inserted in table from director?
also please let me know what are the other options to check the records inserted in table without using query.

Thanks in advance
MALLI
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

1. Yes.
2. DSGetLinkInfo() with the DSJ.LINKROWCOUNT InfoType.

Both show the number of insert requests made.
-craig

"You can never have too many knives" -- Logan Nine Fingers
mallikharjuna
Participant
Posts: 81
Joined: Thu Nov 30, 2006 7:46 am
Location: india

Post by mallikharjuna »

Thanks Chulett. I have executed 2 times,i want to find previous execution record count.
MALLI
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

That's a different question... check in the job's log for that run.
-craig

"You can never have too many knives" -- Logan Nine Fingers
mallikharjuna
Participant
Posts: 81
Joined: Thu Nov 30, 2006 7:46 am
Location: india

Post by mallikharjuna »

I have checked ds log for that run. only i am able to see insert query,not able to find the insert record count.
MALLI
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

No way for me to check, seem to recall a summary at the end of the log entries which would have all that.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You have to find the previous run FOR THAT INVOCATION. If there have been many runs with different invocations that particular previous run may already have been purged.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

To add to what Ray has stated, if you do a DSAttachJob() to "MyJob" you will get a handle pointing to information for the last run, if you attach to "MyJob.InvocationName" then you will get information for that invocation.
Post Reply