Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

External Routines in Rexx

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: External Routines in Rexx
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: 2360
Location: Israel

PostPosted: Wed Oct 10, 2007 3:36 pm    Post subject:
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: 1439
Location: Bangalore,India

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

Ludovic,

Might come handy to you -

http://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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Wed Oct 10, 2007 5:07 pm    Post subject: Reply to: External Routines in Rexx
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us