Page 1 of 1

How to retrieve multiple rows corrected by user in panel

PostPosted: Mon Jun 11, 2012 4:57 pm
by malli419
Hi Everyone,

As per requirement i displayed data in panel from a DB2 table. Now there is input field which is displayed in panel the user can correct that, my duty is to retrieve the corrected one from the panel and update my db2 table.

when customer corrects any one row am able to update that in my db2 table.

Here my question is if customer updates multiple rows at the same time how can we retrieve the data from panel so that i can update my db2 table

if anyone has ideas let me know......

Thanks

Re: How to retrieve multiple rows corrected by user in panel

PostPosted: Mon Jun 11, 2012 5:50 pm
by NicC
Are you talking about an ISPF table? What did you not understand after reading the section on table services in the manual - and running LOTS of tests to understand the process? I say 'LOTS' because that is what I did when reading the manual.

Re: How to retrieve multiple rows corrected by user in panel

PostPosted: Mon Jun 11, 2012 7:12 pm
by Pedro
Read the section 'Processing selected rows' in ISPF Dialog Developers Guide and Reference. In summary, use TBDISPLAY with no PANEL() until ZTDSELS is zero. The table variables are populated each time.

Re: How to retrieve multiple rows corrected by user in panel

PostPosted: Wed Jun 27, 2012 5:22 pm
by malli419
Thanks Pedro an NicC sorry for the delay i have gone through the manual and used ZTDSELS in my code it is working fine..

once again sorry for delay