Type tree Mapping

The COBOL copybook import operation maps data names to type tree names.

The COBOL copybook data names are converted to type tree names according to the following rules:

Characters that are not valid in type tree element names are replaced with the underscore (_) character. For example, the invalid $ character in monthly$total is replaced with the underscore (_) character. Therefore, monthly$total becomes monthly_total.

Duplicate names are made unique by appending one or more numeric digits to the names. For example, there are two instances of year. You can make one of the instances year1 and leave the other instance as year.

The import operation maps FILLER items by appending a number incrementally to the end of the name. Examples are FILLER1, FILLER2, FILLER3, and so on.