Bill,

What Lionel illustrated is how I make calls in Rexx also. The call can also
be an external Rexx program residing in the same PDS.

Scott

On Mon, Sep 30, 2019 at 10:13 AM Lionel B Dyck <[email protected]> wrote:

> The 'CALL CODE 0' and 'CALL CODE 0 100' are simply calls to a subroutine
> with a label of code passing arguments of 0 or 0 and 100.  Nothing magic or
> special.
>
> See same:
>
> /* rexx */
> call code 0 100
> exit
> code:
> arg one two
> say 'one' one 'two' two
> return
>
>
> Lionel B. Dyck <sdg><
> Website: http://www.lbdsoftware.com
>
> "Worry more about your character than your reputation.  Character is what
> you are, reputation merely what others think you are." - John Wooden
>
> -----Original Message-----
> From: IBM Mainframe Discussion List <[email protected]> On Behalf
> Of Bill Giannelli
> Sent: Monday, September 30, 2019 9:10 AM
> To: [email protected]
> Subject: Re: Rexx calls versus branching
>
> Thank you very much for your response.
> I also have a Rexx routine that has "call code 0" and call code 0 100"
> which seems to branch to a routine "code" for error handling?
> how are the 0 and 100 values processed?
> thanks
> Bill
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send email
> to [email protected] with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>
-- 
Scott Ford
IDMWORKS
z/OS Development

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

Reply via email to