Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 2025
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: 4648
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
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts Format to pipe delimited with variabl... pshongal SYNCSORT 6 Wed Sep 14, 2016 2:48 pm
No new posts Rexx Panel Validation ajithajt CLIST & REXX 6 Sun Jul 17, 2016 10:50 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us