Skip to main content

Problem:

FILLER in a COBOL data structure given as for this structure:

01 daten.            

   02 Eine   pic x(5).

   02 filler   pic x(5).

   02 Zwei  pic x(5).

The CBL2XML wizard produces the following XD structure:

        01 Pre-daten identified by "daten" count in Pre-daten-count.

         02 Pre-eine pic X(5) identified by "eine" count in

            Pre-eine-count.

         02 Pre-filler pic X(5).

         02 Pre-zwei pic X(5) identified by "zwei" count in

            Pre-zwei-count.

i.e. this FILLER gets a "Pre"-fix but not an IDENTIFIED clause.

Resolution:

The online help says for FILLER:

---------------------------

The word FILLER can be used to specify an elementary item of the logical record that cannot be referred to explicitly.

---------------------------

This FILLER Data, which cannot be accessed directly in COBOL, cannot be described properly in XML / XSD.

The word FILLER could be omitted in COBOL without any influence to the COBOL program.

The best way to work with FILLERs would be to give it a meaningfull name.

Then data structure is suitable for data exchange with XML / XSD.

-----

If the XML file is used for a readable backup, you could make a global change for " FILLER ", e.g. with " FIL_LER".

The program will still run, if the new word FIL_LER is not used elsewhere, except the data structure is used in an INITIALIZE, which does not update FILLER but would update FIL_LER.

Old KB# 4277