DSJ.JPBLASTTIMESTAMP in Function

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
tostay2003
Participant
Posts: 97
Joined: Tue Feb 21, 2006 6:45 am

DSJ.JPBLASTTIMESTAMP in Function

Post by tostay2003 »

Hello,

I am getting the return value as -ve. the corresponding job has been run once for sure.

Code: Select all

$INCLUDE DSINCLUDE JOBCONTROL.H


JobHandle=DSAttachJob(JobName,DSJ.ERRWARN)

if JobHandle=0 Then
   Call DSLogFatal("Invalid Job name");
End


Ans=DSGetJobInfo(JobHandle,DSJ.JPBLASTTIMESTAMP)
One more thing, when i use DSJ.JOBSTATUS, it returns some numbers, how do i interpret the status from the numbers.

Thank you
tostay2003
Participant
Posts: 97
Joined: Tue Feb 21, 2006 6:45 am

Post by tostay2003 »

sorry for the trouble. It happens that i used the wrong name

DSJ.JPBLASTTIMESTAMP instead of DSJ.JOBLASTTIMESTAMP

I copied this from the acrobat reader and pasted in the manager. so never occured to me about the spelling mistake. so gotta be careful from next time :lol:

But could u still help me out with the second doubt
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Look at the dsapi.h file installed under your DSEngine/include folder.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Or look in JOBCONTROL.H in your DSINCLUDE subdirectory in the project. Look for entries whose names begin "DSJS." You could even search the forum; this information has been posted in the past.

From the Administrator client execute this command
SH -c "grep DSJS. dsinclude/JOBCONTROL.H"
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply