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 page down processing

Status
Not open for further replies.

KiwiREXXDude

Programmer
May 27, 2003
95
AU
I was wondering if there was a way to do a page down in a TBDISPL without it processing the selected options? Basically I want to present an ISPF table but allow the user to page down without the options they put on the current rows being processed.

Thanks for any help.
 
You can try to trap PF7/PF8 by first setting them to "END", then interrogate which PF key was set when it returns to the dialog, but I think that defeats the purpose since you won't actually get scrolling anymore.

Is the command ("DOWN" in this case) available via an ISPF variable? Does ZTDSELS get unset or reset if the marked rows are not immediately handled?

Frank Clarke
Tampa Area REXX Programmers' Alliance
REXX Language Assn Listmaster
 
What I have found is if you select nothing the PF key is processed but the ZPFKEY variable is not set, but if you select something and hit "down", the ZTDSELS and ZPFKEY are both set.

It gives me something to work with if I can save the table with selects and subsequent scrolls and process it later, but I think the ZTDSELS will be reset. It would probably be messy but I could create an 'actions' table by 'recording' ZTDSELS, then process it when there is a straight enter...
 
I think that's your only option. Why can't the individual selections be processed as discovered?

Frank Clarke
Tampa Area REXX Programmers' Alliance
REXX Language Assn Listmaster
 
I want people to be able select entries from an entire table and process them in a single batch job. On 'talking about it', I realise I can collect the entries then process them at the end of table processing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top