Page 1 of 1

DSJ.JPBLASTTIMESTAMP in Function

Posted: Thu Jun 08, 2006 8:00 am
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

Posted: Thu Jun 08, 2006 8:05 am
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

Posted: Thu Jun 08, 2006 8:19 am
by chulett
Look at the dsapi.h file installed under your DSEngine/include folder.

Posted: Thu Jun 08, 2006 4:00 pm
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"