Article View: comp.lang.asm370
Article #384Re: Using REXX output from ASSEMBLE.
From: Lutz Hamann
Date: Fri, 17 Aug 1990 13:59
Date: Fri, 17 Aug 1990 13:59
43 lines
2210 bytes
2210 bytes
Hallo Heng |
I'm a systemprogrammer of Academy of Science of EAST-Berlin and member of
this list since several days. But I have been dealing with Assembler-
programming in VM/CMS for a longer time. I'll try to answer your questions |
On Fri, 17 Aug 90 11:53:14 SST Heng Kek said:
>
>/**/
>
>Do Until ....
> :
> Say OUTPUT
>End
>Exit
>
>My question is: how may I get access to the variable,'OUTPUT',
>from the ASSEMBLE program?
To get a value from a rexx-exec or to modify it, REXX has a EXECCOMM-Interface.
For beginners it's not easy to use it, that's why some times ago I wrote a
macro. If you want, I'll send you the macro. But the condition for using this
EXECCOMM-Interface is: Being in an REXX or EXEC2-Environment |
I think it would be easier to rewrite the exec (for instance instead SAY an
EXECIO), as to write tricky assembler-programs (may be I did not understand
your basic problem ?).
>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?
>
To read a stack from an assembler-program use the WAITRD-Function via SVC 202.
For more information ask your system-engineer (where to read the description).
Hope this helps a little |
Bye, bye Lutz
P.s. We are not a full EARN-member yet, so our node is unknown to most of the
world (but we hope to stay it in september). So please, any answers do
n o t send to me directly, but through the list |
Technical Details
Message-ID:
<9008171359.AA18849@ucbvax.Berkeley.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!ucbvax!DB0ADW11.BITNET!RZA31LHReferences:
<CCECHK@NUSVM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!ucbvax!DB0ADW11.BITNET!RZA31LH
From: RZA31LH@DB0ADW11.BITNET (Lutz Hamann)
Newsgroups: comp.lang.asm370
Subject: Re: Using REXX output from ASSEMBLE.
Message-ID: <9008171359.AA18849@ucbvax.Berkeley.EDU>
Date: 17 Aug 90 13:59:40 GMT
References: <CCECHK@NUSVM>
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: IBM 370 Assembly Programming Discussion List
<ASM370@OHSTVMA.BITNET>
Distribution: inet
Organization: The Internet
Lines: 43
X-Unparsable-Date: Fri, 17 Aug 90 08:41:23 MEZ