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
 

 

PF7 and PF8 not working in Dynamic area

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Appu

New User


Joined: 26 Apr 2010
Posts: 74
Location: India

PostPosted: Sat Dec 26, 2015 10:15 pm    Post subject: PF7 and PF8 not working in Dynamic area
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

Active Member


Joined: 07 Feb 2009
Posts: 984
Location: Oostende, Belgium

PostPosted: Sat Dec 26, 2015 11:06 pm    Post subject:
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: 1715
Location: UK

PostPosted: Sun Dec 27, 2015 2:42 am    Post subject:
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

New User


Joined: 01 Sep 2015
Posts: 96
Location: Switzerland

PostPosted: Wed Dec 30, 2015 2:42 pm    Post subject:
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: 641
Location: Whitby, ON, Canada

PostPosted: Mon Jan 04, 2016 6:28 pm    Post subject:
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

Senior Member


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

PostPosted: Tue Jan 05, 2016 2:20 am    Post subject: Reply to: PF7 and PF8 not working in Dynamic area
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: 1219
Location: Israel

PostPosted: Tue Jan 05, 2016 3:10 pm    Post subject:
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    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 SCRNAME not working on my mainframe? mrsidhu12 TSO/ISPF 7 Thu Sep 01, 2016 2:17 pm
No new posts Creating a dynamic sort card in JCL u... ChitraChhabra DFSORT/ICETOOL 4 Wed Aug 03, 2016 6:15 pm
No new posts Need help on SQL Dynamic WHERE Clause subratarec DB2 12 Sat Jul 16, 2016 3:11 pm
No new posts 2 same CLIST pgm but with different n... boyti ko CLIST & REXX 5 Fri Jun 03, 2016 4:55 pm
No new posts Need to create file with Dynamic Name... kapil27 JCL & VSAM 4 Wed May 25, 2016 9:45 am


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