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

How to do page navigation in REXX?


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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: 8794
Location: Welsh Wales

PostPosted: Mon Nov 24, 2014 6:39 pm
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
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

Senior Moderator


Joined: 14 Mar 2007
Posts: 10727
Location: italy

PostPosted: Tue Nov 25, 2014 1:05 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts How to replace a string dynamically i... CLIST & REXX 10
No new posts Determine Library REXX exec was execu... CLIST & REXX 7
No new posts Any examples of calling FTP from REXX? CLIST & REXX 1
No new posts SummeRx: a new framework for REXX z/OS CLIST & REXX 6
No new posts A command to change LRECL of an exist... JCL & VSAM 7
Search our Forums:

Back to Top