User Tools

Site Tools


pub:ifdcinstructions

This is an old revision of the document!


[ Up to Main Menu ][ Prior Topic - Installation ]

IFD Client

                    Send data to keyed data queue (ESNDDTAQ)           
                                                                       
 Type choices, press Enter.                                            
                                                                       
 Key value  . . . . . . . . . . .                                      
                                                                       
 Data value . . . . . . . . . . .                                   
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
 Data Queue . . . . . . . . . . .   IFDCLIENT     Name                 
   Library  . . . . . . . . . . .     QGPL        Name, *CURLIB, *LIBL 
                                                                       
                                  

The ESNDDTAQ command has 3 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
  • 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.

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 PDF reader (configured in parameter) to show PDF file on Window machine

The compressed file contains 2 files:

  • IFDCLIENT.JAR: the JAR file that will be monitoring data queue on iSeries for PDF file
  • IFDCLIENT.BAT: contains the MS-DOS batch commands to invoke IFDCLIENT.JAR program.

IFDCLIENT.JAR is started with the following parameters:

  • print: print the parameters
  • help: print the parameters
  • server: Mandatory. IP address of host name of iSeries
  • logonuser: Mandatory. the iSeries user ID that is used to connect to server
  • logonpassword: Mandatory. iSeries password of user ID in parameter logonuser
  • dataqueue: Optional. qualified name of data queue that JAR program will monitor. The format of data queue name is <10 characters of data queue name><10 characters of data queue library name>, for example: ‘IFDCLIENT QGPL’. If this parameter is ignored, the data queue IFDCLIENT in QGPL is used.
  • user: Optional. The key that JAR program is used to fetch data from data queue. If this parameter is ignored, the current user ID of Window machine is used.
  • multifiles: yes or no. Optional. Default value is yes. If it’s yes, then the PDF reader will open next PDF in data queue entry after the PDF file being opened is closed. If it’s no then the PDF reader continues to open the PDF files those are pushed into data queue.
  • pdfreaderdir: Optional. Put the Window folder path of PDF reader into this parameter. If this parameter is ignored, the program will search it from Program Files folder in Windows.
  • pdfreadername: Optional. Contains the PDF reader name. If this parameter is ignored, AcroRd32.exe is used.
pub/ifdcinstructions.1518543911.txt.gz · Last modified: 2022/06/25 17:02 (external edit)