In <[email protected]>, on
05/18/2012
   at 08:36 AM, Scott Ford <[email protected]> said:

>I assumed I misunderstand how parameters are passed in Rexx to
>Assembler

That depends on what environment you specify. However, in all cases
the save area chaining is the same, and that's where your dirst error
was.

ADDRESS TSO FOO BAR passes the address of a CPPL in R1. In your case
the command you specified was CALL, and it was CALL that invoked your
assembler routine rather than your REXX code. CALL passes the address
of a one word list in R1, and that list points to a halfword length
followed by the parameter text; in your case, CLASS(USER.

You probably should be using ADDRESS ATTACH or ADDRESS LINK for what
you are doing. See 2.5.9 in SA22-7790, z/OS TSO/E REXX Reference for
more details.
 
-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to