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
 

 

What is the difference between map and mapset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
pavans_here
Warnings : 1

New User


Joined: 12 Aug 2005
Posts: 3
Location: hyderabad

PostPosted: Thu Jan 11, 2007 8:45 pm    Post subject: What is the difference between map and mapset
Reply with quote

Hi,

Can anyone give the exact difference between map and mapset?

Can i say two independent maps (i mean no way these two maps are related) as a mapset?

Programatically too it confuses mee
Back to top
View user's profile Send private message

William Thompson

Global Moderator


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

PostPosted: Thu Jan 11, 2007 9:25 pm    Post subject: Re: What is the difference between map and mapset
Reply with quote

pavans_here wrote:
Can anyone give the exact difference between map and mapset?
Can i say two independent maps (i mean no way these two maps are related) as a mapset?
Programatically too it confuses mee
Map is to mapset as egg is to egg carton.
And, yes, we can put medium brown eggs in a carton with jumbo white eggs without a problem - but it makes sense not to.... icon_lol.gif
Back to top
View user's profile Send private message
pavans_here
Warnings : 1

New User


Joined: 12 Aug 2005
Posts: 3
Location: hyderabad

PostPosted: Fri Jan 12, 2007 9:19 am    Post subject: Re: What is the difference between map and mapset
Reply with quote

Thanks Thompson,

I am just a beginner, Can you give an application where we can use this mapset concept? Advantages of this mapset concept, its uses, over maps?

Can we have a mapset inside a mapset?
Back to top
View user's profile Send private message
William Thompson

Global Moderator


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

PostPosted: Fri Jan 12, 2007 2:54 pm    Post subject:
Reply with quote

It is not a concept, a mapset is just a set of maps. Maps are the things hat do the work, while mapsets are just the holder of maps.
Back to top
View user's profile Send private message
DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Sat Jan 13, 2007 5:15 am    Post subject: Re: What is the difference between map and mapset
Reply with quote

William,

I like the analogy eggs, egg carton, white and brown eggs 2014.gif

pavan kumar,

An example of why you might have several maps inside a mapset. Lets assume that you have a banking application, and the screens for this application are all the same for the first 5 lines.
Maybe, titles, locations, etc. and say account number and option field. Option 1 = account holder name/address, option 2 = current balances, option 3 = transaction history, etc.

These first 5 lines could be a map within the mapset. The other maps would be the displays for each of the options starting on line 6.

Why re-code the first 5 lines for every option? Send two maps, or three. Maybe the last 3 lines are error massages, instructions.

And as you can see, all the eggs in the carton are large white. They all relate to the same application. You could have coded each map separately and not had them in one mapset, but it?s sure a lot easier to maintain if they are.
Back to top
View user's profile Send private message
sundar28

New User


Joined: 30 Jul 2005
Posts: 12
Location: Mysore

PostPosted: Sat Jan 13, 2007 11:57 pm    Post subject:
Reply with quote

icon_eek.gif It is very simple
787.gif Map defines part of a screen; Mapset defines the full screen.

pavans_here wrote:

Quote:
Programatically too it confuses me


36_16_4.gif
Don't worry pawan. Programatically, Only Mapsets are handled (loaded, referenced, sent etc ). Of course, Maps are defined within a mapset.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


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

PostPosted: Sun Jan 14, 2007 12:45 am    Post subject:
Reply with quote

sundar28 wrote:
Map defines part of a screen; Mapset defines the full screen.
Sorry, I have to disagree, a map can define part of a screen or the full screen. A mapset really doesn't define anything.
Quote:
Only Mapsets are handled (loaded, referenced, sent etc).
Loaded, yes; Referenced, yes; Sent, I think not. The only reason the mapset name is in the SEND is to identify where the map to be sent is.
Back to top
View user's profile Send private message
animeshjai
Currently Banned

New User


Joined: 14 Nov 2006
Posts: 5
Location: pune

PostPosted: Mon Jan 22, 2007 9:21 pm    Post subject: Re: What is the difference between map and mapset
Reply with quote

in general language map is called as the cics screep on which we see the entries what we done
and mapset is nothing but the collection of 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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts Difference space showed for TS and it... autobox DB2 1 Thu Apr 14, 2016 1:07 pm
No new posts Difference Between CICS WebSupport an... sachinji84 CICS 1 Mon Mar 07, 2016 7:25 pm
No new posts Difference between -180 and -181 with... deepak_shrivastava DB2 4 Wed Jan 06, 2016 10:00 am


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