GetExtJobID();Returns the external ID of the current job. This function is usually called from an After Process script.
Example 56 //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 log level 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 57 $extjobid = " " + GetExtJobID();Log (9, ">> ExtJobID =" + $extjobid + " : Time = " + gettime());>> ExtJobID = SS_SAP-1001 : Time = 090807
OpenText StreamServe 5.6 | Updated: 2013-03-01 |