Smart questions
Smart answers
Smart people
Join Tek-Tips Forums
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • 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!

Join Tek-Tips
*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 RexxHelpful Member! 

tatoriver (Programmer) (OP)
14 Apr 09 15:45
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,
ignacio
mikrom (Programmer)
15 Apr 09 3:53
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.
http://www.ibm.com/developerworks/library/l-rexx.html

2. On the iSeries it would be possible to use external dataqueue
http://www.geocities.com/SiliconValley/Garage/3323/as4003.html
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.
Helpful Member!  rexxhead (Programmer)
15 Apr 09 8:24
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.

tatoriver (Programmer) (OP)
15 Apr 09 11:28
Great Many thanks

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!

Back To Forum

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