pub:idocsapi
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
pub:idocsapi [2023/05/11 14:15] – [IFDUPSPLF] kkramer | pub:idocsapi [2023/07/25 12:56] – [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. | ||
+ | < | ||
+ | Send DB2 file to remote server (ESENDFILE) | ||
+ | | ||
+ | Type choices, press Enter. | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | iDocs lib name on remote servr | ||
+ | DB2 file on source system | ||
+ | | ||
+ | DB2 file on remote system | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | **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 | ||
+ | Restore file on remote server | ||
+ | |||
+ | |||
+ | 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: \\ | ||
{{: | {{: | ||
- | ---- | ||
+ | ---- | ||
===== ICOMDBMAP ===== | ===== ICOMDBMAP ===== | ||
Line 194: | Line 244: | ||
**Parameters: | **Parameters: | ||
- | **Main Application** = The first Form Application to be merged. | + | **MAINAPP** = The first Form Application to be merged. |
- | **Second Application** = The second Form Application to be merged. | + | **SECONDAPP** = The second Form Application to be merged. |
- | **Third Application** = The Third Form Application to be merged. | + | **THIRDAPP** = The Third Form Application to be merged. |
- | **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.txt · Last modified: 2023/07/25 13:08 by kkramer