Rules for Processing Each Data Record (When Adding or Changing)
If a job definition exists for the job name, that definition is used; otherwise, a new job definition is created.
If the report identifier exists in the job definition, its entry in the job definition is used. The data fields in the entry for which parameters were specified on the /JOBDEF control statement are set to the values from the data record; the data fields for which no parameters were specified on the /JOBDEF control statement remain unchanged.
If the report identifier exists for a different job definition, an error message is issued and the data record is skipped.
If the report identifier does not exist, an entry for it is added. If parameter INSERT is specified and exists in the definition, the new entry is inserted immediately after the entry; if parameter INSERT is specified and has a blank value, the new entry is inserted as the first entry in the job definition.
A report definition is added or modified as necessary.