pub:idocsapi
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| pub:idocsapi [2023/05/11 13:52] – kkramer | pub:idocsapi [2025/03/10 19:15] (current) – [ICOMDBMAP] 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 ===== | ||
| - | ===== IFDUPSPLF ===== | + | To evoke the merge process of one, two, or three Database Mapped Form Application(s), |
| - | + | ||
| - | Quick utility to duplicate a SCS spool file and change | + | |
| < | < | ||
| - | Duplicate iSeries Spooled | + | Combine database map-File name (ICOMDBMAP) |
| - | | + | |
| - | Type choices, press Enter. | + | Type choices, press Enter. |
| - | | + | |
| - | Spooled file . . . . . . . . . . > INV Name | + | Main Application |
| - | Spooled file number | + | Second Application |
| - | Job name . . . . . . . . . . . . > ANGUYENA | + | Third Application |
| - | User Name . . . . . . . . . . > | + | |
| - | Job Number . . . . . . . . . . > | + | |
| - | | + | |
| - | Library | + | |
| - | New SPLF user data . . . . . . . | + | |
| - | New SPLF form type . . . . . . . | + | |
| - | New SPLF name . . . . . . . . . | + | |
| - | New SPLF Owner . . . . . . . . . > OFERRER | + | |
| - | Hold new SPLF . . . . . . . . . | + | |
| - | Page range: | + | |
| - | Starting page . . . . . . . . | + | |
| - | Ending page . . . . . . . . . | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| + | | ||
| </ | </ | ||
| **Parameters: | **Parameters: | ||
| - | Spooled file: input spool file name \\ | + | **MAINAPP** = The first Form Application to be merged. |
| - | Spooled file number: input spool file number | + | **SECONDAPP** = The second Form Application to be merged. |
| - | Job name/User Name/ Job Number: job ID of input spool \\ | + | **THIRDAPP** = The Third Form Application to be merged. |
| + | **OUTQ** = This will be the value for the destination | ||
| - | Output Queue/ | ||
| - | New SPLF user data: enter user data of output spool file (*SAME to retain the same attribute of input spool file) \\ | ||
| - | New SPLF form type: enter form type of output spool file (*SAME to retain the same attribute of input spool file)\\ | ||
| - | New SPLF name: enter spool file name of output spool file (*SAME to retain the same attribute of input spool file\\ | ||
| - | Hold new SPLF: Hold the output spool file name\\ | ||
| - | Page range: enter the range of pages of input spool file name\\ | ||
| **Example: | **Example: | ||
| + | < | ||
| + | | ||
| + | | ||
| + | Type choices, press Enter. | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | Job name . . . . . . . . . . . . | ||
| + | Job description | ||
| + | | ||
| + | Job queue . . . . . . . . . . . | ||
| + | | ||
| + | Job priority (on JOBQ) . . . . . | ||
| + | | ||
| + | Print device . . . . . . . . . . | ||
| + | | ||
| + | More... | ||
| + | | ||
| + | | ||
| + | </ | ||
| - | IFDUPSPLF FILE(INV) SPLNBR(2) JOB(106730/ | + | **NOTE: ** |
| + | (iDOCS 8.0 02/26/2025) With this enhancement you can control the aggregation sequence of merging multiple spool files. | ||
| + | * If the newly added IFDSPLDESC Data Area is set to ‘Y’, the aggregation process is identical to the older (pre-V8.0) logic merging multiple spool files in descending order. | ||
| + | * If the IFDSPLDESC Data Area is set to blank (default) or ‘N’, the aggregation process will merge the spool files in ascending order. | ||
| ---- | ---- | ||
pub/idocsapi.1683838323.txt.gz · Last modified: 2023/05/11 13:52 by kkramer