This is regarding an issue with getting the SCROLL feature to work in an ISPF panel.
I am trying to display the data from an ISPF Table ( tablename = WHEREIS) and I am also expecting the displayed panel ( PANEL NAME=WHEREIS2) to be scrollable. I created a PANEL with a Scroll field set to 'cursor' . In the REXX program ( rexx pgm is ROWCNT) , from where I am displaying the table , I am actually populating the ISPF table by fetching data from a DB2 Table.
Now, my issue is that whenever I do F7 or F8 , the panel actually ends. I dont see the scroll working.
Here is the piece of rexx code where I am displaying the table .
'ISPEXEC TBTOP WHEREIS'
'ADDPOP COLUMN(1) ROW(1)'
'ISPEXEC TBDISPL WHEREIS PANEL(WHEREIS2) CURSOR(Q) CSRROW(1)'
If Stop = 'STOP' Then Exit
SAY 'DISPLAYED PANEL RC = ' RC
'ISPEXEC TBCLOSE WHEREIS'
I am fairly new to ISPF and this is one of my first few ISPF panels. Can one tell me what's missing in the way I have displayed the panel .. or could anything else be wrong ?