Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.


Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Passing aprameters from a REXX to another Rexx

Passing aprameters from a REXX to another Rexx

Passing aprameters from a REXX to another Rexx

Hello everyone, I am trying to pass in a isredit macro a parameter from a rexx to another independet rexx(not a rutine)

I would like to start the first rexx save some values into a system variable if is there any variiable for this. And then read it from another rexx. Is this possible or i am just asking for to much?

Many thanks,

RE: Passing aprameters from a REXX to another Rexx

Hi tatoriver,

It depends on platform - I'm using REXX only on PC and on iSeries.

1. On the PC I would do it so, that the first REXX program writes the parameter into a file and the second REXX programm could then read that parameter from that file.

The other possible way is to use rxqueue (REXX-Queue)
See e.g.

2. On the iSeries it would be possible to use external dataqueue
or write the parameter into a source physical file member, or into a stream file in IFS (Integrated File System).
But IMHO the simplest way is to use a special object supported at the control language level called DTAARA (Data Area)

But I don't know if mainframe has something like queue buffers or data areas - maybe look into your REXX manual.

RE: Passing aprameters from a REXX to another Rexx

You should use the SHARED variable pool to pass such parameters.  VPUT to the pool and have the macro VGET the values.

Frank Clarke
--America's source for adverse opinions since 1943.

RE: Passing aprameters from a REXX to another Rexx

Great Many thanks

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close