X4 Help Center

COBOL Copybook Writer

This adapter converts an XML document to a COBOL Copybook text document according to the rules of a descriptor file.

Properties

Operation

Describes which operation the adapter performs.

Possible values:

Execute: Write XML data to a text document in COBOL Copybook format

Parameters

DescFile

Name of the descriptor file that describes the text document in the COBOL Copybook format in its data structure. The descriptor file should be stored in the user folder of the X4 repository (for example, X4DB/1/Project/descr.ad)

Possible values:

Path and filename with the suffix .ad or .xml (for example, /project/descr.ad)

encoding

Character set in which the text document should be encoded in COBOL Copybook format

Possible values:

  • Any string for a character set (e.g. UTF-8)

  • (empty): Use the character set of the processed XML document (default)

DebugMode

Debug mode