Job API

API Routine: APINJOB
Parameters: UGNLPARM, UJBLJOB

The Job API allows users to display (retrieve) information about a particular job. The following function is valid:

D Display job (Retrieve).

This document covers the following topics:


Local Data Area UJBLJOB

The fields to be passed to the API as the second parameter are in the supplied local data area UJBLJOB. The following is a detailed description of these fields:

Field Name Format Description
JOB A32 Name of the job.
MOD-TIME T Date and time job was last modified.
MOD-BY A8 User who last modified job.
MOD-TID A8 Terminal that last modified job.
ADD-TIME T Date and time job was added.
ADD-BY A8 User who added job.
ADD-TID A8 Terminal that added job.
NOTES A60 (1:3) Comments.
USER-VARIABLES A32 (1:10) User-defined variables from the job.

Job API Return Codes

7250 Job exists.
7251 Job not found.