Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
If you had a properly designed and implemented logging/auditing framework this question would not arise.
I've seen several different implementations where both the commands and the returned values get logged as a matter of course.
In implementations what you are doing complicated joins in the SQL commands this is almost mandatory. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
To be brief because some of us get paid to do this for a living
IF you create an SQL command that will get executed on a DB OR Call a stored procedure you copy the full SQLCommand or the SP Params to a know area in the Environment tree. When the command has completed you copy the result to a similar known area.
At the end of the flow's operations this 'area' is written along with other data to a DB table.
If the flow errors out the same area is written with the ExceptionList in its entirety to anothe DB Table.
Naturally if you have also stored the incoming message is it's original unparsed (i.e. BLOB) form you are is a great prosition to find out what went wrong.
Not that long ago I used this to discover that a DB Admin had deleted a table that was crucial to our application. I was able to tell their manager exactly when it had happened (to within 2-3 minutes).
You do need to invest up fron in a proper Framework for your message flows. There is a lot more under the covers than what I've described here.
Even with all this in place, you sometimes have to deal with the developer who's attitude is 'I don't need no stinking logging' or 'I don't have time to code for it'. You just know that their code is going to be a can of worms. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum