Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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

Senior Member


Joined: 07 Feb 2009
Posts: 1113
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: 2033
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

Active User


Joined: 01 Sep 2015
Posts: 212
Location: Denmark

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: 667
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: 2112
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: 1284
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 SDSF - SJ command not working properly mistah kurtz IBM Tools 5 Tue Jun 26, 2018 2:33 pm
This topic is locked: you cannot edit posts or make replies. Need help - DB2 Dynamic SQL Program e... NikhilGuptaGaya DB2 6 Sat Jun 23, 2018 1:58 pm
No new posts Enterprise PL/I - dynamic allocation ... prino PL/I & Assembler 1 Mon Jan 29, 2018 10:17 pm
No new posts Free books in the Richmond, VA area Phrzby Phil General Talk & Fun Stuff 0 Wed Dec 27, 2017 10:22 pm
No new posts REXX LISTDSI () SMSINFO is not working upendrasri CLIST & REXX 4 Fri Nov 17, 2017 11:33 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us