pub:preprocessor
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pub:preprocessor [2022/02/28 13:40] – [Engine Definitions] kkramer | pub:preprocessor [2025/09/09 19:38] (current) – [Insert Text] kkramer | ||
---|---|---|---|
Line 407: | Line 407: | ||
^ Comparand keyword ^ Meaning ^ | ^ Comparand keyword ^ Meaning ^ | ||
| ***BLANKS** | | ***BLANKS** | ||
- | | ***USRPRF** | User profile owning the spool file | | + | | ***FORM** | Spool file form type | |
- | | ***USRDTA** | Spool file user data | | + | | ***JOBNAME** | Spool file job name | |
| ***OUTQUE** | Spool file outqueue | | | ***OUTQUE** | Spool file outqueue | | ||
| ***OUTLIB** | Spool file outqueue library | | | ***OUTLIB** | Spool file outqueue library | | ||
| ***SPLFILE** | Spool file name | | | ***SPLFILE** | Spool file name | | ||
- | | ***FORM** | Spool file form type | | ||
- | | ***JOBNAME** | Spool file job name | | ||
| ***TOTALPG** | Spool file total pages | | | ***TOTALPG** | Spool file total pages | | ||
+ | | ***USRPRF** | ||
+ | | ***USRDTA** | Spool file user data | | ||
1. The processing priority: | 1. The processing priority: | ||
Line 493: | Line 493: | ||
==== Insert Text ==== | ==== Insert Text ==== | ||
- | Spool file text is entered via **option 8**. | + | Spool file text and/or attribute value is entered via **option 8** = Insert Text. |
< | < | ||
Line 499: | Line 499: | ||
Insert Text into Spool File | Insert Text into Spool File | ||
| | ||
- | SR Engine Name/Desc. : EARNINGS1 | + | SR Engine Name/Desc. : SRSAMPLEENG |
- | Application Name/ | + | Application Name/ |
- | Form App Reference . : EARNADD | + | Form App Reference . : SAMPLESORT |
- | Target Name/Desc . . : HANDOFF | + | Target Name/Desc . . : COPYTARGET |
| | ||
Source Spool Text: | Source Spool Text: | ||
- | Map Field : EMPLOYNO1 | + | Map Field : DATAMOVE |
- | From Page : Output Text To: Row | + | From Page : *LAST |
- | Map Field : EMPLOYNO2 | + | Map Field : DATAMOVE2 |
- | From Page : Output Text To: Row 1 Column | + | From Page : *LAST |
Map Field : Or Constant | Map Field : Or Constant | ||
From Page : Output Text To: Row | From Page : Output Text To: Row | ||
Line 521: | Line 521: | ||
| | ||
</ | </ | ||
+ | |||
+ | In lieu of text, you can also insert the spool file date attribute value in the **Text** field. This attribute can be scrapped from the spool file and included in the output. In the “Text” field of the Smart Router Target, add *SPLFDATE into Mapped field name and it will insert spool file create date in US format MM/DD/YY (iDOCS 8.0 04/ | ||
+ | |||
+ | In addition to the spool file date (iDOCS 8.0 10/01/2024) you can add *SPLFTIME into Mapped field name and it will insert spool file create time in US format HH: | ||
+ | |||
+ | (iDOCS 8.1 06/26/2025) An enhancement added the option to copy the spool file text from a Mapped Field on a page and paste to another location on the spool file. In the example above we are using the DATAMOVE Mapped Field configured in the SAMPLESORT Form Application associated with this Smart Router Engine to copy the spool file data from the Last Page of the spool file. | ||
+ | |||
+ | The ‘From Page’ field can be configured to specify: | ||
+ | * *FIRST First page of the spool file | ||
+ | * *LAST Last page of the spool file | ||
+ | * Or a specific page number where the text is extracted | ||
+ | * Or Leave blank to extract the text from each spool file page | ||
+ | |||
== F2=Conditionally Map == | == F2=Conditionally Map == | ||
Line 589: | Line 602: | ||
**On IDocs 6.97 and newer continued** \\ | **On IDocs 6.97 and newer continued** \\ | ||
- | **F4 Prompt** in the **Page**: field will specify where the inserted text will appear. | + | **F4 Prompt** in the **Page**: field will specify where the inserted text will appear. |
**Page:** field parameters on the Insert Text into Spool File screen are as follows: | **Page:** field parameters on the Insert Text into Spool File screen are as follows: | ||
Line 595: | Line 608: | ||
* ** *LAST** = Insert text on last page | * ** *LAST** = Insert text on last page | ||
* ** *EXTB** = Spool page extra first page (at the beginning of spool page) | * ** *EXTB** = Spool page extra first page (at the beginning of spool page) | ||
+ | * ** *EXTE** = Spool page extra last page (at the end of spool page) | ||
+ | * ** *EVEN** = Even spool file pages | ||
+ | * ** *ODD** | ||
* ** *EXTE** = Spool page extra last page (at the end of spool page) | * ** *EXTE** = Spool page extra last page (at the end of spool page) | ||
* ** *2NDLS** = Insert text on second to last page | * ** *2NDLS** = Insert text on second to last page |
pub/preprocessor.1646084426.txt.gz · Last modified: 2022/06/25 17:02 (external edit)