search cancel

Trying to use the Autosys API


Article ID: 39435


Updated On:


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



We are trying to get the Autosys API working on a server which has the R11.3.5 Autosys client installed on it. 

The Autosys client on Server2 is working fine and is able to communicate with the Application Server on Server1. 

(eg. I can issue chk_auto_up and sendevent commands from the Autosys client on Server2 which are sent to Server1 and the output is returned.) 

Now that we have got the Client on Server2 communicating with the Application Server on Server1, the Applications development team want to be able to interface the Autosys API on Server2 so that they can issue sendevent commands from their application scripts. However, when they run tests, they get timeout errors. 



WAAE R11.3.5 



Problem was related to the encryption type in the config file where the default encryption was being used.

Resolved by setting AsConstants.ENCRYPTION_TYPE_DEFAULT in the API as in the following example :

AsApi api = new AsApi(args[0], Integer.parseInt(args[1]), AsConstants.ENCRYPTION_TYPE_DEFAULT, "");






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