WARNSUPPRESS Option

<warnsuppress control option>

──┬─ $ ──┬─┬─────────┬─ WARNSUPPRESS ──────────────────────────────────┤
  └─ $$ ─┘ ├─ RESET ─┤
           └─ SET ───┘

Explanation

This control option controls the emitting of warning messages by the WFL compiler. SET is an optional action indicator that prevents warning messages from being emitted by the WFL compiler. RESET is an optional action indicator that causes warning messages to be emitted by the WFL compiler. SET is the default value. If the job was started through CANDE, the default value is RESET.

Example

In this example, the WARNSUPPRESS option is used to prevent a warning message from being emitted by the WFL compiler:

$SET WARNSUPPRESS
BEGIN JOB NOWARN;
FAMILY ABCDEFGHIJKLMNOPQRSTUVWXYZ = DISK ONLY;
COPY X AS Y;
END JOB

If the above job had $RESET WARNSUPPRESS on the first line, then the following warning message would be emitted:

WARNING: FAMILY NAME LONGER THAN 17 CHARACTERS HAS BEEN TRUNCATED