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
 
Scrolling in ISPF Panel

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Ganapathy.venugopalan

New User


Joined: 08 Feb 2006
Posts: 2

PostPosted: Thu Feb 09, 2006 3:21 pm    Post subject: Scrolling in ISPF Panel
Reply with quote

Friends,

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 ?

Thanks
Ganapathy
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Thu Feb 09, 2006 4:18 pm    Post subject: Re: Scrolling in ISPF Panel
Reply with quote

An ISPF TBDISPL command will require a panel with a )MODEL definition. Could you please post your panel code also?
Back to top
View user's profile Send private message
Ganapathy.venugopalan

New User


Joined: 08 Feb 2006
Posts: 2

PostPosted: Thu Feb 09, 2006 6:02 pm    Post subject: Re: Scrolling in ISPF Panel
Reply with quote

Hi,

I did use a )MODEL in the panel code. This is how I was invoking the panel.

'ISPEXEC TBDISPL ISPFTAB1 PANEL(ROWCNT02) CURSOR(Q) CSRROW(1)'

However, as I was trying a few things, I thought I shoudl try to set the cursor to a far behind row.. So changed the CSRROW to CSRROW(31) .

And this worked ! ! I was able to scroll.

If I take off this CSRROW completely, then also the scroll works. However, If I set it to CSRROW(1)' then I dont get to do the scrolling.

So my problem now boils to just understanding the role of CSRROW in affecting scrolling. The manual says that CSRROW is for Auto selction.

Any thoughts on how CSRROW could have impacted the scrolling.

Thanks
Ganapathy




[/quote]
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts Conditional highlighting of rows in I... packerm CLIST & REXX 2 Thu Sep 21, 2017 6:50 pm
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 10 Tue Sep 05, 2017 4:24 pm
No new posts saving your settings in ISPF. VintageReceiver TSO/ISPF 9 Wed Jul 26, 2017 6:42 pm
No new posts Trace in CLIST PANEL cvnlynn CLIST & REXX 1 Thu Jun 22, 2017 11:06 pm

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