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: 10274
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
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm
No new posts Convert CLIST to REXX cvnlynn CLIST & REXX 12 Tue Jun 27, 2017 2:06 am


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