On large system running hundreds of users on the same application, very often I am faced with uniBASIC runtime errors in generic subroutines for which I do not have the source codes.
Most of the time the problem is due to badly initialized variable by the calling program.
The difficulty lies in identifying the calling program, knowing that errlog refers to the subroutine without showing the callstack.
Does anyone have any idea how to capture the callstack and determine which program to fix?
Here some samples from errlog :
Bad data “14/0/21” for conversion “D2-”. Unconverted data used for selection.
Program “SB.EVAL.EXP”: Line 276, Variable “$R95” previously undefined. Empty string used
Program “SB.GEN.DRIV.I”: Line 548, Nonnumeric data when numeric required. Zero used.
Program “SB.EVAL.EXP”: Line 121, Nonnumeric data when numeric required. Zero used