View previous topic :: View next topic |
Author |
Message |
JOHNCWL Beginner
Joined: 25 Feb 2004 Posts: 31 Topics: 16
|
Posted: Wed Apr 07, 2004 9:54 am Post subject: Call a REXX from another REXX |
|
|
HI,
This is a very silly ques>..
I would like to know how to call a REXX pgm from another rexx pgm
For ex:
JOHN.REXX.SAMP is a PDS with members (test1,test2 and test3)
Now Test1 should call test2 and then test3
Regds |
|
Back to top |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Wed Apr 07, 2004 10:10 am Post subject: |
|
|
By name:
for example:
TEST1:
Code: |
/* REXX */
Parse Source . . name .
Say name
"%TEST2"
Exit 0
|
TEST2:
Code: |
/* REXX */
Parse Source . . name .
Say name
Exit 0
|
If you start the process by entering:
%TEST1
You will see:
TEST1
TEST2 |
|
Back to top |
|
|
|
|