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

pageup/pagedown in ispf panel


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nitika malhotra

New User


Joined: 07 Apr 2015
Posts: 3
Location: India

PostPosted: Tue Apr 07, 2015 3:54 pm
Reply with quote

Hi,

I have coded a REXX program which reads a file and shows the file data on ISPF panel. I would like to add page up/page down logic to scroll through the file data in panel. Could you please help me how to code this logic in REXX?
I searched but everything is using ISPF tables but I am displaying data on panel.
Thank you so much in advance!
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Tue Apr 07, 2015 5:34 pm
Reply with quote

Which PHB came up with the "requirement" to display the data like this, and not use an ISPF table in the first place?
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Tue Apr 07, 2015 7:12 pm
Reply with quote

just how are you displaying the data using the panel?????
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Tue Apr 07, 2015 7:45 pm
Reply with quote

You need to define a scrollable area in your panel.

You use scrollable areas for greater than 24 line panels, but I recommend to use it for all panels for split screen situations.
Code:
)ATTR default(%¬_)                                                     
  # AREA(SCRL)  EXTEND(ON)                                             
)BODY WIDTH(&ZSCREENW) EXPAND(//)                                       
+-------------- REQUEST INDIVIDUAL ACCESS ---------------------         
%COMMAND===>_zcmd                                   %SCROLL===>_ZSCROLL
                                                                       
+Some insructions.                                                     
#TEST1                                                                #
)AREA TEST1                                                             
+Name  . ._MYNAME                                +                     
+Dept. . ._mydept       +                                               
)INIT                                                                   
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Tue Apr 07, 2015 9:20 pm
Reply with quote

Quote:
... to scroll through the file data in panel

Or you could just use the VIEW service to read and display the information.
Back to top
View user's profile Send private message
nitika malhotra

New User


Joined: 07 Apr 2015
Posts: 3
Location: India

PostPosted: Fri Apr 10, 2015 11:19 am
Reply with quote

thanku Pedro... for the solution.. m trying with the scrollable area. If i'll get some problem will ask on the post.
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 Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
No new posts Adding QMF and SPUFI to the ISPF menu DB2 20
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts Call program, directly from panel CLIST & REXX 9
Search our Forums:

Back to Top