Thanks a zillion, Tomas and Chris. Works like a champ. Tonni, I read TD102151 before but it does not mention neither TerminalType nor TerminalTypeString.
Peter Hunkeler CREDIT SUISSE ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html