You may want to hold the PMR.

IIRC, to prevent scrollable areas from repositioning to the top you have to use the ISPF DISPLAY service without a panel name after the initial display. You will need to
use the REINIT section for any panel logic.

"DISPLAY PANEL(MYPABNEL)"

do while rc /= 0
  "DISPLAY"
end

BTW, DOWN/UP/LEFT/RIGHT etc are SETVERB actions so don't go through ZCMD. What you are seeing is working as designed.

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

Reply via email to