The best way is to use TSO console command in a REXX and trap output. Have a look at SYS1.SAMPLIB(IEATOPS) for REXX sample.
ITschak On Tue, Nov 1, 2011 at 12:41 PM, Tim Brown <[email protected]> wrote: > Is there a way in batch to issue a console command and direct the output > to a file > > > > Like d m > > > > Or any other standard display command > > > > Thanks, > > > > Tim Brown > Systems Specialist - Project Leader > Central Hudson Gas & Electric > 284 South Ave > Poughkeepsie, NY 12601 > Email: [email protected] <<mailto:[email protected]>> > Phone: 845-486-5643 > Fax: 845-486-5921 > Cell: 845-235-4255 > > > > > This message contains confidential information and is only for the > intended recipient. If the reader of this message is not the intended > recipient, or an employee or agent responsible for delivering this message > to the intended recipient, please notify the sender immediately by replying > to this note and deleting all copies and attachments. > > > > > > > ---------------------------------------------------------------------- > 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

