EGL Reference Guide for iSeries
VGJ0168E: Math function %1 failed with error code 12 (range
error).
Explanation
An intermediate or final result cannot be represented as a double precision
floating point number or with the precision of the result item.
User Response
Do as follows:
- Change the program logic to ensure that the target item is large enough to
hold the result value; or
- Change the program logic so that the arguments to the function have values
that do not cause this problem; or
- Call the function in a try statement, or set handleSysLibErrors to 1
before calling the function, so that the program can handle the error.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.