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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hi, i have 5 cics map's , but i do

Status
Not open for further replies.

kvvict

Programmer
Sep 13, 2003
5
IN
hi,
i have 5 cics map's , but i don't know
how to show each map when the user moves
from each map not in sequence (i.e say
user moves from map 1 to 7 map ,from map 7
to 3 map ,back to map1).

SEE IF U SHOW 10 EMP INFORMATION
IN EACH MAP .. , but the user wants information from
15-25 empno in a map then , the emp info must be
one half of 1 map and next half of the next map.

See! we have "EXEC CICS SEND PAGE ACCUM"
CICS COMMAND , but it shows MAPS 1 OT 7
IN SEQUENCE MANNER ,but I WANT IN RANDOM
MANNER ... can anyone EXPLAIN ME???






 
Hi,
As per my understanding you want to display a set of employee details on the screen. The employee details are more in number so as to fit in one screen. Thats the reason you want to have 5-7 maps. If this is the problem then the solution is as follows. Your employee details must be stored in a flat file, VSAM fine or DB2 tables.
You only need to have 1 map. Initially you will send say only 10 employees details on the screen. And the first and the last employee's details need to be stored in the commarea or in TSQ's. Then once the information is displayed on the screen then the user will either press F7 or F8. If F8 is pressed then the user wants next 10 employee details. In that case you will use the last name that you had saved in either in the commarea or in the TSQ and then use that as a key and start browsing with that key. In this way you will be able to send the next 10 records to the screen.
Since you have mentioned that you are using the SEND PAGE command then in that case you are not using the map. If that is the case then you can still use the above logic, incase of using the STARTBR and READNEXT you can use the READ command and the then use SEND PAGE. In this way you will not have to create 5-7 maps and handle the logic withing the program only.
 
hi ,

Thanks aloktewari! for ur Reply it solved my Problem .
see! can anyone tell me how to use "SEND PAGE"
in cics Program ,i know the Concept & Syntax but i don't
know how to implement it in my program( sample
Coding like Algorithm will be enough for me )
if anyone can able to tell it ..

Thanks,Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top