pli

Description

Compiles one or more PL/I programs.

Parameters

Attribute Description Required
destdir The name of the directory where the output(s) from a compilation are to be written. Defaults to the current directory. No
failonerror If true, stops the build process if the task exits with a return-code other than 0. Defaults to false. No
forcecompile If true, compiles a PL/I program even if it is not out-of-date. Defaults to false. No
is64bit If true, compiles a PL/I program to a 64-bit target. Defaults to false (i.e. 32-bit target). No
srcdir The name of the directory where the PL/I source file(s) are to be picked up from. Must not be used if nested mffilelist elements have been specified. Defaults to the current directory. No
srcfile The name of the source file to be compiled. Must not be used if nested mffilelist elements have been specified. No
verbose If true, causes additional informational messages to be displayed by the task. Defaults to false. No

Parameters specified as nested elements

mfdirlist

Use nested <mfdirlist> elements to specify directives to be used to compile the program(s). See mfdirlist.

mffilelist

Use nested <mffilelist> elements to specify the source file name(s) to be compiled, and include file locations. See mffilelist.

Errors and return codes

By default, the return code of a <pli> task is ignored. When you set failonerror="true", any non-zero response is treated as an error and means the build exits.

Examples


Copyright © 1984-2015 Micro Focus. All rights reserved.