Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!TREARN.BITNET!PROHVK32 From: PROHVK32@TREARN.BITNET (Cem Turgay) Newsgroups: comp.lang.asm370 Subject: Re: Output from REXX directed to an ASSEMBLER prog Message-ID: <9008161531.AA28262@ucbvax.Berkeley.EDU> Date: 16 Aug 90 15:31:33 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: IBM 370 Assembly Programming Discussion List Distribution: inet Organization: The Internet Lines: 48 X-Unparsable-Date: Thu, 16 Aug 90 15:14:07 TUR Yes, you can trap Rexx outputs from Assemble program. It's not good way to use Console spooler. You have 3 way to access rexx outputs that; 1) You can send this outputs like parameter to assembly 2) You can send this outputs in rexx variable to assembly 3) Write a Cms file after then read from assembly 3.th option slower than others. 2.nd option harder to use for beginners. 1.st option has a 2 kind of way; a) You can use Plist pointer (parameter list) b) You can use Eplist pointer (Extended parameter list) If each words of output shorter than 8 char. I recommend option a. But outputs are long and mixcase, you have to use Eplist. I'll show a little example, It's easy way to learn. I'll call our assembly the 'SAMPLE' and rexxy the 'SENDER' /* SENDER EXEC */ ... 'SAMPLE 'output /* you changed it instead of SAY output */ ... * SAMPLE ASSEMBLE ... LR R10,R0 ; get address of eplist LM R2,R3,4(,R10) ; get start & end address of output * now you have starting address of output string in Register 2 and * ending address of output string in Register 3 ... END You must assemble SAMPLE and MODULATE it. ASSEMBLE sample # LOAD sample # GENMOD sample Is it ok ? B-) Take care bye... BR-BCT-CLI-DDR-EX-HDR-ICM-ISK-LDR-MVC-NR-PACK-RRB-SIO-TIO-UNPK-ADR-SRDA X Cem Turgay L L student of Ege University Computer Center of Izmir OEYO8729@TREARN R E programmer on DAPRO Computer Co. Izmir, TURKEY PROHVK32@TREARN S C IBM 3090 VM/SP Hpo. Rel.5 S L I know that I don't know A CLRIO-DISCS-EDMK-IVSK-LPSW-MXR-SER-SRDL-STOSM-MVI-CLM-LER-VADR-VST-VLZR