|
Hi TL, You can't - the command has no output apart from the screen - that's the reason I asked. Colin -----Original Message----- From: TLTruax [mailto:truax@usaor.net] Sent: Thursday, November 25, 1999 3:04 PM To: MIDRANGE-L@midrange.com Subject: Re: Overiding Screen Output in a CL Program Hello Colin, You could do the DSPPFM and redirect output to a PF file and not the screen default, then read that file in the CLP. T.L.Truax http://members.xoom.com/truax <http://members.xoom.com/truax> ----- Original Message ----- From: Chapman, Colin <mailto:Colin.Chapman@lloydsudt.co.uk> To: MIDRANGE-L@midrange.com <mailto:MIDRANGE-L@midrange.com> Sent: Thursday, November 25, 1999 6:30 AM Subject: Overiding Screen Output in a CL Program Does anyone know if it is possible to capture the output from a command which normally runs interactively in a CL program. As an example : If you were to do DSPPFM FILE(QGPL/QCLSRC) from an interactive session you get the output directed to your screen - Can you use this in a CL Pgm and capture the output somehow? Thanks, Colin Chapman ********************************************************************** This email is intended for the exclusive use of the addressee only. If you are not the intended recipient, you should not use the contents nor disclose them to any other person and you should immediately notify the sender and delete the email. ********************************************************************** +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.