Use this job level rule to add all of the functionality of running the GenPrint program. Anything you can do with the GenPrint program can be done using this rule. For instance, you can use this rule to print the same recipient batch multiple times while running in single-step mode, giving you the same recipient batch processing capabilities available in multi-step mode. For instance, this rule lets run in single-step mode and print the same batch in multiple formats, such as a PDF batch for electronic delivery and a Metacode batch for mail.
There are no parameters for this rule.
Keep in mind...
Here is an example:
<Base Rules>
;RULStandardJobProc;;Always the first job level rule;
;SetErrHdr;;***:------------------------------------------------;
;SetErrHdr;;***: Feature 1931 - GenPrint rule example ;
;SetErrHdr;;***:------------------------------------------------;
;JobInit1;;;
;GenPrint;;;
Always place the GenPrint rule immediately after the JobInit1 rule in your AFGJOB.JDT file.
You can assign a recipient batch to multiple print batch files during GenPrint processing. This lets you print the same batch in multiple formats, such as in PDF and Metacode format. Here is an example:
< Print_Batches >
BATCH1 = Batch1.bch
BATCH2 = batch2.bch
BATCH3 = Batch1.bch
In this example, Batch1.bch will be printed by both print BATCH1 and print BATCH3.
This rule also supports transaction and batch banner processing. To set up banner processing, you must set the appropriate GVMs before each instance of the class recipient is printed. Use the RecipMap2GVM control group to set the GVMs. See Writing Unique Data Into Recipient Batch Records for more information.
To support IDS processing, the system lets you hold the batch, NA, and POL files in a list until the GenPrint rule has executed. To tell the system to hold the batch, NA, and POL files, include the following INI option:
< RunMode >
© Copyright 2014, Oracle and/or its affiliates. All rights reserved. Legal notices.