Table of Contents

[ Up To IFD Client][ Prior Topic - Installation ]

IFD Client

iSeries Command

The ESNDDTAQ API command is used to send PDF file path to data queue which is being listened to by client programs. The command has the parameters as below:

The ESNDDTAQ command parameters:

For example, open PDF file /home/user/myfile.pdf to user USER01 in certain Window machine:

ESNDDTAQ KEY(USER01) DATA(‘/home/user/myfile.pdf’) DATAQ(QGPL/IFDCLIENT)

Windows Program

The client program is a .JAR file developed in Java language to connect to iSeries and monitor a data queue by a unique key for PDF file. Once the data in data queue is found, client program will download the PDF file to temporary folder in Windows and invoke the PDF reader (configured in parameter) to show PDF file on the Window machine.

The compressed file contains 2 files:

The program can be started in 2 modes: with and without user interface (UI).

UI mode

User can execute file ifdclient.bat, at the first time when program is executed, a dialog is shown as below:

As seen on the black screen behind the logon screen that it searched for an existing PDF reader in your computer. The user can modify the search and the associated parameters by clicking to button Settings.

When user clicks OK, a folder named IFDClient is created into C:\Program Files (x86)\inFORM Decisions\IFDClient (or your Program Files folder), and this folder contains 2 files:

Non-UI mode

IFDCLIENT.JAR is started with the following parameters:

Pass them as parameters into the java command, for example:

  C:\>java -jar ifdclient.jar -server 172.16.1.54 -logonuser my_user -logonpassword my_password -user USER01 

Notes:
Please remember that if the .JAR program is setup as a Window service then when PDF is sent from server, the PDF reader may open it into session 0 which is invisible to current logon user of Window.