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
Next revisionBoth sides next revision
pub:idocsapi [2023/05/11 13:52] kkramerpub:idocsapi [2023/05/11 14:22] – [ICOMDBMAP] kkramer
Line 162: Line 162:
 ---- ----
  
-===== IFDUPSPLF =====+===== ICOMDBMAP =====
  
-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 DirectoryThis command was named DUPSPLF initially but changed to IFDUPSPLF in version 6.83 to ensure that it’s unique on all customer systems.+To evoke the merge process of one, two, or three Database Mapped Form Application(s), and aggregate the output to a desired out queue or trigger Smart Routing settingsThe ICOMDBMAP command can be used interactively or submitted into a job (SEE EXAMPLE BELOW)(Added iDOCS 8.0 05/10/2023)
 <html><pre> <html><pre>
-                   Duplicate iSeries Spooled File (IFDUPSPLF                  +                   Combine database map-File name (ICOMDBMAP                   
-                                                                                +                                                                                 
- Type choices, press Enter.                                                     + Type choices, press Enter.                                                      
-                                                                                +                                                                                 
- Spooled file . . . . . . . . . . > INV           Name                          + Main Application . . . . . . . .                 Name                           
- Spooled file number  . . . . . . > 2             1-999999, *ONLY, *LAST        + Second Application . . . . . . .   *NONE         Name *NONE                     
- Job name . . . . . . . . . . . . > ANGUYENA      Name*, *ALL                 + Third Application  . . . . . . .                 NAME *NONE                     
-   User Name  . . . . . . . . . . >   ANGUYEN     Name                          + Output Queue . . . . . . . . . .                 Name                           
-   Job Number . . . . . . . . . . >   106730      000000-999999                 +                                                                                 
- Output Queue . . . . . . . . . .   QPRINT        Name                          +                                                                                 
-   Library  . . . . . . . . . . .     *LIBL       Name, *LIBL                   +                                                                                 
- New SPLF user data . . . . . . .   *SAME         Character value, *SAME        +                                                                                 
- New SPLF form type . . . . . . .   *SAME         Character value, *SAME        +                                                                                 
- New SPLF name  . . . . . . . . .   *SAME         Name, *SAME                   +                                                                                 
- New SPLF Owner . . . . . . . . . > OFERRER       Name, *SAME                   +                                                                                 
- Hold new SPLF  . . . . . . . . .   *NO           *YES, *NO                     +                                                                                 
- Page range:                                                                    +                                                                                 
-   Starting page  . . . . . . . .               Number                        +                                                                                 
-   Ending page  . . . . . . . . .   *END          Number, *END                  +                                                                                 
-                                                                                +                                                                                 
-                                                                         Bottom +                                                                         Bottom  
- F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display    + F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display     
- F24=More keys                                                                 + F24=More keys                                                                   
 +                                                                                
 </pre></html> </pre></html>
  
 **Parameters:**  **Parameters:** 
  
-Spooled file: input spool file name \\ +**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. \\ 
-Spooled file number: input spool file number \\ +**SECONDAPP** = The second Form Application to be merged.  If not using a second Form Application, then use *NONE as the value.\\ 
-Job name/User Name/ Job Number: job ID of input spool \\+**THIRDAPP** = The Third Form Application to be merged.  If not using a second Form Application, then use *NONE 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. \\
  
-Output Queue/Library: name and library of 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:**
- +<html><pre> 
-IFDUPSPLF FILE(INVSPLNBR(2JOB(106730/ANGUYEN/ANGUYENAOWNER(OFERRER)+                               Submit Job (SBMJOB                              
 +                                                                                 
 + Type choices, press Enter.                                                      
 +                                                                                 
 + Command to run . . . . . . . . .   ICOMDBMAP MAINAPP(CYBERLTRSECONDAPP(*NONE) 
 + THIRDAPP(*NONEOUTQ(*FORMDEF)                                                  
 +                                                                                 
 +                                                                                 
 +                                                                                 
 +                                                                                 
 +                                                                     ...         
 + Job name . . . . . . . . . . . .   ICOMDBTEST    Name, *JOBD                    
 + Job description  . . . . . . . .   *USRPRF       Name, *USRPRF                  
 +   Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB           
 + Job queue  . . . . . . . . . . .   FMGJOBQ       Name, *JOBD                    
 +   Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB           
 + Job priority (on JOBQ) . . . . .   *JOBD         1-9, *JOBD                     
 + Output priority (on OUTQ)  . . .   *JOBD         1-9, *JOBD                     
 + Print device . . . . . . . . . .   *CURRENT      Name, *CURRENT, *USRPRF...     
 +                                                                                 
 +                                                                        More...  
 + F3=Exit   F4=Prompt   F5=Refresh   F10=Additional parameters   F12=Cancel       
 + F13=How to use this display        F24=More keys                                
 + </pre></html>                                                                               
  
 ---- ----
pub/idocsapi.txt · Last modified: 2023/07/25 13:08 by kkramer