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
 
passing arry variable to the panel

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: passing arry variable to the panel
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: 8593
Location: Back in jolly old England

PostPosted: Tue Mar 17, 2009 12:29 pm    Post subject:
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: 2360
Location: Israel

PostPosted: Tue Mar 17, 2009 12:37 pm    Post subject:
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

Senior Member


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

PostPosted: Tue Mar 17, 2009 9:15 pm    Post subject: Reply to: passing arry variable to the panel
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    Post subject:
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

Moderator Team Head


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

PostPosted: Tue Mar 17, 2009 10:49 pm    Post subject: Reply to: passing arry variable to the panel
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Move from Comp3 variable to Edited Va... sreekusr COBOL Programming 8 Thu Aug 10, 2017 4:20 pm
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm
No new posts Trace in CLIST PANEL cvnlynn CLIST & REXX 1 Thu Jun 22, 2017 11:06 pm

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