IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Problem when Overlaping two MAPS


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dharmendra_kp

New User


Joined: 10 Mar 2005
Posts: 33
Location: Lewiston

PostPosted: Mon Jun 18, 2007 3:45 pm
Reply with quote

Hi Everyone,
I am developing a new CICS program which overlaps two maps and getting an issue in part of label fields displayed on background screen being also displayed on later screen. This is not desirable and I have to fix this issue really quick.

the issue
MAP1 = COLUMN =1, LINE 1, SIZE= (24,80)
MAP2 = COLUMN =1,LINE =1 SIZE =(24,80)

but MPA2 OCCUPIES POS from LINE# 19, 20, 21, 22, 23, 24 only .

scenario in detail:
logic:
STEP 1> build MAP1 & MAP2 fields
STEP 2> SEND MAP1
STEP 3> SEND MAP2
step4 > return with trans id and commarea

issue:
the field displayed on MAP1 LINE # 19 thru 24 also appears on the screen
final screen display.

I will be glad if anybody could suggest a solution ASAP.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Mon Jun 18, 2007 3:53 pm
Reply with quote

Why aren't you sending the second map with an erase?
Back to top
View user's profile Send private message
mkk157

Active User


Joined: 17 May 2006
Posts: 310

PostPosted: Mon Jun 18, 2007 8:15 pm
Reply with quote

Hi dharmendra_kp,

I am new to CICS, but I try to understand the requirement, But I could not get the solution. Can u please keep ur requirement a bit clear.
Back to top
View user's profile Send private message
dharmendra_kp

New User


Joined: 10 Mar 2005
Posts: 33
Location: Lewiston

PostPosted: Mon Jun 18, 2007 10:07 pm
Reply with quote

Both map should appear togather overlaped. Hence erase is out of question. I had tried erase for shake of satisfaction.....
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Mon Jun 18, 2007 10:23 pm
Reply with quote

By overlapped do you mean intertwined, fields from each screen intermingled?
Back to top
View user's profile Send private message
dharmendra_kp

New User


Joined: 10 Mar 2005
Posts: 33
Location: Lewiston

PostPosted: Mon Jun 18, 2007 10:57 pm
Reply with quote

Yes fields are intermingled but that?s what precisely I do not want. i.e. when MAP2 (smaller one) overlaps on MAP1 (bigger one) the area occupied by MAP2 does not have any field from MAP1. Remaining field from MAP1 be visible.

Thanks for your prompt reply.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Mon Jun 18, 2007 11:10 pm
Reply with quote

dharmendra_kp wrote:
Yes fields are intermingled but that?s what precisely I do not want. i.e. when MAP2 (smaller one) overlaps on MAP1 (bigger one) the area occupied by MAP2 does not have any field from MAP1.
Is this what you want or is this what you are currently getting and wrong?
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Mon Jun 18, 2007 11:48 pm
Reply with quote

William Thompson wrote:
dharmendra_kp wrote:
Yes fields are intermingled but that?s what precisely I do not want. i.e. when MAP2 (smaller one) overlaps on MAP1 (bigger one) the area occupied by MAP2 does not have any field from MAP1.
Is this what you want or is this what you are currently getting and wrong?


Then you need to define the maps as different sizes.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Jun 19, 2007 12:07 am
Reply with quote

Craq Giegerich wrote:
Then you need to define the maps as different sizes.
Not really, without erase, the old fields will "shine through" where they are not overlaid with new fields......
Back to top
View user's profile Send private message
Johnson_Jiang

New User


Joined: 05 Apr 2007
Posts: 11
Location: China,ShenZhen

PostPosted: Tue Jun 19, 2007 7:52 am
Reply with quote

Move low-value to the second map before use send map by 'erase' option.
Back to top
View user's profile Send private message
dharmendra_kp

New User


Joined: 10 Mar 2005
Posts: 33
Location: Lewiston

PostPosted: Tue Jun 19, 2007 1:25 pm
Reply with quote

sorry for the confusion due to erroneous problem statement. I have solved the issue any way.

Here is what my logic does.
MAP1 24x80 (i.e full screen)
MAP2 24x80 LINE 19, COLUMN 1 (virtually occupies only last 6 lines on screen)

overlap is required only when MAP2 has something populated on it based on some other logic, otherwise only MAP1 is displayed. When MAP2 is overlapped on MAP1;
fields which are part of MAP1 was also getting displayed on MAP2 area(intermingled).

I wanted to displayed only MAP2 fields in MAP2 area, remaining field from MAP1 also displayed (that is why i call overlap.)
I wanted to know is there any technique to solve this issue by making changes in MAP definitions, say make MAP2 background different color etc, without making any change in program.

Any further insight is appreciated. Thanks and regards.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Jun 19, 2007 3:04 pm
Reply with quote

much clearer.....
All of map2 must be filled with fields, those fields need not contain anything, but the must be defined.
I'm sure a field defined with a value of spaces will work, but you might try low values first.
Back to top
View user's profile Send private message
sushma*tam

New User


Joined: 29 Jun 2006
Posts: 1
Location: Hyderabad

PostPosted: Tue Jun 19, 2007 3:12 pm
Reply with quote

icon_redface.gif
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Tue Jun 19, 2007 11:53 pm
Reply with quote

show me your BMS maps.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts z/vm installation problem All Other Mainframe Topics 0
No new posts Job scheduling problem. JCL & VSAM 9
No new posts Problem with IFTHEN=(WHEN=GROUP,BEGIN... DFSORT/ICETOOL 5
No new posts Need to add field to copybook, proble... COBOL Programming 14
Search our Forums:

Back to Top