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

Share stem with procedure


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

New User


Joined: 16 Aug 2005
Posts: 54

PostPosted: Sat Sep 17, 2011 10:45 am
Reply with quote

hello everybody
is it possible to share a stem. with a procedure in rexx ?

for example :

Code:
/*rexx*/

var.1='apple'
var.2='orange'
var.3='car'
var.0=3
call my_proc
exit

my_proc: procedure

do i =1 to var.0
say var.i
end



any other workaround is also welcome!
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Sep 17, 2011 11:41 am
Reply with quote

What happened when you tried it ?

Have you read about EXPOSE
Back to top
View user's profile Send private message
Eddie Sasser

New User


Joined: 10 Aug 2011
Posts: 2
Location: US

PostPosted: Wed Sep 28, 2011 2:31 am
Reply with quote

You can share a stem with the EXPOSE parm...Like so:

my_proc: procedure expose var.
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 STEM usage in REXX CLIST & REXX 14
No new posts Invoke stored procedure via batch JCL. DB2 2
No new posts Calling COBOL DB2 program from a COBO... COBOL Programming 2
No new posts Cond parameter and Rc code of a proce... JCL & VSAM 5
This topic is locked: you cannot edit posts or make replies. Internal Autonomous Stored Procedure ... DB2 6
Search our Forums:

Back to Top