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

Senior Member


Joined: 07 Feb 2009
Posts: 1018
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: 1788
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: 127
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: 650
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: 2038
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: 1228
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 Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Dynamic array request/response contai... Suja.Sai CICS 2 Tue Jan 24, 2017 11:37 am
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts SCRNAME not working on my mainframe? mrsidhu12 TSO/ISPF 7 Thu Sep 01, 2016 2:17 pm


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