Informix 4GL and STARTLOG's errorline
Posted in 2011
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
Hi all again. When you have called STARTLOG function any error on the 4GL program makes a line in the log like this: ... Program error at "stock_one.4gl", line number 89. ... And using WHENEVER ERROR CALL [function] my function is called, inside this function i have almos all info gathered except "at stock_one.4gl, line number 89.", there is any way inside the 4gl function called to get the line number where the error happen so i can store it in a column of a logging table ? Any idea how to get it ? (other than parsing the full log file in the server from a 4GL program :( ) IBM INFORMIX-4GL Version 7.50.FC1 Thanks!
On 10/13/11 9:14 AM, eferreyra wrote: > When you have called STARTLOG function any error on the 4GL program > makes a line in the log like this: > > ... > Program error at "stock_one.4gl", line number 89. > ... > > And using WHENEVER ERROR CALL [function] my function is called, inside > this function i have almos all info gathered except "at stock_one.4gl, > line number 89.", there is any way inside the 4gl function called to > get the line number where the error happen so I can store it in a > column of a logging table ? > > Any idea how to get it ? (other than parsing the full log file in the > server from a 4GL program :( ) > > IBM INFORMIX-4GL Version 7.50.FC1 AFAIK, there is no way to get hold of that information. -=JL=-