To enhance performance, you can combine the execution and functionality of the GenTrn and GenData steps into a single step. Combining these steps enhances performance by reducing the number of times files have to be opened and closed during processing. For more information, see the Documaker Administration Guide.
To combine the GenTrn and GenData steps, you place the NoGenTrnTransactionProc rule in under the <Base Form Set Rules> header in your AFGJOB.JDT file, along with several other rules. To then combine the GenData and GenPrint steps, add the following rule under the <Base Rules> header in your AFGJOB.JDT file:
;InitPrint;;;
and add this rule below the <Base Form Set Rules> header in your AFGJOB.JDT file:
;PrintFormset;;;
To use single-step processing, change the TrnFile option in the FSISYS.INI file to NUL, as shown below:
< Data >
TrnFile = NUL
Once you have added the rules to your AFGJOB.JDT file and FSISYS.INI file, run the GenData program as you normally would and it will execute the GenTrn and GenPrint processing steps.
For more information on these rules, see InitPrint, PrintFormset, and NoGenTrnTransactionProc.
When you use single-step processing, where the GenData program runs the GenTrn and GenPrint processes as a single step, you use the following AFGJOB.JDT file. This file is also called the performance mode JDT file:
<Base Rules>
;RULStandardJobProc;1;Always the first job level rule;
;SetErrHdr;;*:------------------------------------------------;
;SetErrHdr;;*: FormMaker Data Generation (Base);
;SetErrHdr;;*: ;
;SetErrHdr;;***: Transaction: ***ACCOUNTNUM***;
;SetErrHdr;;***: Company Name (after ini conversion): ***Company***;
;SetErrHdr;;***: Line of Business (after ini conversion): ***LOB***;
;SetErrHdr;;***: Run Date: ***RunDate***;
;SetErrHdr;;*:------------------------------------------------;
;JobInit1;;;
;CreateGlbVar;;TXTLst,PVOID;
;CreateGlbVar;;TblLstH,PVOID;
;InitOvFlw;;;
;SetOvFlwSym;;SUBGROUPOVF,SUBGROUP,5;
;BuildMasterFormList;;4;
;PageBatchStage1InitTerm;;;
;InitSetrecipCache;;;
/* the following is required to run GenData/GenPrint as single step.*/
;InitPrint;;;
Every form set in the base system uses these form set level rules:
<Base Form Set Rules>
;NoGenTrnTransactionProc;;First transaction level rule when omitting GenTrn;
;ResetOvFlw;;;
;BuildFormList;;;
;LoadRcpTbl;;;
;RunSetRcpTbl;;;
/* the following is required to run GenData/GenPrint as single step.*/
;PrintFormset;;;
;WriteOutput;;;
;WriteNaFile;;;
;WriteRCBWithPageCount;;;
;ProcessQueue;;PostPaginationQueue;
;PaginateAndPropagate;;;
;BatchingByRecipINI;;;
Every section in the base system uses this section level rule:
<Base Image Rules>
;StandardImageProc;;Always the first section level rule;
Every field in the base system uses this field level rule:
<Base Field Rules>
;StandardFieldProc;;Always the first field level rule;
© Copyright 2012, Oracle and/or its affiliates. All rights reserved. Legal notices.