Bret,
As promissed, I tried your first approach with success. Source code and output files attached. There was an error at the end, in the
EXEC sp_helpdb tempdb
GO
Command. Must be a bug in the evaluation developper release of SAP ASE 15.7 I downloaded from the site. However, the server is fine, and
everything is working.
Regards,
Jean-Pierre