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.
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
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.
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.
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 !!