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
 

 

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: 4648
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 Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts ISPF - How to come out of ISPF Panel parasmalik20 TSO/ISPF 5 Tue Feb 21, 2017 7:44 pm
No new posts the use of 'B3'x character in a panel Pedro TSO/ISPF 1 Thu Feb 16, 2017 3:09 am
No new posts Design of ISPF panel prino TSO/ISPF 2 Wed Jan 25, 2017 10:31 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm


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