You need to pass back parameters with the success code or you can put it ina table of your choice.DB2 & UDB email list listserv db2-l LazyDBA home page