View previous topic :: View next topic
|
Author |
Message |
Gopalakrishnan V
Active User
Joined: 28 Jun 2010 Posts: 102 Location: chennai
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
Gopalakrishnan V
Active User
Joined: 28 Jun 2010 Posts: 102 Location: chennai
|
|
|
|
Thank you for your reply
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
|