Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Problem when Overlaping two MAPS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Problem when Overlaping two MAPS
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: 3158
Location: Tucson AZ

PostPosted: Mon Jun 18, 2007 3:53 pm    Post subject:
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    Post subject: Hi
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    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Mon Jun 18, 2007 10:23 pm    Post subject:
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    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Mon Jun 18, 2007 11:10 pm    Post subject:
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    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Tue Jun 19, 2007 12:07 am    Post subject:
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    Post subject:
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    Post subject: Re: Problem when Overlaping two MAPS
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: 3158
Location: Tucson AZ

PostPosted: Tue Jun 19, 2007 3:04 pm    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us