DSjob error

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
myukassign
Premium Member
Premium Member
Posts: 238
Joined: Fri Jul 25, 2008 8:55 am

DSjob error

Post by myukassign »

I have a requirement to get all the logs of my last execution of the job using command line.

dsjob -logdetail DEV Validation -wave -1 (Not working)


dsjob -logdetail DEV Validation 805 806 (Working)


Any idea why the fist one is not working. I cannot use the second one as I am not able to determine the first and last event id of the last execution of the job.

Any help plzz?
Pierre
Participant
Posts: 66
Joined: Thu May 24, 2007 7:16 am
Location: Paris

Post by Pierre »

Maybe your logs are auto-purged after 1 job run ?

-wave -0 gives you the result of the last run.

Pierre.
Felix qui potuit rerum cognoscere causas. Virgile (Géorgiques).
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

It usually helps to explain what "not working" means. :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
myukassign
Premium Member
Premium Member
Posts: 238
Joined: Fri Jul 25, 2008 8:55 am

Post by myukassign »

This is the error message I am getting

dsjob -logdetail DEV Validation -wave -0

Error -4 getting details for event 0

Status code = -4 DSJE_BADVALUE
Post Reply