View previous topic :: View next topic
|
Author |
Message |
ravi30 Currently Banned New User
Joined: 04 Oct 2007 Posts: 10 Location: chennai
|
|
|
|
i need to send the whole db2 table data to the cics map for viewing . think i can do this by the accum and send page but how do u think i can accum the records one by one and display them as a single page. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
i need to send the whole db2 table data to the cics map for viewing |
I suspect this will not happen unless this is a very small table.
Quote: |
how do u think i can accum the records one by one and display them as a single page |
Read all of the rows and add the needed values to accumulators in working-storage. When all of the rows are read, move the accumulated values to the map fields and send the map to the terminal so the user can see the values.
If i've misunderstood what you want to do, please clarify and include some sample data and the output you want the user to see. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
how many rows/lines do You have to display,
remember, the ergonomics of computer/human_being interaction advises
not to display in paging mode more than a few pages ,
the human in front of the screen will have a hard time paginating back and forth.. just to find the single line of interest !! |
|
Back to top |
|
|
|