Try OpenEdge Now
skip to main content
Startup Command and Parameter Reference
Startup Parameter Descriptions : Suppress Warnings List (-swl)
 

Suppress Warnings List (-swl)

Use Suppress Warnings List (-swl) to suppress one or more warning messages during the session.
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 OpenEdge Development: ABL Reference for more information.