pub:preprocessor
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pub:preprocessor [2021/01/28 11:47] – [Insert Text] kkramer | pub:preprocessor [2024/10/02 20:46] (current) – kkramer | ||
---|---|---|---|
Line 75: | Line 75: | ||
< | < | ||
- | | + | |
| | ||
| | ||
SR Engine Name/Desc: OFACKTEST | SR Engine Name/Desc: OFACKTEST | ||
Data Queue Name/Lib: OFACKDTQ | Data Queue Name/Lib: OFACKDTQ | ||
- | Archive Outque/ | + | Archive Outque/ |
| | ||
Process Spool File.: *JOBQ *CALL, *JOBQ | Process Spool File.: *JOBQ *CALL, *JOBQ | ||
Line 105: | Line 105: | ||
* **DataQueue** name and library: | * **DataQueue** name and library: | ||
- | * **Archive** outqueue and library: | + | * **Archive** outqueue and library: |
+ | Archive/ | ||
+ | A: Original spool file will be moved to archive queue after processed\\ | ||
+ | D: Original spool file will be deleted after processed\\ | ||
+ | H: Original spool file will be held in current queue after processed\\ | ||
+ | Blank: do nothing with original spool file\\ | ||
* **Process Spool File**: Specify *JOBQ to process a spool file in a separate job via SBMJOB. The parameters of the SBMJOB call are provided in the next three parameters. Use *CALL to process a spool file via a CALL, resulting in processing in the same job as the engine. | * **Process Spool File**: Specify *JOBQ to process a spool file in a separate job via SBMJOB. The parameters of the SBMJOB call are provided in the next three parameters. Use *CALL to process a spool file via a CALL, resulting in processing in the same job as the engine. | ||
* **Job Queue Name**: Provide the name of a job queue if processing with the *JOBQ option. Single threaded job queues will process Smart Routing jobs serially. Multi threaded jobqueues will process them concurrently. | * **Job Queue Name**: Provide the name of a job queue if processing with the *JOBQ option. Single threaded job queues will process Smart Routing jobs serially. Multi threaded jobqueues will process them concurrently. | ||
Line 402: | 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 488: | 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**. |
< | < | ||
- | 1/ | + | iDocs SmartRouter |
- | 11: | + | Insert Text into Spool File |
| | ||
- | SR Engine Name/Desc. : EARNINGS1 | + | SR Engine Name/Desc. : EARNINGS1 |
Application Name/Desc: EARNSRENG | Application Name/Desc: EARNSRENG | ||
Form App Reference . : EARNADD | Form App Reference . : EARNADD | ||
Line 516: | 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: | ||
== F2=Conditionally Map == | == F2=Conditionally Map == | ||
Line 522: | Line 531: | ||
Under the Insert Text function of a Smart Router Application, | Under the Insert Text function of a Smart Router Application, | ||
- | **on IDocs 6.97 and newer...** | + | **On IDocs 6.97 and newer...** |
Under the Insert Text function of a Smart Router Application, | Under the Insert Text function of a Smart Router Application, | ||
When you put the cursor on each of the Mapped Fields and select the **F2=Conditionally Map option**, you will see a window to apply your condition to the specific Mapped Field. | When you put the cursor on each of the Mapped Fields and select the **F2=Conditionally Map option**, you will see a window to apply your condition to the specific Mapped Field. | ||
Line 530: | Line 539: | ||
F2=Conditionally Map option on Mapped Field MAPONE displays the screen below: | F2=Conditionally Map option on Mapped Field MAPONE displays the screen below: | ||
< | < | ||
- | 1/ | + | iDocs SmartRouter |
- | 11: | + | Insert Text into Spool File |
| | ||
- | SR Engine Name/Desc. : EARNINGS1 | + | SR Engine Name/Desc. : EARNINGS1 |
Application Name/Desc: EARNSRENG | Application Name/Desc: EARNSRENG | ||
Form App Reference . : EARNADD | Form App Reference . : EARNADD | ||
Line 557: | Line 566: | ||
For the second Mapped Field MAPTWO, we can have a condition in which the Mapped Field is not equal (*NE) to *BLANK | For the second Mapped Field MAPTWO, we can have a condition in which the Mapped Field is not equal (*NE) to *BLANK | ||
< | < | ||
- | 1/ | + | iDocs SmartRouter |
- | 11: | + | Insert Text into Spool File |
| | ||
- | SR Engine Name/Desc. : EARNINGS1 | + | SR Engine Name/Desc. : EARNINGS1 |
Application Name/Desc: EARNSRENG | Application Name/Desc: EARNSRENG | ||
Form App Reference . : EARNADD | Form App Reference . : EARNADD | ||
Line 582: | Line 591: | ||
| | ||
</ | </ | ||
+ | |||
+ | **On IDocs 6.97 and newer continued** \\ | ||
+ | **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: | ||
+ | |||
+ | * ** *FIRST** = Insert text on first page | ||
+ | * ** *LAST** = Insert text on last 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) | ||
+ | * ** *2NDLS** = Insert text on second to last page | ||
+ | * **(Blank)** = Leave blank to insert text into every spool page | ||
+ | * **(Specific page)** = Specify the page number to insert text | ||
===== Starting and Ending a SmartRouter™ Engine ===== | ===== Starting and Ending a SmartRouter™ Engine ===== |
pub/preprocessor.1611863245.txt.gz · Last modified: 2022/06/25 17:02 (external edit)