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 GCOS8.
![]() |
1. |
CallAPI and own Program |
---|
The AE CallAPI may be called from your own programs. This requires sound knowledge of the programming language in which this program was written.
The program ucxbxxxc.c is available as C source code. The corresponding structure definition is stored in the file uccall3.h. Update the example with your data and adjust the JCL files 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.. In doing so, you create an RU and test the CallAPI.
![]() |
1. |
CallAPI and Utility |
---|
The CD we supply includes the utility ucxbgc8c which may be called from a jobAn Automation Engine object type for a process that runs on a target system..
The processing steps defined with AE Script are read from the standard input. The INI and scriptA particular Automation Engine object type. files may also be defined using file code.
In the first example, the CallAPI for GCOS8 is called.
$$dismiss
$ ident uc4
$ run rufile=uc4/callapi/exec/ucxbgc8c,
$ etc runame=ucxbgc8c
$ privity
$ limits 9999,,,50k
$ dmpopt savdmp=(mini)
$ data cz
$ ascii
ucxbgc8c ini=uc4/callapi/data/ucxbgc8ci \
script=uc4/callapi/data/script
$ endjob
In the second example, the CallAPI is called with the INI and script files being defined with file code.
$$dismiss
$ ident uc4
$ run rufile=uc4/callapi/exec/ucxbgc8c,
$ etc runame=ucxbgc8c
$ privity
$ limits 9999,,,50k
$ dmpopt savdmp=(mini)
$ data cz
$ ascii
$ prmfl SC,r,s,uc4/callapi/data/script
$ prmfl IN,r,s,uc4/callapi/data/ucxbgc8ci
ucxbgc8c ini=fc*IN script=fc*SC
$ endjob
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 |