ICRE File Format

The ICRE task creates files that have a format consistent with the ICRE files created by CPCS. The task can be configured to write the character fields using either ASCII or EBCDIC encoding. Use the manage transmission definitions page to specify the character encoding. Refer to Manage Transmission Definitions Page for more information.

The file contains only one file header record and it is always the first record in the file. The file header record is always followed by an entry header record with its detail records. If the ICRE file contains data from multiple entries, an entry header record precedes each group of detail records for that entry. The following example shows the record structure of an ICRE file that contains three entries:
ICRE File Header Record
Entry Header Record (M-String Header Record)
Detail Record: String Header Control (MICR Header Information Record)
Detail Record: Batch Statistics (for the start of the entry)
Detail Record: Item
....
Detail Record: Item
Detail Record: Batch Statistics (for the end of the entry)

Entry Header Record (M-String Header Record)
Detail Record: String Header Control (MICR Header Information Record)
Detail Record: Batch Statistics (for the start of the entry)
Detail Record: Item
....
Detail Record: Item
Detail Record: Batch Statistics (for the end of the entry)

Entry Header Record (M-String Header Record)
Detail Record: String Header Control (MICR Header Information Record)
Detail Record: Batch Statistics (for the start of the entry)
Detail Record: Item
....
Detail Record: Item
Detail Record: Batch Statistics (for the end of the entry)

The item detail record fields containing codeline data have customizable lengths, justification and fill characters. The ICRE task uses the legacy profile definitions to resolve the format of these and any other record fields having a variable length. Refer to Legacy Profile Import Utility for more information about specifying field formats.

CPCS ICRE Copybook

A sample of the CPCS DKNICRE file definition of the ICRE output for a standard 50 byte mass data set is located in the install_directory\check\v303\Base\utilities\CPCS\Sample_ICRE_Output_Layout directory.