Mark, have you looked at the sample in SYS1.SHASSAMP(HASX53A)? It does exactly what you're trying to do. The only thing I could think of is that something else is messing with your msg field or flag after you're done with it. I assume TEXTAREA_MESSAGE is DC CL80?
Mary Anne ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html