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: 10203
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
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 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
No new posts Replace repeated JCL with looping REXX prino CLIST & REXX 3 Thu Oct 13, 2016 5:30 am
This topic is locked: you cannot edit posts or make replies. Need to code a Rexx PGM sundaram.naveen CLIST & REXX 18 Thu Oct 06, 2016 6:45 pm
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm


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