ims

Description

Generates one or more IMS files.

Parameters

Attribute Description Required
destdir The name of the directory where the generated IMS build artefact(s) are to be written. No
failonerror Stop the build process if the task exits with a return-code other than 0. Defaults to false. No
forcecompile If true, generates IMS file(s) even if the source file(s) are not out-of-date. Defaults to false. No
genfiledir The name of the directory where the generated files(s) are to be written. No
gentype The type of source file to generate. The value of this attribute must be one of "dbd", "mfs" or "psb". Yes
imsdbdir The name of the directory where the IMS database for the current project is to be picked up from. No
srcdir The name of the directory where the source files 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 generated. 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 copybook locations. See mffilelist.

Errors and return codes

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