IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

External Routines in Rexx


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ludovic Janssens

New User


Joined: 08 Oct 2007
Posts: 2
Location: Belgium

PostPosted: Wed Oct 10, 2007 3:10 pm
Reply with quote

Hello there,

I am learning REXX and I read about calling subroutines in compiled languages, but I did not encounter any information on calling external subroutines written in REXX. Can anyone provide some explanations and a small example?
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Oct 10, 2007 3:36 pm
Reply with quote

Have you tried the fine manual?

O.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Wed Oct 10, 2007 3:38 pm
Reply with quote

Ludovic,

Might come handy to you -

publib.boulder.ibm.com/infocenter/cicsts/v2r2/index.jsp?topic=/com.ibm.cics.rexx.doc/dfhrx/dfhrx00035.htm
Back to top
View user's profile Send private message
Ludovic Janssens

New User


Joined: 08 Oct 2007
Posts: 2
Location: Belgium

PostPosted: Wed Oct 10, 2007 4:52 pm
Reply with quote

Thank you both!

Apparently, I have been looking in the wrong manuals... Neither the REXX reference manual nor the REXX user guide gave clear information on it.

The only issue remaining is that I would like to pass the values of a stem from a main script to a subroutine. Maybe it is not done given the amount of data to pass and the limits of REXX (20 arguments)? Please advise.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Oct 10, 2007 5:07 pm
Reply with quote

the only issue with rexx external things is that in a native
environment the parameter passing options are very limited
no expose function

You can have collateral effects but as far as returning things
the only thing that You can return is the Return_code
( which can be numeric, but also a string )

On the other hand running in an ISPF environment You can
exchange back and forth lots of data using the VGET/VPUT mechanism
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top