Status code = -2 DSJE_BADSTATE

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
MURALI123
Participant
Posts: 46
Joined: Sun Jun 21, 2009 1:37 am
Location: CHENNAI

Status code = -2 DSJE_BADSTATE

Post by MURALI123 »

Hi All,

while running datastage job in Afterjob Subroutine will call the that
particular datastage job.
i used the commandline to run the dsrun command.After that i am
getting the below Error
can anybody suggest me how can we reslove that.
Error message:
A problem was encountered while running writejobparameters.
Error running job
Status code = -2 DSJE_BADSTATE

Regards,
Murali
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Either not compiled or already running, usually. I personally think running anothe job 'after job' is not a very good idea, but that's just me.
-craig

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