mfdirlist is an explicitly-named list of directives used by the following tasks: cobol, ims, pli, and can either appear inside one of these tasks or as a standalone type.
Attribute | Description | Required |
---|---|---|
debug | If true, specifies that the directives list is associated with a program to be compiled for debugging. Defaults to false. | No |
refid | Makes the
mfdirlist instance in effect a reference to another
mfdirlist instance.
Note: Note that attributes or nested elements must not be set if refid is specified.
|
No |
Attribute | Description | Required |
---|---|---|
name | The name of the directive. | Yes |
value | The value of the directive. | No |
Attribute | Description | Required |
---|---|---|
value | Set of directives to be used by the compiler. | Yes |
<directive> and <directives> elements may be used in the same list.
Specify a number of compiler directives:
<mfdirlist> <directive name="dialect" value="MF"/> <directive name="charset" value="ASCII"/> <directive name="noamode"> </mfdirlist>
Specify a free-format list of compiler directives:
<mfdirlist> <directives value="dialect(MF) charset(ASCII) noamode"/> </mfdirlist>
Specify compiler directives in a referenced mfdirlist elements to associate and compile a COBOL source file for debugging using the cobol task:
<mfdirlist id="cobol_directives" debug="true"> <directive name="dialect" value="MF"/> <directive name="charset" value="ASCII"/> </mfdirlist> <cobol srcfile="Program1.cbl" srcdir="${basedir}" desttype="int" destdir="${basedir}/bin" debug="true"> <mfdirlist refid="cobol_directives"/> </cobol>