If your copybook or template contains multiple records types, each type is initially distinguished by the record length. If each type has a unique record length, you can select and display the various types within the Formatted Data Editor. However, if two or more record types have the same length, use record identification criteria to be able to view the different types. Record identification criteria is defined within templates using the Template Editor. Once specified within a template, it can be applied against a data set to identify different types of records present.
When specifying this type of criteria, first examine your data sets, then determine what field values uniquely identify a record with a particular type. This method can be used to match records within a data set to a particular record layout. By default, record length is used as an identification criteria if nothing else has been specified. If the default is used and the length of a record matches more than one record type within a template, the first matching record type will be used.
Record identification criteria can be created and modified using the tools provided in the Layout information portion of the Template Editor.