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
 

 

Want to select more than one row

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Want to select more than one row
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Mon Feb 18, 2008 10:01 pm    Post subject: Reply to: Want to select more than one row
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Wed Feb 20, 2008 1:25 am    Post subject: Reply to: Want to select more than one row
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Two Selects in a single select query Rohit Umarjikar DB2 1 Fri Nov 04, 2016 8:46 pm
No new posts Select first 2 group data vice_versa DFSORT/ICETOOL 10 Mon Jun 13, 2016 2:21 pm
No new posts Query to select Null row on priority RahulG31 DB2 24 Thu Jan 21, 2016 5:45 pm
No new posts Can I use sort to select sample recor... Steve Ironmonger DFSORT/ICETOOL 3 Tue Nov 10, 2015 10:02 pm
No new posts Performance issue in the DB2 program ... Pradst57 DB2 19 Mon Oct 12, 2015 8:31 pm


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