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
 
Share stem with procedure

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
knobi

New User


Joined: 16 Aug 2005
Posts: 46

PostPosted: Sat Sep 17, 2011 10:45 am    Post subject: Share stem with procedure
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: 8593
Location: Back in jolly old England

PostPosted: Sat Sep 17, 2011 11:41 am    Post subject:
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    Post subject:
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    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 Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts Can I traverse a STEM variable? chong.zhou CLIST & REXX 5 Wed May 31, 2017 3:54 pm
No new posts Calling procedure with multiple entri... steve-myers PL/I & Assembler 5 Fri Jan 27, 2017 3:33 pm
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts Access SQLCA fields inside a stored p... gangapd DB2 6 Thu Oct 27, 2016 10:20 am

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