Sequence Run Job Error : code = -99

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
atan003
Participant
Posts: 14
Joined: Mon Nov 13, 2006 12:55 am

Sequence Run Job Error : code = -99

Post by atan003 »

There have an error in sequence:
Exception raised: @job1, Error calling DSRunJob(job1), code=-99 [General repository interface 'other error']

Can you help me?
Last edited by atan003 on Mon Dec 04, 2006 4:14 am, edited 1 time in total.
rachitha
Participant
Posts: 30
Joined: Wed Jun 28, 2006 10:53 am

hi

Post by rachitha »

Hi,

First check whether job1 is existing,
Second check whether you have given correct job properties in respective job activity.

Thank You,
Rachitha.
atan003
Participant
Posts: 14
Joined: Mon Nov 13, 2006 12:55 am

I run it OK at the first time, and failed when I run it agai

Post by atan003 »

I run it OK at the first time, and failed when I run it again.

when it run failed, I recompiled the job again, then try again, but it is failed.
srinagesh
Participant
Posts: 125
Joined: Mon Jul 25, 2005 7:03 am

Post by srinagesh »

Did you try running Job1 directly (without calling in sequencer)?
Simplicity is the ultimate sophistication
rachitha
Participant
Posts: 30
Joined: Wed Jun 28, 2006 10:53 am

Post by rachitha »

Try for this

write a routine

$INCLUDE DSINCLUDE JOBCONTROL.H
JobHandle = DSAttachJob(Arg1,DSJ.ERRFATAL)
Ans = JobHandle

run this by giving Arg1 as the job name (job1)
If it returns 0 then there is some problem with the job.

Thank you ,
Rachitha.
Post Reply