GetIntJobID();Returns the internal ID of the current job. This function is usually called from an After Process script. See also GetExtJobID, GetJobStatus, SetExtJobId.
Example 58 //Get the external ID of the current job
//and send the ID to the log$jobid = getextjobid();
log (1, $jobid);//Get the status of the current job. If an error has occurred,
//send an error message to the log.$jobstatus = getjobstatus();if ($jobstatus = "0")log (1, "An error has occurred");//Get the internal ID of the current job
//and send it to the log.$intjobid = getintjobid();log(1, $intjobid);The external ID of the current job is written to the log with the log level of 1. If the job was not completed successfully, an error message is written to the log. Finally, the internal ID of the current job is written to the log.
Example 59 $intjobid = " " + Str (GetIntJobID());Log (9, ">> IntJobID =" + $intjobid + " : Time = " + gettime());>> IntJobID = 10 : Time = 090807
OpenText StreamServe 5.6 | Updated: 2013-03-01 |