pub:idocsapi
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
pub:idocsapi [2022/08/25 18:49] – [SETPDFPWD] kkramer | pub:idocsapi [2023/05/11 14:22] – [ICOMDBMAP] kkramer | ||
---|---|---|---|
Line 1: | Line 1: | ||
< | < | ||
- | + | ====== Programming API's ====== | |
- | + | ||
- | ====== | + | |
iDocs has various methods to automatically print forms that are deposited in output queues. | iDocs has various methods to automatically print forms that are deposited in output queues. | ||
Line 73: | Line 70: | ||
---- | ---- | ||
- | ===== IFDUPSPLF | + | ====== UTILITIES ====== |
- | Quick utility to duplicate a SCS spool file and change the owner on the new file. Original and new owner must both reside in the System Directory. This command was named DUPSPLF initially but changed to IFDUPSPLF in version 6.83 to ensure that it’s unique on all customer systems. | + | ===== EHTM2CSV ===== |
- | < | + | |
- | | + | |
- | + | ||
- | Type choices, press Enter. | + | |
- | + | ||
- | | + | |
- | | + | |
- | Job name . . . . . . . . . . . . > ANGUYENA | + | |
- | User Name . . . . . . . . . . > | + | |
- | Job Number . . . . . . . . . . > | + | |
- | | + | |
- | | + | |
- | New SPLF user data . . . . . . . | + | |
- | New SPLF form type . . . . . . . | + | |
- | New SPLF name . . . . . . . . . | + | |
- | New SPLF Owner . . . . . . . . . > OFERRER | + | |
- | Hold new SPLF . . . . . . . . . | + | |
- | Page range: | + | |
- | | + | |
- | | + | |
- | + | ||
- | | + | |
- | F3=Exit F4=Prompt | + | |
- | F24=More keys | + | |
- | </ | + | |
- | **Parameters: | + | Quick utility //(added 6.99 1/ |
- | Spooled file: input spool file name \\ | + | < |
- | Spooled file number: input spool file number \\ | + | |
- | Job name/User Name/ Job Number: job ID of input spool \\ | + | |
- | Output Queue/ | + | |
- | New SPLF user data: enter user data of output spool file (*SAME | + | |
- | New SPLF form type: enter form type of output spool file | + | Type choices, press Enter. |
- | New SPLF name: enter spool file name of output spool file | + | |
- | Hold new SPLF: Hold the output spool file name\\ | + | |
- | Page range: enter the range of pages of input spool file name\\ | + | |
+ | | ||
+ | CSV file path . . . . . . . . . > '/ | ||
+ | |||
+ | |||
+ | | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | | ||
+ | | ||
+ | F24=More keys | ||
+ | </ | ||
- | **Example:** | + | Type command EHTM2CSV and prompt with F4\\ |
- | + | HTML file path: Enter the path to pick up the HTML File.\\ | |
- | IFDUPSPLF FILE(INV) SPLNBR(2) JOB(106730/ | + | CSV file path: Enter the path to place the .csv file.\\ |
+ | Charset: UTF-8 is default | ||
+ | [Enter] to execute. | ||
---- | ---- | ||
Line 172: | Line 162: | ||
---- | ---- | ||
+ | ===== ICOMDBMAP ===== | ||
- | ===== EHTM2CSV ===== | + | To evoke the merge process of one, two, or three Database Mapped Form Application(s), and aggregate the output |
- | + | ||
- | Quick utility //(added 6.99 1/11/2022)// to convert HTML files into CSV file format. EHTM2CSV program and command; includes an updated IFDJAVA.JAR file. | + | |
< | < | ||
- | + | | |
- | | + | |
| | ||
Type choices, press Enter. | Type choices, press Enter. | ||
| | ||
- | HTML file path . . . . . . . . . > '/ | + | Main Application |
+ | | ||
+ | Third Application | ||
+ | | ||
| | ||
| | ||
- | CSV file path . . . . . . . . . > '/ | ||
| | ||
- | | ||
- | | ||
| | ||
| | ||
Line 202: | Line 189: | ||
| | ||
| | ||
+ | | ||
</ | </ | ||
- | Type command EHTM2CSV and prompt with F4\\ | + | **Parameters: |
- | HTML file path: Enter the path to pick up the HTML File.\\ | + | |
- | CSV file path: Enter the path to place the .csv file.\\ | + | **MAINAPP** = The first Form Application to be merged. |
- | Charset: UTF-8 is default | + | **SECONDAPP** = The second Form Application to be merged. |
- | [Enter] | + | **THIRDAPP** = The Third Form Application |
+ | **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. \\ | ||
+ | |||
+ | |||
+ | **Example:** | ||
+ | < | ||
+ | | ||
+ | |||
+ | Type choices, press Enter. | ||
+ | |||
+ | | ||
+ | | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | | ||
+ | Job name . . . . . . . . . . . . | ||
+ | Job description | ||
+ | | ||
+ | Job queue . . . . . . . . . . . | ||
+ | | ||
+ | Job priority (on JOBQ) . . . . . | ||
+ | | ||
+ | Print device . . . . . . . . . . | ||
+ | |||
+ | More... | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== IFDUPSPLF ===== | ||
+ | |||
+ | Quick utility to duplicate a SCS spool file and change | ||
+ | < | ||
+ | | ||
+ | |||
+ | Type choices, press Enter. | ||
+ | |||
+ | | ||
+ | | ||
+ | Job name . . . . . . . . . . . . > ANGUYENA | ||
+ | User Name . . . . . . . . . . > | ||
+ | Job Number . . . . . . . . . . > | ||
+ | | ||
+ | | ||
+ | New SPLF user data . . . . . . . | ||
+ | New SPLF form type . . . . . . . | ||
+ | New SPLF name . . . . . . . . . | ||
+ | New SPLF Owner . . . . . . . . . > OFERRER | ||
+ | Hold new SPLF . . . . . . . . . | ||
+ | Page range: | ||
+ | | ||
+ | | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | **Parameters: | ||
+ | |||
+ | Spooled file: input spool file name \\ | ||
+ | Spooled file number: input spool file number \\ | ||
+ | Job name/User Name/ Job Number: job ID of input spool \\ | ||
+ | |||
+ | 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 | ||
+ | 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: | ||
+ | |||
+ | IFDUPSPLF FILE(INV) SPLNBR(2) JOB(106730/ | ||
+ | |||
+ | ---- | ||
===== JOINSPLF ===== | ===== JOINSPLF ===== | ||
Line 331: | Line 399: | ||
| | ||
</ | </ | ||
- | ===== SPLCOMBINE | + | ===== SETPDFPWD |
- | Quick utility //(added 6.99 3/11/ | + | Quick utility //(added 6.99 8/23/ |
+ | |||
+ | Type SETPDFPWD and prompt with F4 to view parameters: | ||
< | < | ||
- | | + | Set PDF password |
| | ||
Type choices, press Enter. | Type choices, press Enter. | ||
| | ||
- | Source Output Queue . . . . . . | + | Path to PDF file . . . . . . . . |
- | | + | |
- | To Output Queue . . . . . . . . | + | |
- | Library | + | |
- | To SPLF user data . . . . . . . | + | User Password |
- | To SPLF form type . . . . . . . Character value, *STD... | + | |
- | To SPLF name . . . . . . . . . . | + | |
- | To SPLF Owner . . . . . . . . . *CURRENT | + | |
- | Hold new SPLF . . . . . . . . . | + | |
| | ||
| | ||
Line 359: | Line 429: | ||
| | ||
</ | </ | ||
- | + | **Parameters: | |
- | **Source output queue:** all SCS/ | + | **Path to PDF file:** This is the location where the PDF file is located on the IFS. It is also the location where the PDF file will be placed after being processed. |
+ | **'User Password:' | ||
+ | **'Owner Password:' | ||
- | ===== SETPDFPWD ===== | + | **How the command works: |
+ | {{: | ||
- | Quick utility | + | //User Password// will restrict the PDF to be open with the //User Password// value and will restrict the PDF’s |
+ | //Owner Password// will restrict | ||
+ | When both //User Password// and //Owner Password// are used both options will apply. | ||
+ | See the example table below for the different configuration options and the expected results.\\ | ||
+ | Example Table: \\ | ||
+ | {{: | ||
+ | {{: | ||
- | Type SETPDFPWD | + | **NOTE: |
+ | Need to install IFDJAVA.JAR file as of 08/12/2022 \\ | ||
+ | The SETPDFPWD | ||
+ | |||
+ | ===== SPLCOMBINE ===== | ||
+ | |||
+ | Quick utility //(added 6.99 3/ | ||
< | < | ||
- | Set PDF password | + | |
| | ||
Type choices, press Enter. | Type choices, press Enter. | ||
| | ||
- | Path to PDF file . . . . . . . . | + | Source Output Queue . . . . . . |
- | + | | |
- | + | To Output Queue . . . . . . . . | |
- | + | Library | |
- | User Password | + | To SPLF user data . . . . . . . |
- | + | To SPLF form type . . . . . . . Character value, *STD... | |
- | | + | To SPLF name . . . . . . . . . . |
- | | + | To SPLF Owner . . . . . . . . . *CURRENT |
- | + | Hold new SPLF . . . . . . . . . | |
| | ||
| | ||
Line 393: | Line 478: | ||
</ | </ | ||
- | **Path to PDF file:** This is the location where the PDF file is located on the IFS. It is also the location where the PDF file will be placed after being processed. | + | **Source output queue:** all SCS/ |
- | **'User Password:' | + | |
- | **'Owner Password:' | + | |
- | How the command works:\\ | ||
- | See the example table below for the different configuration options and the expected results.\\ | ||
- | User Password will restrict the PDF to be open with the User Password value and will restrict the PDF’s security.\\ | ||
- | Owner Password will restrict the PDF to be open with the Owner Password value and will NOT restrict the PDF’s security.\\ | ||
- | When both User Password and Owner Password are used both options will apply. | ||
- | |||
- | Results: \\ | ||
- | {{: | ||
- | NOTE:\\ | ||
- | Need to install IFDJAVA.JAR file as of 08/ | ||
- | API must be registered for use. | ||
< | < | ||
pub/idocsapi.txt · Last modified: 2023/07/25 13:08 by kkramer