dbTalk Databases Forums  

Informix 4GL and STARTLOG's errorline

comp.databases.informix comp.databases.informix


Discuss Informix 4GL and STARTLOG's errorline in the comp.databases.informix forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
eferreyra
 
Posts: n/a

Default Informix 4GL and STARTLOG's errorline - 10-13-2011 , 11:14 AM






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!

Reply With Quote
  #2  
Old   
Jonathan Leffler
 
Posts: n/a

Default Re: Informix 4GL and STARTLOG's errorline - 10-14-2011 , 10:38 PM






On 10/13/11 9:14 AM, eferreyra wrote:
Quote:
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=-

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.