Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TBDISPL + PF7

Status
Not open for further replies.

vhagopian

Programmer
Nov 12, 2002
9
US
I am currently displaying an ISPF table using TBDISPL. I then want to process selections from the current display as well as the next display after hitting PF8. I have PF7 and PF8 logic where i do a TBMOD to keep the "X" next to table entries i have selected on the screen. My issue is.....How do i process entries that have been stored on the table as well as entries that have been selected on the panel? I can process the stored selections with TBSKIP and i can process entered selections with TBDISPL, but not both at the same time. Neither works for both situations or it could and i am not writing the code correctly.
 
I don't understand the question. If your table logic causes the table to be tagged for any row selected, why can you not thereafter TBSCAN for tagged rows?

Or is the issue that you want to do these in some particular order: previous page first, then next page? Your logic would only have to tag each row with a priority number, then TBSORT on priority, TBSCAN, etc.

Frank Clarke
Tampa Area REXX Programmers' Alliance
REXX Language Assn Listmaster
 
Thanks for responding. I think TBSCAN will work for values already stored on the table, but i have a combination of both values stored on the table and values entered on the panel. When the panel is first displayed, the user can put an "X" in an input field on the row they want to select. They then PF8 forward to the next screen (further down in the table). When they hit PF8, i store their selections in the table. Then they make additional selections on the panel. I now have a combination of selections stored on the table and selections entered on the panel. The problem i am having is processing ALL selections after they hit enter. TBSCAN will look for selections stored on the table, but not selections made on the screen. TBDISPL will process selections on the panel but does not process selections stored on the table. I need a way to process ALL selections made after ENTER is hit. Thanks!!
 
Simplify the process: on ENTER, take whatever screen rows have been tagged and modify the table as for PF7. Now you can process all the selected rows because they're all annotated on the table.


Frank Clarke
Tampa Area REXX Programmers' Alliance
REXX Language Assn Listmaster
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top