Encountered error CAUAJM_E_10281 when trying to insert a job, the insert failed.

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

Encountered error CAUAJM_E_10281 when trying to insert a job, the insert failed.

 

Example:

 

 [autosys@host1 ~]$ jil        

 jil>>1> insert_job: testcmd1  

 jil>>2> command: sleep 60  

 jil>>3> machine: test_machine  

 jil>>4> exit  

  _______________________________________________________________________________

 CAUAJM_I_50204 Inserting/Updating Job: testcmd1 

 CAUAJM_E_10281 ERROR for Job: testcmd1 < machine 'test_machine' does not exist> 

 CAUAJM_E_10302 Database Change WAS NOT successful.  

 _______________________________________________________________________________

 CAUAJM_E_50198 Exit Code = 1

 _______________________________________________________________________________

 

Environment:
Product: Workload Automation AE 11.xPlatform: Windows, UNIX, LinuxDatabase: Oracle, Sybase, MS SQL
Answer:

Starting with AutoSys r11, machines must be defined via jil prior to attempting to create a job to run on them.

The exception is "localhost" which defaults to the scheduler host. 

The reason for this is AutoSys r11 can schedule jobs both to AutoSys 4.x machines (legacy) or AutoSys r11 machines.

The communication protocols differ between the two versions.

So as a result, AutoSys must know in advance what type of machine it is being asked to communicate with.

 

Define the machine 1st:

 

 [autosys@host1 ~]$ jil

 jil>>1> insert_machine: test_machine 

 jil>>2> type: r

 jil>>3> exit

 ______________________________________________________________________________

 CAUAJM_I_50232 Inserting/Updating Machine: test_machine

 CAUAJM_I_50205 Database Change WAS Successful!

 ______________________________________________________________________________

 Define the job 2nd:

 [autosys@host1 ~]$ jil

 jil>>1> insert_job: testcmd1

 jil>>2> command: sleep 60

 jil>>3> machine: test_machine

 jil>>4> exit

 ______________________________________________________________________________

 CAUAJM_I_50204 Inserting/Updating Job: testcmd1

 CAUAJM_I_50205 Database Change WAS Successful!

 ______________________________________________________________________________