View previous topic :: View next topic
|
Author |
Message |
nitika malhotra
New User
Joined: 07 Apr 2015 Posts: 3 Location: India
|
|
|
|
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 |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
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 |
|
|
Mickeydusaor
Active User
Joined: 24 May 2006 Posts: 258 Location: Salem, Oregon
|
|
|
|
just how are you displaying the data using the panel????? |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
nitika malhotra
New User
Joined: 07 Apr 2015 Posts: 3 Location: India
|
|
|
|
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 |
|
|
|