Text |
Negative exponent not allowed. |
Explanation |
Natural performs an exponentiation via repetitive multiplication. Negative exponents are not permitted. |
Action |
Use only positive exponent values. |
Text |
Intermediate result too large. |
Explanation |
The construct of the arithmetic expression generates an intermediate result with too many digits. |
Action |
Separate the arithmetic expression into several statements with defined lengths for intermediate results. |
Text |
Division by zero not permitted by parameter ZD=ON. |
Explanation |
The ZD session parameter is set to "ON". This causes an error when a division by zero is attempted. If a result of zero is desired when attempting a division by zero, change the setting of the ZD session parameter to "OFF". |
Action |
Set "ZD=OFF" if desired. |
Text |
Numeric truncation caused by adding/subtracting 1. |
Explanation |
In the evaluation of a relational expression, the operators GREATER and LESS THAN are evaluated by adding/subtracting "1" from the value. |
Action |
Increase length of field used in relational expression. |
Text |
Value has been rounded and does not fit into field. |
Explanation |
Rounding has caused the value to exceed the number of digits defined for the field. |
Action |
Increase length of field being rounded. |
Text |
Numeric value truncated in MOVE/ASSIGN operation. |
Explanation |
The receiving field in a MOVE/ASSIGN operation is not long enough to hold the result of the value. |
Action |
Increase the length of the receiving field. |
Text |
Error in STEP value in FOR statement. |
Explanation |
The end value cannot be reached by incrementing the start value because STEP value = 0 was detected. |
Action |
Check program and correct error. |
Text |
Resulting element address in MOVE INDEXED out of range. |
Explanation |
The target address of the MOVE INDEXED operation lies outside the Natural data area. |
Action |
Check index value or length of base field in MOVE INDEXED. |
Text |
Replace string does not fit into variable. |
Explanation |
In an EXAMINE statement, one of the strings to be examined and replaced resulted in a total string length that is larger than the variable length. A truncation of a value is not allowed in an EXAMINE statement. |
Action |
Adjust length of field in EXAMINE statement. |
Text |
Overflow in NUMBER variable of EXAMINE statement. |
Explanation |
The number of strings found in the source variable is too large to be represented in the NUMBER variable of the EXAMINE statement. |
Action |
Adjust the length of the NUMBER variable. |
Text |
RETRY statement not allowed for this error number. |
Explanation |
1. A RETRY is only possible for database response code "145". This response code indicates that a record which is to be read for update is currently in "hold" status for another user. NAT3145 can only occur when the global option WH=OFF (wait hold) is in effect. 2. NAT1310 can also occur under one of the following conditions if the response code is in fact "145": - The object module which was active when "145" was received does not contain an ON ERROR statement. - The RETRY statement executed in reaction to "145" is not contained in the same object module as was active when the response code was received. Response code "145" can only be handled by the object module which is active when the response code is received. When control is returned from that module, Natural automatically converts NAT3145 to NAT1310. |
Action |
that module, Natural automatically converts NAT3145 to NAT1310. Check program and correct error. |
Text |
Index in MOVE INDEXED statement is zero or negative. |
Explanation |
The index in a MOVE INDEXED statement must be positive. |
Action |
Correct program. |
Text |
Number of elements too large for number field. |
Explanation |
The NUMBER clause was used in the SEPARATE statement, but the number of elements to be returned does not fit into the field specified. |
Action |
Increase the length of the field which is to contain the resulting number of elements. |
Text |
Not enough receiving fields available in SEPARATE. |
Explanation |
The source field contained so many delimiter characters that there were not enough target fields available in the SEPARATE statement to receive all values. |
Action |
Check program and correct error. |
Text |
Target field too small for field portion or incorrect delimiters. |
Explanation |
In a SEPARATE statement, a portion of a field to be transferred is larger than the target field specified. Possible reasons: - A text segment between two delimiters which exceeds the length of the defined target field; or - an incorrect definition of delimiters which do not exist inside the source operand. |
Action |
Increase the length of the target field or use correct delimiters. |
Text |
Source field and target field in SEPARATE overlap. |
Action |
Avoid overlapping of source and target fields. |
Text |
Index not within array structure. |
Explanation |
The index specified for an array is not within the dimensions defined for the array. |
Action |
Check program and correct error. |
Text |
Array range operation on invalid ranges. |
Explanation |
An arithmetic operation may operate on array ranges with identical range structures, or on array ranges with single values (scalar values). Two or three ranges were defined for an arithmetic operation, which do not have identical range structures. |
Action |
Check program and correct error. |
Text |
Overlap during ASSIGN. |
Explanation |
During assignment of alphanumeric or binary operands, an invalid overlap was detected. This condition occurs when an attempt is made to move a byte which has already been moved during the execution of the statement. |
Action |
Check program and correct error. |
Text |
Invalid date operation. |
Explanation |
The result of an operation (date integer) is a negative date. |
Action |
Check program and correct error. |
Text |
Invalid operand for system function VAL. |
Explanation |
The operand of the VAL system function does not contain a valid alphanumeric representation of the resulting value. The VAL system function is similar to the INPUT statement: what is accepted by the INPUT statement is also accepted by the VAL system function. |
Action |
Check program and correct error. |
Text |
Invalid UNTIL parameter in MOVE ALL statement. |
Explanation |
This error may be caused by one of the following: - The UNTIL parameter contains a negative value. - The UNTIL parameter contains a value with more than 7 valid decimal digits or more than 31 valid binary digits. |
Action |
Correct error. |
Text |
Parameter ... missing (invoked at line ... by .../.../.../...). |
Explanation |
Natural tried to execute a statement which contained a reference to parameter ... which was not supplied by the object .../.../.../... This occurs if the invoking statement at line ... has not supplied a parameter which was defined as optional by the invoked object (DEFINE DATA PARAMETER). |
Action |
Specify the missing parameter in the invoking statement. |
Text |
ACCEPT, REJECT, REINPUT not allowed in end-data condition. |
Explanation |
The statements ACCEPT and REJECT are not allowed in an end-of-data condition (loop is already closed). The same restriction applies for a REINPUT statement if the corresponding INPUT statement is contained within a loop which has been closed. |
Action |
Check program and correct error. |
Text |
Loop must be active if this statement is used. |
Explanation |
An ESCAPE TOP, ESCAPE BOTTOM, ACCEPT, REJECT or PERFORM BREAK PROCESSING statement cannot be executed, because - no loop is active for an ESCAPE TOP, ESCAPE BOTTOM or PERFORM BREAK PROCESSING statement; - no FIND, READ, HISTOGRAM, CALL FILE, SORT or READ WORK FILE loop is active for an ACCEPT or REJECT statement. |
Action |
Check program and correct error. |
Text |
Too many asterisks "*" found in pattern. |
Explanation |
A maximum of 10 asterisks "*" may be supplied in a pattern. If more "*" are found in the pattern, a table overflow occurs and therefore the execution is stopped. However, "**" is recognized as "*". |
Action |
Decrease the number of asterisks "*" in the pattern. |
Text |
Range specified is outside field. |
Explanation |
Error in the SUBSTRING option of a statement: - the starting position is not within the field; or - the value of the starting position is zero or negative; or - the specified length exceeds the length of the field; or - the length value is zero or negative. Error in the POSITION clause of an EXAMINE statement: - The FROM position is not within the field; or - the ENDING AT/THRU position is not within the field. Error in the CHARPOSITION clause of an EXAMINE statement: - the CHARPOSITION is not within the field. |
Action |
Check program and correct error. |
Text |
No default code page available. |
Explanation |
The execution of the current statement requires that a default code page is defined. |
Action |
Define a default code page, using the CP parameter. |