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
myukassign
Premium Member
Posts: 238 Joined: Fri Jul 25, 2008 8:55 am
Post
by myukassign » Mon Nov 24, 2008 5:01 am
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 » Mon Nov 24, 2008 8:12 am
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
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Mon Nov 24, 2008 8:18 am
It usually helps to explain what "not working" means.
-craig
"You can never have too many knives" -- Logan Nine Fingers
myukassign
Premium Member
Posts: 238 Joined: Fri Jul 25, 2008 8:55 am
Post
by myukassign » Wed Nov 26, 2008 6:52 am
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