Not able to Fetch latest log for Multi instance job

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
skp
Premium Member
Premium Member
Posts: 135
Joined: Wed Dec 26, 2007 1:56 am
Location: India

Not able to Fetch latest log for Multi instance job

Post by skp »

Hi All,

I am writing command (dsjob -lognewest <ProjectName> <DSJobName>.<InvocationID>) to get the latest log but when I trigger multiple jobs in parallel, log is extracting from main job not from the invocation job. Can you suggest what needs to be changed here.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Can you give us an example of what log entries you want versus what log entries you receive and the actual syntax you used? I could almost read into your question that sometimes it works and sometimes it doesn't but guessing that's not the case.

And just to be anal, there's only one job log, the one for the 'main' job that all records get written to. Pulling out only the ones for a particular invocation id is much like a view on a database table with "invocation id = XXX" in the WHERE clause.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply