The following document includes information and notes required for using the CallAPIA programming interface that processes a script in the Automation Engine system. It can be called directly from within the program itself or from a different program. for UNIX.
![]() |
1. |
CallAPI and own program |
---|
The AE CallAPI can be called from your own programs. This requires sound knowledge of the programming language in which this program is written.
The program UCXBXXXC.c is available as C source code. The corresponding structure definitions are stored in the file UCCALL3.h. These files as well as the Makefile for compiling the example are available in the directory /src. Update the example with your data. Adjust the Makefile MAKEFILE_EXAMPLE.??? to your environmentAn Environment consists of Deployment Targets which represent your endpoints. Different environments are used for different phases in the software delivery cycle, for example Development, QA, Staging, Production. An environment is typically set up once and used by several applications.. Rename it MAKEFILE as otherwise it might be overwritten with the next update. It can then be called with make because MAKEFILE is the default name. In doing so, you generate an EXE file and test the CallAPI.
![]() |
2. |
CallAPI and utility |
---|
The utility UCXB???C is supplied with AE. It may either be called from the command line or an executable file.
AE Script is used to define processing steps which are assigned as default input when the program is called: The entry < file name reads the AE Script from the corresponding file. The entry <<EOF_SCRIPT reads the AE scriptA particular Automation Engine object type. from the command line until the text "EOF_SCRIPT" is recognized.
In the first example, the utility is called with the AE Script being read from the file SCRIPT.TXT. Connection and loginAn Automation Engine object type that stores account credentials used by agents on target systems. specifications are read from the INI file.
./UCXBUI5C SCRIPT=./script.txt
See also:
About the CallAPI
Using the CallAPI
Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support |
Copyright © 2016 Automic Software GmbH |