|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
November 2010 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Installing the uniPaaS API Interface Environment |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
We are
proud to present the new uniPaaS API Interface library for uniPaaS Version
1.5 SP1. 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 should not 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')
The MGCALL program supports the following
argument formats:
The default timeout of MGRQTOOL is set to 30 seconds. To change the timeout, before executing the MGCALL API, run the
following CL command: ADDENVVAR
ENVVAR(REQUESTERTIMEOUT) VALUE(xx) where XX is the time in seconds.
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) |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
996368 Executing MGCALL asynchronously did
not work correctly. 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 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||