Handling of Names
FILLER is a special name in COBOL. These fields cannot be referenced from a COBOL program and are allowed to occur more than once, because these names do not have to be unique in a copybook.
The Plug-in applies the following processing:
- Copybook items are not required to have unique names. However, if non-unique names are encountered at the same group level or at the top the level, the Plug-in generates unique XSD names by adding numeric suffixes '-n'. For example, for this copybook:
01 ROOT. 02 ITEM PIC X. 02 ITEM PIC X.
The XSD name of the first elementary item is ITEM, but the second item is named ITEM-0.
- The Plug-in allows unnamed items. In this case, the XSD name is NO-NAME. If many unnamed items are present at the same group level or at the top the level, the names are made unique by adding numeric suffixes '-n': NO-NAME-0, NO-NAME-1 and so on.
Copyright © Cloud Software Group, Inc. All rights reserved.