3 1 Using CHECKNUMERIC in WAMs

LANSA WAM

3.1 Using CHECKNUMERIC in WAMs

To enable numeric validation in WAMs, use the CHECKNUMERIC selector for the WAM. This is specified on the BEGIN_COM command.

If CHECKNUMERIC is not specified in the RDMLX code for the WAM, the default is based on the System Information value for Web validate numerics. To find the Web validate numerics, open System Information in the Repository, expand Compile and Edit Options. The setting is located under Process and functions compile defaults.

If CHECKNUMERIC is applied and an invalid number is entered at runtime the following warning is issued: