You are here: Adding Job and Form Set Rules > Using the Job Definition Table > Writing Unique Data Into Recipient Batch Records > Sample AFGJOB.JDT Files and INI Options

Sample AFGJOB.JDT Files and INI Options

Shown below are examples of simplified AFGJOB.JDT files and the INI options you use to process WIP transactions for specified recipients using these rules:

Assume each example has these INI options:

< Status_CD >

Approved = AP

BatchPrint = BP

Rejected = RJ

Also assume the first two examples have the following INI options defined in the FSISYS.INI or FSIUSER INI file.

These options define the recipient batch names:

< Print_Batches >

Insured = .\batch\Insured

Agent = .\batch\Agent

Company = .\batch\Company

These options define the output printer names:

< PrinterInfo >

Printer = InsuredPrt

Printer = AgentPrt

Printer = CompanyPrt

These options define the output printer names for each recipient batch. You must have a control group for each recipient batch.

< Insured >

Printer = InsuredPrt

< Agent >

Printer = AgentPrt

< Company >

Printer = CompanyPrt

These options define the print-ready output file name for each recipient name:

< InsuredPrt >

Port = .\Print\Insured.PCL

< AgentPrt >

Port = .\Print\Agent.PCL

< CompanyPrt >

Port = .\Print\Company.PCL

Using the IfRecipUsed rule

You run the GenData program using a simplified AFGJOB.JDT file which contains an IfRecipUsed rule for each recipient. This example places print-ready output for each recipient in the following files:

Recipient

Output file

Insured

INSURE.PCL

Agent

AGENT.PCL

Company

COMPANY.PCL

Transactions with status codes defined in the WIPTransactions rule are appended to an existing MRL recipient batch, NewTrn, NA, and POL files or are appended to newly-created recipient batch, NewTrn, NA, and POL files. These files can be printed, archived, or both using the GenPrint and GenArc programs.

All transactions with a Rejected or an Approved status code are deleted from the WIP file. Here is an example of the AFGJOB.JDT file. Note that the Rejected status code is omitted from the WIPTransactions rule.

<Base Rules>

;RulStandardJobProc;;;

;MergeWIP;;Approved,Rejected;

;JobInit1;;;

<Base Form Set Rules>

;WIPTransactions;;Approved;

;GVM2GVM;;Trigger2WIP;

;IfRecipUsed;;Batch1=Insured;

;IfRecipUsed;;Batch2=Company;

;IfRecipUsed;;Batch3=Agent;

;UpdatePOLFile;;;

<Base Image Rules>

;WIPImageProc;;;

<Base Field Rules>

;WIPFieldProc;;;

Using the BatchingByRecipINI rule

You run the GenData program using a simplified AFGJOB.JDT file which contains the BatchingByRecipINI rule. The BatchingByRecip control group contains an option for each recipient. Define this control group in the FSISYS.INI or FSIUSER.INI file. This example places print-ready output for each recipient in the following files:

Recipient

Output file

Insured

INSURE.PCL

Agent

AGENT.PCL

Company

COMPANY.PCL

Transactions with status codes defined in the WIPTransactions rule are appended to an existing MRL recipient batch, NewTrn, NA, and POL files or are appended to newly-created recipient batch, NewTrn, NA, and POL files. These files can be printed, archived, or both using the GenPrint and GenArc programs.

All transactions with a Rejected or Batch Print status code are deleted from the WIP file. Here is an example of the AFGJOB.JDT file. Note that the Rejected status code is omitted from the WIPTransactions rule.

<Base Rules>

;RULStandardJobProc;1;;;

;JobInit1;;;

;MergeWIP;;BatchPrint,Rejected;

;InitSetrecipCache;;;

<Base Form Set Rules>

;WIPTransactions;;BatchPrint;

;WriteOutput;;;

;WriteNaFile;;;

;BatchingByRecipINI;;;

<Base Image Rules>

;WIPImageProc;;;

<Base Field Rules>

;WIPFieldProc;;;

Using the BatchingByPageCountINI rule

