IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Want to select more than one row


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sureshbabuamara

New User


Joined: 20 Sep 2007
Posts: 16
Location: India

PostPosted: Mon Feb 18, 2008 9:35 pm
Reply with quote

Hi All,

Code:

Example Panel
SEL       JOBNAME      STEPNAME       PF7 to Page up  PF8 to Page down

S          JOB1                                 
           JOB2
S          JOB3        STEP0015
           JOB4   
           JOB5   
            .
            .
            . 
S          JOB99
           JOB100


Using Table (TBDISPLAY and MODEL) I am able to select only one JOBNAME(row), but not more than that.

My requirement is:
1. I need to capture if user selected more than one JOBNAME (STEPNAME column is also an input field (like SEL field), need to capture if entered).
2. I want to use PF7(Page UP) and PFUI8(Page Down) to display all the JOBNAMES on single panel, because the number of jobs in input file are dynamic.

I have searched for smillar kind of requirement on several forums, but there is no luck. Can any one provide me the solution or any link which you have already come across? So that it will be a very great help for me.

Suresh
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Feb 18, 2008 10:01 pm
Reply with quote

issue the tbdispl in a loop, keeping on doing it until You get a return code different from 4
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ISPREF04/2.67.3?SHELF=ISPBKM10&DT=20000713141938&CASE=
Back to top
View user's profile Send private message
sureshbabuamara

New User


Joined: 20 Sep 2007
Posts: 16
Location: India

PostPosted: Wed Feb 20, 2008 1:16 am
Reply with quote

Hi enrico sorichetti,

Thanks for the link. It helped me a lot.

I need some other help. When I use PF7 or PF8 key the control is going back to program (as it mentioned in the link given above), because of this I am unable to select the JOBNAMEs in the next set of display when I did PF8.

Even if I handle PF7/8 in REXX program, the selections that made in the previous(before PF8) screen is getting cleared because of displaying the panel again.

Can you please help me on this, where I want to handle PF7/8 keys and already selected data on previous screen should not get cleared.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Feb 20, 2008 1:25 am
Reply with quote

Thats not how I understand it
unless You fiddled around with pfkeys definition
the behavior should be transparent
Quote:
4
The Enter key was pressed or a scroll command was entered. The first or both of the following occurred:
...
...


just remember to issue the tbdispl without a panel name
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Dynamically pass table name to a sele... DB2 2
No new posts SELECT from data change table DB2 5
No new posts Select two different counts from SQL... DB2 6
No new posts Select a DB2 value in a specific deci... DB2 4
No new posts How can I select certain file dependi... JCL & VSAM 12
Search our Forums:

Back to Top