Thanks Peter, worked like a charm and makes the program much simpler. Now I just wonder why it is neccessary to use a specific pointer specification for int fields and not for char fields. Anyway, it works.
Willy ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN