The DEBUG(*YES)
and DUMP
statements are useful during development and debugging, but could expose sensitive information
to attackers and should not be included in production code.
Noncompliant code example
H*-------------------------------------------------------------------------
H DATEDIT(*YMD) DEBUG(*YES)
H**************************************************************************
C SR990 BegSR
C 'CVTERR' DUMP DUMP for error
C Move *on *INLR
Compliant solution
H*-------------------------------------------------------------------------
H DATEDIT(*YMD)
H**************************************************************************
C SR990 BegSR
C Move *on *INLR