I had a bug in my previous snippet!
"DISPLAY PANEL(MYPANEL)"
do while rc = 0
"DISPLAY"
end
Panel processing including scrolling is documented in the ISPF manual
under "defining the reinitialization section"
http://publib.boulder.ibm.com/infocenter/zos/v1r12/topic/com.ibm.zos.r12.f54dg00/rips.htm#rips
On 28/02/2013 2:14 AM, Dan wrote:
Thanks Hank.
The scrolling of a scrollable area works as documented, when a scroll field is not specified (as with
ISR@PRIME). It basically does "CSR" scrolling. The problem arises when you simply hit ENTER,
the display repositions back to the top and there seems to be no way to prevent this action. I added
"&ZSCROLLD = 'CSR'" to the panel and it still repositions to the top when
ENTER is pressed.
The other problem is when the DOWN primary command is used it leaves the remaining operands in primary
command field and performs the default DOWN action (which seems to be DOWN PAGE). If you enter "DOWN
FRED" it does NOT give an error but rather pages down and leaves "FRED" in the primary command
field with the cursor where it was when you hit ENTER. "DOWN PAGE" works slightly different as the
primary command field IS cleared but the cursor is NOT repositioned to the beginning of the primary command
field.
A PMR has been opened.
Dan
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN