Copycheck
The Copycheck task (copycheck) verifies a COBOL layout and can be used to:
- to validate is syntactical correctness
- to display the field definitions
The following attributes configure the task:
| Attribute | Type | Purpose | Default |
|---|---|---|---|
| format | string | COBOL code format: fixed or free |
fixed |
| path | string | Path of the layout file (copybook) to be checked. If not provided the element value is used | |
| checktabs | bool | If true, warnings are raised if the layout contains TAB characters |
true |
Examples
<copycheck name="SB.COMPD.SF60D2.CASACC.T????" path="%DATA_ENCYCLOPEDIA_COPYBOOKS%/OTHERS/HPECPY234.cpy"/>
<copycheck format="free">
01 RECORD-01.
05 HELLO PIC ZZZZ9.999.
05 WORLD PIC 9(6)V999.
</copycheck>