IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

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

Senior Member


Joined: 07 Feb 2009
Posts: 1226
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: 2432
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 User


Joined: 01 Sep 2015
Posts: 397
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: 692
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: 2206
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: 1348
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

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts AFRREBLK - Dynamic DSN IBM Tools 9
No new posts FSET not working on my receive CICS 3
No new posts Group selective VB records - Trailer ... DFSORT/ICETOOL 16
No new posts Mainframe jcl job with href links not... All Other Mainframe Topics 3
No new posts Dynamic file read via JCL JCL & VSAM 3

Back to Top