Archive Index Field Map
The ARCRET utility is designed to find all the relevant information about your archive setup under the ArcRet control group. In general, the INI options required by the ARCRET utility are almost identical to those used by the GenArc program.
With a few exceptions, the settings referenced are the almost the same as those used and required by the AFEMAIN program. One exception is the Trigger2Archive control group.
The ARCRET utility uses this Trigger2Archive control group to re-create the NEWTRN file. If you use the GenArc program to produce your archives, you already have this group to map the fields from the NEWTRN file to the APPIDX (application index) file.
Since the AFEMAIN program does not use this control group, you may have to add it to your INI file. Here is an example of what you would need to add:
< Trigger2Archive >
ArcField = TrnField
ArcField2 = TrnField2
...
Each Trn field is defined in the TRNDFDFL.DFD file which is specified using the TrnDFDFile option in the Data control group. Each Arc field is defined in the APPIDX.DFD file which is specified using the AppIdxDFD option in the ArcRet control group.
If you do not have the Trigger2Archive control group defined, the ARCRET utility tries to match the fields in the TRNDFDFL.DFD and APPIDX.DFD files by name. If no field names match, an error message appears and the ARCRET utility stops.
© Copyright 2020, Oracle and/or its affiliates. All rights reserved. Legal notices.