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
 
ISPF panels and cursors

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
biswadeepghosh

New User


Joined: 03 Jan 2008
Posts: 14
Location: Pune

PostPosted: Tue Jan 08, 2008 2:24 pm    Post subject: ISPF panels and cursors
Reply with quote

From an ISPF panel user can input values which are passed to the program. The program then executes a cursor with the values and returns the data (one or many rows).

Now I need to display the data in a tabular format in another ISPF panel. Can anybody suggest how can i get around this problem?
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Jan 08, 2008 2:33 pm    Post subject:
Reply with quote

Quote:
Can anybody suggest how can i get around this problem


Where is the problem??? icon_confused.gif

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

New User


Joined: 03 Jan 2008
Posts: 14
Location: Pune

PostPosted: Tue Jan 08, 2008 2:38 pm    Post subject:
Reply with quote

1. Can I create an ISPF table and use it in the program to add value/rows to the table ? If yes would it be a permanent table?

2. Can I define a temp table and access it from subsequent ISPF panel?
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Jan 08, 2008 2:53 pm    Post subject:
Reply with quote

The answers:

1. Yes, you can create an ISPF table and use it in your REXX. You can populate it dynamically, and you can decide whether you want it to be a permanent or temporary table.

2. The is no 'table' concept in REXX (like in COBOL or NATURAL).

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

REXX Moderator


Joined: 13 Mar 2006
Posts: 1243
Location: Israel

PostPosted: Tue Jan 08, 2008 9:43 pm    Post subject:
Reply with quote

1. That's very easy:
Do first TBCREATE
Then you have a loop of DB2 FETCH followed by a TBADD
Once the loop is over, do TBTOP
and display the table with TBDISPL
As you don't want to save the table, finish with TBEND

Keep the ISP Services Guide open...

2. The panel should have )MODEL line after the )BODY
That's also very easy.
Lots of info in ISPF Dialog Tag Language Guide and Reference
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 Conditional highlighting of rows in I... packerm CLIST & REXX 2 Thu Sep 21, 2017 6:50 pm
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 9 Tue Sep 05, 2017 4:24 pm
No new posts Getting Mutiple input from Panels vidyaa CLIST & REXX 12 Mon Aug 14, 2017 1:28 pm
No new posts saving your settings in ISPF. VintageReceiver TSO/ISPF 9 Wed Jul 26, 2017 6:42 pm
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm

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