CA-7 Cross-Platform Scheduling Jobs to Autosys, getting error : Error CAUAJM_E_40231 Could not find job in the database

Document ID : KB000050253
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

AutoSys with CA-7 Cross-Platform Scheduling. When CA-7 submits a job to AutoSys, it fails with following error messages:

CAUAJM_I_40263 EVENTU: SUBMITU                           JOB: job-name[ABCD]        
CAUAJM_E_40231 Could not find job in the database        JOB: /exploit/autosys/pr1/scripts/integ/testinstallOK.pl 
CAUAJM_I_40276 STATUS: FAILURE      EVENTU: JOBFAILU     JOB: job-name[ABCD]

The /exploit/autosys/pr1/scripts/integ/testinstallOK.pl is present on AutoSys environment.

Solution:

The solution is to create a job in AutoSys as in the following example:

insert_job: autosys-jobname        
job_type: c 
command: /exploit/autosys/pr1/scripts/integ/testinstallOK.pl
machine: autosys-agent-machine

On CA-7 side, in file "CA7TOUNI", we need to define the Autoys job like that:

Jobname=CA7-jobname        
subfile=autosys-jobname 
subuser=autosys-username
subpass=autosys-password

Note: You can use the same name for "autosys-jobname" as the "CA7-jobname" for easier approach.