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

PF7 and PF8 not working in Dynamic area


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

New User


Joined: 26 Apr 2010
Posts: 73
Location: India

PostPosted: Sat Dec 26, 2015 10:15 pm
Reply with quote

Hello Team,

I have defined a dynamic scrollable area panel Definition as follows :

Code:

)ATTR                                     
@  AREA(DYNAMIC) EXTEND(ON) SCROLL(ON)   
...
)BODY EXPAND(||)       
....     
@DYNVAR1
...


From my REXX, I am populating this DYNVAR1 ; but when the list grows the scroll Option doesnt work. That means each time I press PF7 or PF8, the Panel is thrown again and Page Up and Page Down doesnt work.

PLease help.
Back to top
View user's profile Send private message
prino
Warnings : 1

Senior Member


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

PostPosted: Sat Dec 26, 2015 11:06 pm
Reply with quote

You may throw panels out of frustration, but ISPF certainly does not.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Sun Dec 27, 2015 2:42 am
Reply with quote

Exactly - nothing on the mainframe "throws" anything. Do you mean "re-displayed"?

Have you checked the Keys settings whilst the panel is being displayed?
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 511
Location: Denmark

PostPosted: Wed Dec 30, 2015 2:42 pm
Reply with quote

The scroll keys do not do anything for a dynamic area. You must interrogate the variables zscrolla, zscrolln and zcmd and reposition the data yourself.
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 711
Location: Whitby, ON, Canada

PostPosted: Mon Jan 04, 2016 6:28 pm
Reply with quote

Willy Jensen wrote:
The scroll keys do not do anything for a dynamic area. You must interrogate the variables zscrolla, zscrolln and zcmd and reposition the data yourself.
Yes, this is one of the challenges to using dynamic areas, and why it is considered an advanced technique by experienced ISPF dialog developers.
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Tue Jan 05, 2016 2:20 am
Reply with quote

You have to do this again:
Quote:
From my REXX, I am populating this DYNVAR1 ;


As Willy said, you have to determine how much to scroll and then populate DYNVAR1 appropriately. In addition to those variables already mentioned, I think you also need to use .CURSOR and .CURPOS to account for cursor based scrolling.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1351
Location: Israel

PostPosted: Tue Jan 05, 2016 3:10 pm
Reply with quote

ISPF panels - beyond the basics should be helpful.
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 IMS scratch pad area IMS DB/DC 1
No new posts Dynamic Sortin DD cards SYNCSORT 8
No new posts SORT for dynamic trailer record + CSV... DFSORT/ICETOOL 14
No new posts JCL JOB Cancel/Purge Not Working JCL & VSAM 6
No new posts Dynamic condition checks COBOL Programming 5
Search our Forums:

Back to Top