Personnaly, I put traces in my SQR program with some '#debug show' with infos about the place in the program or the values of some variables ( #debug show ' &exemple=' &exemple )
It's the way that I use but ther's perhaps other ways
Hope that will help you
-----Message d'origine-----
De: Dave Ingram [SMTP:Dave_Ingram@NAS.ADP.COM]
Date: lundi 10 janvier 2000 15:32
À: SQR-USERS@list.iex.net
Objet: Print SQL in Error
Hello SQR experts:
In the event that a SQL query fails, we would like SQR to print, to the
log, the SQL code which was executing at the time of the error. Is there
an SQR variable which contains the currently executing SQL query? Is there
any way to do this?
Dave