I agree with Liz and Skip that the way i have being performing t Juan: I agree with Liz and Skip that the way i have being performing that function for years. The ISPF /REXX one is good and the batch Rexx one is equally as good. Scott J Ford
________________________________ From: Lizette Koehler <[email protected]> To: [email protected] Sent: Wed, June 8, 2011 12:47:22 PM Subject: Re: MVS command - output directed to a dataset > Hi: > > I need to execute an MVS DISPLAY command with its output written to a > dataset. >Using > IEFBR14 i managed to execute the command in batch, but the output is only >written to > SYSLOG. Is there a way to have the output also written to a dataset? > > Thanks in advance for your help, > > JUAN MAUTALEN Two ways come to mind - You could use the SDSF REXX interface to capture and format your display command. You could use REXX and console function. You could use the SDSF Batch program to do the display command. Lizette ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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

