defjob

The defjob utility imports job processing definitions directly into the Control-M/EM database. To import the job using the defjob utility, see Importing jobs into existing folders using the defjob utility.

The defjob utility reads job processing definitions from a plain text input file written in XML format, see defjob XML file rules.

Each job processing definition in the Control-M/EM database has a JOBISN field that contains a job ID number. JOBISN is the JOB_ID field in the def_job folder. Many jobs can have the same JOBISN number. However, the JOBISN number is unique in each Folder. Use Control-M client Monitoring Domain to determine the job ID. Select the job in the Monitoring domain to see jobs IDs.

If a job that is being imported contains a JOBISN number that already exists in the Control-M/EM database, defjob overwrites the existing job processing definition with the new job processing definition. If a JOBISN value is not specified, defjob imports the job processing definition into the database as a new job.

Parent Topic

emdef utility for jobs