The EXPROPTS keyword on CTL-OPT (or H-spec) sets program-wide defaults for expression evaluation. Accepts one or more colon-separated values:
| Value | Effect |
|---|---|
*MAXDIGITS |
Use maximum intermediate precision (63 digits) for all EVAL expressions - equivalent to applying EVAL(M) to every statement |
*RESDECPOS |
Use result field's decimal positions for intermediate precision - equivalent to applying EVAL(R) to every statement |
*USEDECEDIT |
Use the DECEDIT setting for decimal/digit separators in %EDITC/%EDITW and numeric BIFs |
*ALWBLANKNUM |
Allow blank numeric input fields to be treated as zero instead of causing an error |
Per-statement EVAL(M) and EVAL(R) extenders override the program-wide defaults when present.
CTL-OPT EXPROPTS(*MAXDIGITS:*USEDECEDIT);