Use Suppress Warnings List (-swl) to suppress one or more warning messages during the session. You can use this startup parameter to specify the name of a file on PROPATH that contains a list of warning messages to suppress without modifying your existing code. This parameter setting prevents OpenEdge from displaying the specified warning messages from the start of an ABL session until the setting is changed using the SUPPRESS-WARNINGS-LIST attribute on the SESSION system handle.

Operating system and syntax UNIX / Windows -swl filename
Use with Maximum value Minimum value Single-user default Multi-user default
Client Session
filename
The pathname of a file containing a comma-separated list of warning id numbers. The pathname can be absolute or relative to PROPATH.

The warning message file can contain comments. Anything between a hashtag (#) and an end of line is treated as a comment.

# List of warnings to suppress
5555, 77755,

1509 # Warning for unreachable statement

If the contents of the file resolve to the empty string (""), then this parameter has no effect. If the Suppress Warnings (-sw) startup parameter is used or the SUPPRESS-WARNINGS attribute is set to TRUE, the list of specified warnings is ignored and all warnings are suppressed. If an invalid warning id is included or the target file does not exist, the session will fail to start.

This startup parameter initializes the value of the SUPPRESS-WARNINGS-LIST attribute of the SESSION handle with the contents of its target file. See ABL Reference for more information.