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

book

Article ID: 50253

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) CA Workload Automation Agent

Issue/Introduction

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.

Environment

Release: ATSAGE99000-11.3-Workload Automation AE-Remote Agent
Component: