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

passing arry variable to the panel


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
raamky

New User


Joined: 16 Mar 2009
Posts: 2
Location: hyd

PostPosted: Tue Mar 17, 2009 10:25 am
Reply with quote

In my rexx program I m having the values in the array variable and I do not know the limit and I need to pass the same to the panel. Kindly suggest
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue Mar 17, 2009 12:29 pm
Reply with quote

Each panel field will need a unique name, so in your REXX you need to populate them from the stem variable.

Take a look at INTERPRET or VALUE to do this.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Mar 17, 2009 12:37 pm
Reply with quote

Convert it to ISPF table; IMHO, this is the best method for handling unknown number of entries.

O.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Tue Mar 17, 2009 9:15 pm
Reply with quote

It might not be clear from the previous posts... but ISPF does not recognize rexx stem variables.

You have to copy your stem array elements into a normal variable and as O. suggests, build an ISPF table.
Back to top
View user's profile Send private message
raamky

New User


Joined: 16 Mar 2009
Posts: 2
Location: hyd

PostPosted: Tue Mar 17, 2009 9:48 pm
Reply with quote

Can you please explain it with a small example code for my better understanding.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Mar 17, 2009 10:49 pm
Reply with quote

Look at the ISPF EDIT Models for any template code you might need.\\

TSO ? ISPF ? REXX ? Keeping them Straight.
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
No new posts Variable Output file name DFSORT/ICETOOL 8
No new posts Call program, directly from panel CLIST & REXX 9
Search our Forums:

Back to Top