You mentioned in passing the problem with debugging Metal C by adding printf's. Unfortunately, Metal C does not offer I/O functions. I solved this problem by writing an extension library with basic I/O support.
Tony ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN