[Migrated content. Thread originally posted on 23 May 2012]
Hello,I am running Microfocus COBOL program on LINUX in a batch mode. What I would like is when my query ends up in error, I would like to log an error in a log file, with the query that has just run. Is there a runtime variable that exists where the last executed query is stored?
I use an Oracle database.
Thanks,
Sophie
