3.2.1 FML32 Fields in Use for TuxJES Job Operation

All TuxJES job related fields are defined at $JESDIR/udataobj/jesflds. The corresponding header file is at $JESDIR/include/jesflds.h. The following table illustrates the fields used in job operation.

Table 3-13 FML32 Fields in Use for TuxJES Job Operation

Field Name Type Description
JES2_JOB_ID STRING The job ID generated by TuxJES job management if a job is successfully submitted to the system. The range is [1-99999999].
JES2_JOB_NAME STRING The job name given to this job. It is supplied by users in the shell script.
JES2_JOB_CLASS STRING The job class.
JES2_JOB_PRTY SHORT The job priority ranged in [0-15].
JES2_JOB_TYPRUN STRING The job type. It is supplied by users for job submission in the shell script.
JES2_JOB_SCRIPT STRING The ksh job script name. It can be in the format of absolute path or relative path. The later case will be extended from current working directory.
JES2_JOB_EJROPTION STRING The options passed to EJR itself.
JES2_JOB_OWNER STRING STRING The job owner. It is supplied when a job is submitted and returned by server to query job information.
JES2_JOB_SUBMITTIME LONG The submitted timestamp of a job. It is the seconds since Epoch time.
JES2_JOB_STATUS STRING The job status returned by server.
JES2_JOB_ERROR STRING If the operation encounters some errors, the field carries the information.
JES2_JOB_MSG STRING It carries error information for particular jobs. Unlike JES2_JOB_ERROR, JES2_JOB_MSG carries general failure information.
JES2_JOB_CURRENT STRING The current step of a job.
JES2_JOB_ENDTIME LONG The timestamp of a terminated job. It is seconds since Epoch time.
JES2_JOB_EXECTIME LONG The timestamp of an executing job. It is seconds since Epoch time.
JES2_JOB_EXECMAC STRING The host for the running job.
JES2_JOB_USRSEC LONG The user-level CPU time in seconds.
JES2_JOB_USRUSEC LONG The user-level CPU time for the microseconds portion in one second.
JES2_JOB_SYSSEC LONG The system-level CPU time in seconds.
JES2_JOB_SYSUSEC LONG The system-level CPU time for the microseconds portion in one second.

To use the above fields, you must include header file $JESDIR/include/jesflds.h in your source code, and use Tuxedo FML32 APIs to manipulate the FML32 buffer of input and output. For more information, please refer to Oracle Tuxedo Distributed Application Programming.