Frank Swarbrick suggested using a CALL instead of a function. I'll try that; I'm not sure it's an acceptable change to the usage, but thanks.
I'm off after today for surgery for a herniated disc, so might be a while. Still find it hard to believe that PL/I makes this so hard! ...phsiii ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN

