Examples using Ignore Warnings (-Z)

-Z
This command causes a 0 return code with the warning message to be returned when any of the warning codes is encountered.
-Z!
This command causes a 0 return code with the warning message to be returned when any of the warning codes is encountered.
-Z18
This command causes a 0 return code with the warning message to be returned when a Page Usage Count Error (18) is encountered.
-Z!18
This command excludes the Page Usage Count Error (18), a 0 return code with the warning message is returned for all of the other warning codes.
-Z18:27:28
This command causes a 0 return code with the warning message to be returned when any of the specified warning codes is encountered (18, 27, or 28 in this case).
-Z34
This command causes a 0 return code with the warning message to be returned when a Too Few Pages Requested, More Allocated Error (34) is encountered.

If the Ignore Warnings command (-Z) is enabled and a map encounters the condition for any warning code as specified, the execution section of the audit log includes a Valid map status with a 0 return code and the associated warning message. For example:

<Summary MapStatus="Valid" Return="0">
   <ElapsedTimeInSec>0.1026</ElapsedTimeInSec>
   <Message>Input type contains errors.</Message>
   <CommandLine>'install_dir\examples\ansiack\receiveEDI.mmc'
   </CommandLine>
   <ObjectsFound>0</ObjectsFound>
   <ObjectsBuilt>0</ObjectsBuilt>
</Summary>

When using the -Z command, you cannot specify the same warning code using the Fail on Warnings command (-F).

Both the -Z and -Z! commands cause a 0 return code with the warning message to be returned when any of the warning codes is encountered.