User Tools

Site Tools


pub:ifdcinstructions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pub:ifdcinstructions [2018/03/19 18:44] kenpub:ifdcinstructions [2022/06/25 17:02] (current) – external edit 127.0.0.1
Line 2: Line 2:
  
 ===== IFD Client ===== ===== 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 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:
Line 7: Line 9:
  
  
-The ESNDDTAQ command has 3 parameters:+The ESNDDTAQ command parameters:
   * **Key**: A unique key defined by user. Each Window client should have a unique key for it to differentiate with other clients. This value can be user ID of that machine or PC ID      * **Key**: A unique key defined by user. Each Window client should have a unique key for it to differentiate with other clients. This value can be user ID of that machine or PC ID   
   * **Data**: This field contains the IFS qualified path of PDF file that server wants to open on client machine   * **Data**: This field contains the IFS qualified path of PDF file that server wants to open on client machine
-  * **Data Queue**: The data queue is used to communicate between server and client. This data queue is monitored by client programs.+  * **Data Queue**: The data queue is used to communicate between server and client. This data queue is monitored by client programs.   
        
-For example, open PDF file /home/user/myfile.pdf to user USER01 in certain Window machine:\\+For example, open PDF file /home/user/myfile.pdf to user USER01 in certain Window machine: 
 +<html><pre>
 ESNDDTAQ KEY(USER01) DATA(‘/home/user/myfile.pdf’) DATAQ(QGPL/IFDCLIENT) ESNDDTAQ KEY(USER01) DATA(‘/home/user/myfile.pdf’) DATAQ(QGPL/IFDCLIENT)
 +</pre></html>  
 +==== 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 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.
  
Line 21: Line 26:
   * **IFDCLIENT.BAT**: contains the MS-DOS batch commands to invoke IFDCLIENT.JAR program.    * **IFDCLIENT.BAT**: contains the MS-DOS batch commands to invoke IFDCLIENT.JAR program. 
  
-The program can be started in 2 modes: with and without user interface (UI).+The program can be started in __2 modes__: with and without user interface (UI).
  
   * **In UI mode**: a logon dialog will be prompting to input the IBM i credential and other configuration.   * **In UI mode**: a logon dialog will be prompting to input the IBM i credential and other configuration.
Line 28: Line 33:
 ==== UI mode ==== ==== UI mode ====
  
-User can execute file ifdclient.bat, at the first time when program is executed, a dialog is shown as below:+User can execute file **ifdclient.bat**, at the first time when program is executed, a dialog is shown as below:
 {{:pub:ifdc:ifdc002.jpg?600|}} \\ {{:pub:ifdc:ifdc002.jpg?600|}} \\
  
  
-Notice that the black screen behind the logon screenit searched for an existing PDF reader in your computer. User can also modify it and more parameter by clicking to button **Settings**. \\+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**. \\
  
 {{:pub:ifdc:ifdc003.jpg?600|}} {{:pub:ifdc:ifdc003.jpg?600|}}
  
  
-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:+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:
  
   * **ifdclient.cfg**: save the program’s configuration   * **ifdclient.cfg**: save the program’s configuration
Line 56: Line 61:
   * **pdfreadername**: Optional. Contains the PDF reader name. If this parameter is ignored, AcroRd32.exe is used.   * **pdfreadername**: Optional. Contains the PDF reader name. If this parameter is ignored, AcroRd32.exe is used.
  
-Pass them as parameters into **java** command, for example:+Pass them as parameters into the **java** command, for example:
 <html><pre> <html><pre>
   C:\>java -jar ifdclient.jar -server 172.16.1.54 -logonuser my_user -logonpassword my_password -user USER01    C:\>java -jar ifdclient.jar -server 172.16.1.54 -logonuser my_user -logonpassword my_password -user USER01 
pub/ifdcinstructions.1521510250.txt.gz · Last modified: 2022/06/25 17:02 (external edit)