MFPLI00072S The second argument of the ROUND built-in function must be an optionally signed decimal integer constant.

The second argument of the ROUND built-in function cannot be a variable or an expression.
Resolution:
If different rounding is required depending on particular conditions then use a SELECT statement to choose between evaluating expressions using ROUND with different integer constant second arguments.
Module:
RESIS.PL1