asm

Description

Compiles one or more Assembler program file(s) or Assembler linker file(s).

Parameters

Attribute Description Required
destdir The name of the directory where the output(s) from the compilation of Assembler program(s) or Assembler linker file(s) are to be written. This attribute is not considered when the defaults in MF370CTL.CFG are changed. 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 an Assembler program or Assembler linker file even if it is not out-of-date. Defaults to false. No
sourcetype The type of the Assembler source file that is to be compiled. Possible values are pgm (when the source file is an Assembler program) and lin (when the source file is an Assembler linker file). Defaults to pgm. No
srcdir The name of the directory containing the Assembler program(s) or Assembler linker file(s). Must not be used if nested mffilelist elements have been specified. Defaults to the current directory. No
srcfile The name of the Assembler program or Assembler linker 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 the macro locations. See mffilelist.

Errors and return codes

By default, the return code of an <asm> 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.