Sequence status is 99

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

Moderators: chulett, rschirm, roy

SURA
Premium Member
Premium Member
Posts: 1229
Joined: Sat Jul 14, 2007 5:16 am
Location: Sydney

Post by SURA »

chulett wrote:Wait... what? That wasn't directed at you but to everyone else. Or are you saying you are having a problem running the job? I thought the job was running fine, you just didn't think you were getting the proper status return code. :?
Again another mistake ?

Yes job is running fine. I read few line and that looks like issue while run the job!

Thats why i give the other comment for which you replied. When read your comment i thought i missed the point.


I am good, Job is running fine and not able to get the full real status. As Ray said 99 is also true but that wasnt i expect.
Thanks
Ram
----------------------------------
Revealing your ignorance is fine, because you get a chance to learn.
Thomas.B
Participant
Posts: 63
Joined: Thu Apr 09, 2015 6:40 am
Location: France - Nantes

Post by Thomas.B »

SURA wrote:Yes passing the job name. invocation id
That's strange, i just try :

Code: Select all

hJob = DSAttachJob('Jx_001_JobControl', DSJ.ERRFATAL)
Status  = DSGetJobInfo(hJob, DSJ.JOBSTATUS)
Here Statuts = 99

Then i try :

Code: Select all

hJob = DSAttachJob('Jx_001_JobControl.L_01', DSJ.ERRFATAL)
Status  = DSGetJobInfo(hJob, DSJ.JOBSTATUS)
And here Statuts = 1

Can you check the value of JobName with that line ?

Code: Select all

Call DSLogInfo("The JobName value is : ":JobName,ProgramName)
BI Consultant
DSXConsult
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What happens if you specify DSJ.JOBINTERIMSTATUS in the call to DSGetJobInfo() ?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
SURA
Premium Member
Premium Member
Posts: 1229
Joined: Sat Jul 14, 2007 5:16 am
Location: Sydney

Post by SURA »

Thanks guys for your time.

Let me play today and come back with log.
Thanks
Ram
----------------------------------
Revealing your ignorance is fine, because you get a chance to learn.
Post Reply