I want to throw a small help map to the existing screen so that the contents are not overlapping as well as the previous screen is not completely erased.How can i achieve this?.When i tried erase with send help map,the previous screen is erased.when i am not giving erase.the fields in the previous map is overlapping with the help map.
You can throw a screen ( something like a popup ) by sending two maps.
EXEC CICS SEND MAP1
EXEC CICS SEND MAP2
EXEC CICS RETURN
( I have not given with the complete syntax for the cics commands. )
For the fields which is overlapped by the second map , corresponding fields with initial value spaces need to be defined in the physical map.
You could trap the Cursor position by using the EIBCURPOS as once the user tries to enter value for that particular field, the cursor will have to be placed in that position, now when the cursor reaches that appropriate position just execute SEND MAP( Help Map ) Command without ERASE option in it.
Hope this helps.