Application Integration Guide > CallAPI > Platforms for CallAPIs > CallAPI for UNIX

 CallAPI for UNIX

The following document includes information and notes required for using the CallAPI 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 environment. 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 script from the command line until the text "EOF_SCRIPT" is recognized.

Example

In the first example, the utility is called with the AE Script being read from the file SCRIPT.TXT. Connection and login specifications are read from the INI file.

./UCXBUI5C SCRIPT=./script.txt

See also:

About the CallAPI
Using the CallAPI