Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!ucsd!pacbell.com!decwrl!ucbvax!NUSVM.BITNET!CCECHK From: CCECHK@NUSVM.BITNET (Heng Kek) Newsgroups: comp.lang.asm370 Subject: Using REXX output from ASSEMBLE. Message-ID: <9008170603.AA23251@ucbvax.Berkeley.EDU> Date: 17 Aug 90 06:04:01 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: IBM 370 Assembly Programming Discussion List Distribution: inet Organization: The Internet Lines: 35 X-Unparsable-Date: Fri, 17 Aug 90 11:53:14 SST Greetings again, A coupla days ago I posted a problem about directing REXX output to an ASSEMBLE program. I'd like to thank the 2 people who responded. However, I think I may have been ambiguous and I apologise. I need to modify an ASSEMBLE program to call a REXX program which processes a file and outputs the results to the terminal. In other words, I'm running the ASSEMBLE program to call the REXX program and not the other way around. The output of the REXX program may be very large - 3000 records may be expected, depending on the size of the file it processes. To give an idea of the REXX file, the following is a gist: /**/ Do Until .... : Say OUTPUT End Exit My question is: how may I get access to the variable,'OUTPUT', from the ASSEMBLE program? A possible solution I thought of was: to send OUTPUT to the program stack and then get the ASSEMBLE prog to read the stack, but I'm worried about overflowing the stack. And also, how do I read the stack from the ASSEMBLE prog? Thanks for your attention. Sincerely Heng Kek National University of Singapore.