Examples using Fail on Warnings (-F)

-F
A map-failed message is returned when any of the warning codes is encountered.
-F!
A map-failed message is returned when any of the warning codes is encountered.
-F18
A map-failed message is returned when a Page Usage Count Error (18) is encountered.
-F!18
Excluding the Page Usage Count Error (18), a map-failed message is returned for all of the other warning codes.
-F18:27:28
A map-failed message is returned when any of the specified warning codes is encountered (18, 27, or 28 in this case).
-F34
A map-failed message is returned when a Too Few Pages Requested, More Allocated Error (34) is encountered.

If the -F command is used and the map fails due to the cause associated with the specified warning, the execution audit includes an Error map status with the appropriate warning code preceded by a minus sign and the map-failed message.

For example:

<Summary MapStatus="Error" Return="-28">
   <ElapsedTimeInSec>0.0898</ElapsedTimeInSec>
   <Message>Input type contains errors.</Message>
   <CommandLine>'install_dir\example\ansiack\receiveEDI.mmc'
   </CommandLine>
   <ObjectsFound>0</ObjectsFound>
   <ObjectsBuilt>0</ObjectsBuilt>
</Summary>

When using this command, you cannot specify the same warning code using the -Z command. If you do, the setting of the latter command in the command line is used. For example, if your command line included -F18:26 -Z18:27:28, a return code of 18 (Page Use Count error) would be ignored because the Ignore Warnings command (-Z) follows the Fail on Warnings command (-F).

A map-failed message is returned when any of the warning codes is encountered for both the -F and -F! commands.