User Tools

Site Tools


pub:idocsapi

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:idocsapi [2023/05/11 14:15] – [IFDUPSPLF] kkramerpub:idocsapi [2023/07/25 13:08] (current) – [ESENDFILE] kkramer
Line 108: Line 108:
 Charset: UTF-8 is default (F4 for options).\\ Charset: UTF-8 is default (F4 for options).\\
 [Enter] to execute. [Enter] to execute.
 +
 +----
 +
 +===== ESENDFILE =====
 +
 +A new command ESENDFILE is introduced in iDocs 8.00 to send a DB2 file from AS/400 server to a remote AS400 server.
 +<html><pre>
 +                   Send DB2 file to remote server (ESENDFILE)                   
 +                                                                                
 + Type choices, press Enter.                                                     
 +                                                                                
 + Remote hostname  . . . . . . . .   '172.16.1.55'                               
 +                                                                                
 + Username . . . . . . . . . . . .   USER                                        
 +                                                                                
 + Password . . . . . . . . . . . .   password                                    
 +                                                                                
 + iDocs lib name on remote servr     IDOCS800      Character value               
 + DB2 file on source system  . . .   FRMTMULH      Name                          
 +   Library  . . . . . . . . . . .     IDOCS6B     Name, *CURLIB                 
 + DB2 file on remote system  . . .   TESTCSV1      Name                          
 +   Library  . . . . . . . . . . .     USERLIB     Name, *CURLIB                 
 + Overwrite file on remote servr     *NO           *YES, *NO, *YES, *NO          
 + Restore file on remote server  .   *YES          *YES, *NO, *YES, *NO          
 +                                                                                
 +                                                                                
 +                                                                                
 +                                                                         Bottom 
 + F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display    
 + F24=More keys                                                                  
 +                                                                                
 +</pre></html>
 +
 +**Parameters:** \\
 +Remote hostname\\
 +User ID \\
 +Authentication Password \\
 +iDocs lib name on remote server  \\
 +DB2 file on source system library \\
 +DB2 file on remote system library \\
 +Overwrite file on remote server  (*YES/*NO) \\
 +Restore file on remote server  (*YES/*NO) \\
 +
 +
 +Command ESENDFILE will perform the following steps:
 +  * Executes iDocs command CNVDB2XML to convert DB2 to a temporary .xml file on source server
 +  * Sends this .xml file to remote server
 +  * Calls remote command CNVXML2DB on remote server to restore .xml file to DB2 file. (The command CNVXML2DB is stored on ‘iDocs lib name on remote server’)
 +  * User can input the name of DB2 file on remote server.
 +  * User can overwrite existing data or append them into remote DB2 file
  
 ---- ----
Line 160: Line 210:
 Result on SFTP Server: \\ Result on SFTP Server: \\
 {{:pub:idocs:esndfile001.png?600|}} {{:pub:idocs:esndfile001.png?600|}}
----- 
  
 +----
 ===== ICOMDBMAP ===== ===== ICOMDBMAP =====
  
Line 194: Line 244:
 **Parameters:**  **Parameters:** 
  
-**Main Application** = The first Form Application to be merged.  This Form Application will determine the output for all the Form Applications being used if using Smart Routing settings. \\ +**MAINAPP** = The first Form Application to be merged.  This Form Application will determine the output for all the Form Applications being used if using Smart Routing settings. \\ 
-**Second Application** = The second Form Application to be merged.  If not using a second Form Application, then use *NONE as the value.\\ +**SECONDAPP** = The second Form Application to be merged.  If not using a second Form Application, then use *NONE as the value.\\ 
-**Third Application** = The Third Form Application to be merged.  If not using a second Form Application, then use *NONE as the value.\\ +**THIRDAPP** = The Third Form Application to be merged.  If not using a second Form Application, then use *NONE as the value.\\ 
-**Output Queue** = This will be the value for the destination of the output into an out queue or the triggering for Smart Routing by using *FORMDEF as the value. \\+**OUTQ** = This will be the value for the destination of the output into an out queue or the triggering for Smart Routing by using *FORMDEF as the value. \\
  
  
pub/idocsapi.1683839706.txt.gz · Last modified: 2023/05/11 14:15 by kkramer