Scott,
I use an RSCS pipelines stage written by Robert Fowles.I don't recall where I got it (maybe someone else remembers), but it does exactly what you need without a lot of fuss. Here's some doc: /********************************************************************* * * ROUTINE: RSCS REXX (pipeline driver for RSCS 3.1) * * PURPOSE: Pipeline driver to issue RSCS 3.1 command and trap * output. No inputs; output sent to primary output. * * PACKAGE: USERTOOL * * CALLS: CP SET SMSG * * DEPENDENCIES: Calling programs may need to be aware that this * driver can CP SET SMSG IUCV at beginning and * CP SET SMSG OFF at the end. * * AUTHOR: Robert Fowles <r...@psuvm> 2/25/92 * * REVISIONS: *********************************************************************/ Best regards, Mark Wheeler > Date: Mon, 23 Mar 2009 09:53:58 -0700 > From: [email protected] > Subject: RSCS Query > To: [email protected] > > I would like to issue an RSCS QUERY LINKS and "queue" the results so I can > spin through the response looking for information. Here is a snippet from an > experimental REXX EXEC. The results from the query are displayed back at my > terminal and the @HowMany variable is always zero. Any ideas? > > Check_Links: > 'pipe cp smsg RSCS query links | stem @Rec. ' > @HowMany = @Rec.0 > Say "HowMany" @HowMany > Do x = 1 to @HowMany > . > . > . > End /* DO */ > > Scott R Wandschneider > > Senior Systems Programmer|| Infocrossing, a Wipro Company || 11707 Miracle > Hills Drive, Omaha, NE, 68154-4457|| ': 402.963.8905 || Ë:847.849.7223 || :: > [email protected] **Think Green - Please print > responsibly** > > > Confidentiality Note: This e-mail, including any attachment to it, may > contain material that is confidential, proprietary, privileged and/or > "Protected Health Information," within the meaning of the regulations under > the Health Insurance Portability & Accountability Act as amended. If it is > not clear that you are the intended recipient, you are hereby notified that > you have received this transmittal in error, and any review, dissemination, > distribution or copying of this e-mail, including any attachment to it, is > strictly prohibited. If you have received this e-mail in error, please > immediately return it to the sender and delete it from your system. Thank you. _________________________________________________________________ Express your personality in color! Preview and select themes for Hotmail®. http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme
