|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
February 2010 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Installing the uniPaaS API Interface Environment |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
We are
proud to present the new uniPaaS API Interface library for uniPaaS Version 1.5SP1. The uniPaaS
API Interface library is provided for uniPaaS v1.5 and V1.8 customers. uniPaaS High Level Language Interface Calling to an uniPaaS Project Example To install the uniPaaS API interface environment: Run the MfObjTrf exe file in order to transfer the product to the system i and install it. The parameters are:
The library name should be 10 characters long, and it shouldn't exist on the target system i Supplied Objects (Top) MGRQTOOL15 Library A MGRQTOOL15 library will be created on your system
i. This library contains the objects described below:
MGRQTOOL15 IFS Directory A MGRQTOOL15 IFS directory will be created on
your system i. This directory contains the objects described below:
System Requirements (Top)
Change the MessagingServer
setting in the Mgreq.ini file, located in the default folder (/mgrqtool15/etc/) to the uniPaaS
Broker TCP/IP address and port. The broker and the engines connected to it can
be from uniPaaS 1.5 or uniPaaS 1.8. Note: If the uniPaaS
Broker is configured in the Windows workstation, make sure to add that Windows workstation TCP/IP
address to the TCP/IP Host Table on system i. Here is a sample command showing how to invoke
a uniPaaS program or iBOLT flow from the system i
program: CALL PGM(MGCALL)
PARM('-APP=IFS' '-PRG=HTTP '-ARGS=AcodeN10') Verifying
API Connectivity (Top)
When a uniPaaS program is executed
successfully, the result data appears. uniPaaS High Level Language Interface (Top) This interface does not support returning a
result file on the IFS because most native system
i programs will usually not require access to IFS
files. The MGCALL program, a component of the uniPaaS Server API Interface
Environment, requires the parameters described below.
The MGCALL program supports the following
argument formats:
Each argument provides the format, length (decimal precision), and actual data.
Calling a uniPaaS Project Example (Top) To call a uniPaaS project named TEST with a
program named HLLTest, prepare a program call as follows:
CALL
PGM(MGRQTOOL15/MGCALL) PARM('TEST'
'HLLTest' &RETCODE 'A' 'C' 20 &A 'D' 15 5 &B_B 'C' 1
&B 'B' 4 &D) |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
QCR 996368 Executing
MGCALL asynchronously did not work correctly. QCR
998932 Calling a Windows broker resulted in the following message in the
job log : "The pointer parameter passed to free or realloc
is not valid"
Thank you, uniPaaS system i team |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||