You run the GenData program using a simplified AFGJOB.JDT file which contains the BatchingByPageCountINI rule. The BatchingByRecip control group contains an option for each recipient. Define this control group in the FSISYS.INI or FSIUSER.INI file.

This example places print-ready output for each recipient into the following files based on the number of pages in each transaction processed.

File

Description

INSOVER3.PCL

Insured with more than three pages

INSUNDR4.PCL

Insured with less than three pages

AGIOVER3.PCL

Agent with more than three pages

AGIUNDR4.PCL

Agent with less than three pages

CTROVER3.PCL

Company with more than three pages

CTRUNDR3.PCL

Company with less than three pages

Transactions with status codes defined in the WIPTransactions rule are appended to an existing MRL recipient batch, NewTrn, NA, and POL files or are appended to newly-created recipient batch, NewTrn, NA, and POL files. These files can be printed, archived, or both using the GenPrint and GenArc programs.

All transactions with a Rejected or Batch Print status code are deleted from the WIP file. Here is an example of the AFGJOB.JDT file. Note that the Rejected status code is omitted from the WIPTransactions rule.

<Base Rules>

;RulStandardJobProc;;;

JobInit1;;;

;MergeWIP;;BatchPrint,Rejected;

;InitSetrecipCache;;;

<Base Form Set Rules>

;WIPTransactions;;BatchPrint;

;GVM2GVM;;Trigger2WIP;

;WriteOutput;;;

;WriteNaFile;;;

;BatchingByPageCountINI;;;

;WriteRCBWithPageCount;;;

;ProcessQueue;;PostPaginationQueue;

;PaginateAndPropagate;;;

<Base Image Rules>

;WIPImageProc;;;

<Base Field Rules>

;WIPFieldProc;;;

Here are the INI options used with the BatchingByPageCountINI rule:

< BatchingByRecip >

DefaultBatch = Default

Batch_Recip_Def = True;"InsOver3";Insured

Batch_Recip_Def = True;"InsUndr4";Insured

Batch_Recip_Def = True;"AgiOver3";AddLinsd

Batch_Recip_Def = True;"AgiUndr4";AddLinsd

Batch_Recip_Def = True;"CtrOver3";CertHld

Batch_Recip_Def = True;"CrtUndr4";CertHld

< Print_Batches >

InsOver3 = .\batch\InsOver3

InsUndr4 = .\batch\InsUndr4

AgiOver3 = .\batch\AgiOver3

AgiUndr4 = .\batch\AgiUndr4

CtrOver3 = .\batch\CtrOver3

CtrUndr3 = .\batch\CtrUndr4

Default = .\batch\Default

< PrinterInfo >

Printer = InsOver3Prt

Printer = InsUndr4Prt

Printer = AgiOver3Prt

Printer = AgiUndr4Prt

Printer = CtrOver3Prt

Printer = CrtUndr4Prt

Printer = DefaultPrt

< InsOver3 >

Printer = InsOver3Prt

PageRange = 4,999

< InsUndr4 >

Printer = InsUndr4Prt

PageRange = 1,3

< AgiOver3 >

Printer = AgiOver3Prt

PageRange = 4,999

< AgiUndr4 >

Printer = AgiUndr4Prt

PageRange = 1,3

< CtrOver3 >

Printer = CtrOver3Prt

PageRange = 4,999

< CrtUndr4 >

Printer = CrtUndr4Prt

PageRange = 1,3

< Default >

Printer = DefaultPrt

< InsOver3Prt >

Port = .\Print\InsOver3.PCL

< InsUndr4Prt >

Port = .\Print\InsUndr4.PCL

< AgiOver3Prt >

Port = .\Print\AgiOver3.PCL

< AgiUndr4Prt >

Port = .\Print\AgiUndr4.PCL

< CtrOver3Prt >

Port = .\Print\CtrOver3.PCL

< CrtUndr4Prt >

Port = .\Print\CrtUndr4.PCL

< DefaultPrt >

Port = .\Print\Default.PCL