Hello Mr. Scott,
First, thanks very much from your help, and other colleagues of this list, and sorry from delay this response. I tested your sample here, and this is wath we need. For CMS commands, ok, for CP commands, also ok, but, We need something like this : /* */ TRACE R "CP SET SECUSER VTAM * " 'PIPE CP SEND VTAM VTAM D NET,APPLS | STEM OUTPUT.' SAY OUTPUT.0 DO I = 1 TO OUTPUT.0 SAY SUBSTR(OUTPUT.I,1,8) QUEUE OUTPUT.I 'EXECIO 1 DISKW' VTAM RESULT A END "CP SET SECUSER VTAM OPERATOR " Because, need monitoring the I/O buffers of VTAM, and others. When execute the exec above, the OUTPUT of the command is not wrote in my CMS file. Can you help please ? Thanks very much, Sérgio Lima Costa sergio.co...@grvsolutions.com.br Arquitetura e Suporte GRV Solutions Tel.: +55 (11) 4152-9398 www.grvsolutions.com.br Date: Fri, 12 Mar 2010 08:54:05 -0700 From: scott.rohl...@gmail.com Subject: Re: Question About Read console output under REXX To: IBMVM@LISTSERV.UARK.EDU 'PIPE CMS command | STEM OUTPUT.' 'PIPE CP command | STEM OUTPUT.' Do i = 1 to output.0 Say output.i End for starters Scott On Fri, Mar 12, 2010 at 8:43 AM, Sergio Lima <sergiovm...@hotmail.com> wrote: Hello List, Years ago, We had a REXX program that gove a CMS (query names), or a CP command (CP q rdr all) , and next read the output of this command in my program, for example : If we need look the spool files, my program process this, and look how many files had, or list the users logged in alphabetic order. Unfortunatelly We lost this samples programs, so, someone have anything like this ? Thanks very much. Sergio Lima Costa System Programmer GRV Solutions Sao Paulo - Brazil Transforme-se em personagens engraçados. Conheça o novo site de I Love Messenger. _________________________________________________________________ Você sabia que seu navegador te ajuda a ficar longe de vírus? Leia mais sobre isso. http://www.microsoft.com/brasil/windows/internet-explorer/?WT.mc_id=1500