Liz, Since you are doing this within a REXX why not issue a LISTC command on the DSN first with the VOL parameter and see if the VOLSER is MIGRAT before you issue the HLIST command? That way you know the dataset is truly migrated. Dennis
-----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Lizette Koehler Sent: Friday, June 01, 2012 3:16 PM To: IBM-MAIN@bama.ua.edu Subject: Re: How to suppress Message in REXX App Scott Yes the output is going to a outdsn HLIST DSN('"dsnvar"') MCDS ODS('"tmpdsn"') I have set TSO PROF NOINTERCOM NOPAUSE NOMSGID NOMODE NOWTPMSG NORECOVER I have added the turning off of MSG prior to the HLIST and restore it after HLIST. I think the problem as pointed out is a TPUT. Which means I may not be able to suppress it from the user's session. Lizette -----Original Message----- >From: Scott Ford <scott_j_f...@yahoo.com> >Sent: Jun 1, 2012 1:03 PM >To: IBM-MAIN@bama.ua.edu >Subject: Re: How to suppress Message in REXX App > >Lizette, > >Are you trapping the messages ? > >Scott ford >www.identityforge.com > >On Jun 1, 2012, at 12:43 PM, Lizette Koehler <stars...@mindspring.com> wrote: > >> Cross Posting to IBM Main and TSO-REXX >> >> >> I have a Rexx process that issues the HLIST command. I have been >> successful in trapping the output from the HLIST but have an issue >> when the message >> >> ARC0138I is issued. >> >> I have tried turning off all of the TSO PROF functions (MSGID, >> INTERCOM, >> etc) >> I have tried turning off message for that section of the code >> MSG('OFF') >> >> Any yet it keeps getting produced so the user has to keep hitting >> enter until they are cleared. >> >> This message can be overwhelming if my user requests 100's of >> datasets that do not have an MCDS entry. >> >> Does anyone know if this message can be suppressed from a TSO >> session? IF so, suggestions? >> >> Thanks >> >> Lizette Koehler >> ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN