How to retrieve multiple rows corrected by user in panel



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

How to retrieve multiple rows corrected by user in panel

Postby malli419 » Mon Jun 11, 2012 4:57 pm

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
malli419
 
Posts: 13
Joined: Mon Apr 16, 2012 2:25 pm
Has thanked: 4 times
Been thanked: 0 time

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

 

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

Postby NicC » Mon Jun 11, 2012 5:50 pm

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.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

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

Postby Pedro » Mon Jun 11, 2012 7:12 pm

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.
Pedro Vera
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times

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

Postby malli419 » Wed Jun 27, 2012 5:22 pm

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
malli419
 
Posts: 13
Joined: Mon Apr 16, 2012 2:25 pm
Has thanked: 4 times
Been thanked: 0 time


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post