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)
Thank you
Post Reply