COBOL Manual for TNS and TNS/R Programs

Run-Time Diagnostic Messages
HP COBOL Manual for TNS and TNS/R Programs522555-006
48-17
Message List
4
(121)
Cause. For a TNS program, the overflow bit in the environment-register, ENV.<10>,
was set to 1; for a native program, an arithmetic overflow occurred. This occurred for
one of these reasons:
The result of a signed arithmetic operation could not be represented with the
number of bits available for the particular data type.
A division operation was attempted with a zero divisor.
In most cases, a receiving item in an arithmetic statement is too small.
Effect. The run unit terminates abnormally.
Recovery. Check the statement in your program at the address given by offset and
correct it. Also, see Arithmetic Overflow for alternative ways to handle this problem.
5
(121)
Cause. A stack overflow fault occurs if:
An attempt was made to execute a program whose dynamically allocated data did
not fit within the remaining area available for the stack.
There was not enough remaining virtual data space for an operating environment
procedure to execute.
For a TNS program, the amount of virtual data space available is G[0] through
G[32767].
Operating environment procedures require approximately 700 bytes of user-data stack
space to execute.
Arithmetic fault
A hardware/software trap occurred - the type follows
Arithmetic fault
Stack overflow
A hardware/software trap occurred - the type follows
Stack overflow