Current TimeStamp as parameter
Posted: Tue Sep 20, 2011 2:34 pm
Hi ,
I need to pass Current Timestamp as a parameter to the DS job .
But i am having problem to execute the below code in Job control of the DS job .
--------------------------------------------------------------------------------------
$INCLUDE DSINCLUDE JOBCONTROL.H
Job_Handle=DSJ.ME
JobName=DSGetJobInfo(Job_Handle,DSJ.JOBNAME)
StartTimeStmp = DSGetJobInfo(Job_Handle,DSJ.JOBSTARTTIMESTAMP)
ErrCode = DSSetParam(Job_Handle,"Maint_Date", StartTimeStmp)
return
--------------------------------------------------------------------------------------
Plz suggest ..
Thanks
I need to pass Current Timestamp as a parameter to the DS job .
But i am having problem to execute the below code in Job control of the DS job .
--------------------------------------------------------------------------------------
$INCLUDE DSINCLUDE JOBCONTROL.H
Job_Handle=DSJ.ME
JobName=DSGetJobInfo(Job_Handle,DSJ.JOBNAME)
StartTimeStmp = DSGetJobInfo(Job_Handle,DSJ.JOBSTARTTIMESTAMP)
ErrCode = DSSetParam(Job_Handle,"Maint_Date", StartTimeStmp)
return
--------------------------------------------------------------------------------------
Plz suggest ..
Thanks