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
 

 

How to do page navigation in REXX?

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

Active User


Joined: 28 Jun 2010
Posts: 102
Location: chennai

PostPosted: Mon Nov 24, 2014 6:36 pm    Post subject: How to do page navigation in REXX?
Reply with quote

Hi All,

I am new to REXX and I got an assignement as like below and I need your help.

I have to display all the state codes and corressponding Zipcodes of USA in a Panel. How do I create that panel since it cannot display all the rows in single page.

We know the panel have the limit on number of rows per page. I need to know how to do page navigation on the panel to display more number of values with some function keys.

Please share your approach and if you share the coding then it would be grateful.
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: Mon Nov 24, 2014 6:39 pm    Post subject:
Reply with quote

Build the data into an ISPF table and then build the table display panel and then you only need the one panel which you can scroll up and down on using PF7 & PF8 as per usual.
Back to top
View user's profile Send private message
Gopalakrishnan V

Active User


Joined: 28 Jun 2010
Posts: 102
Location: chennai

PostPosted: Tue Nov 25, 2014 12:58 pm    Post subject: Reply to: How to do page navigation in REXX?
Reply with quote

Thank you for your reply icon_smile.gif

I am clear with creating the ISPF table as you suggested. Next step, How to do scroll functions in REXX with PF7 and PF8. I have searched so many forums and manual and couldnt able to find the exact code to handle scrolling functions.

Could you please share some sample codes.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Tue Nov 25, 2014 1:05 pm    Post subject: Reply to: How to do page navigation in REXX?
Reply with quote

in a properly designed ISPF application ( whatever the language ) the panel navigation is handled by ISPF dialog manager itself
no need to take any action in the code ( apart checking for the END/RETURN/CANCEL actions )

read the manuals about TABLES and SCROLLABLE FIELDS/AREAS
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 REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm


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