Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10308
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 ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 9 Tue Sep 05, 2017 4:24 pm
No new posts How to Run Rexx Macro? Kalaivignesh CLIST & REXX 5 Fri Sep 01, 2017 9:08 pm
No new posts Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us