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

What is the difference between map and mapset


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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: 3156
Location: Tucson AZ

PostPosted: Thu Jan 11, 2007 9:25 pm
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
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: 3156
Location: Tucson AZ

PostPosted: Fri Jan 12, 2007 2:54 pm
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
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: 11
Location: Mysore

PostPosted: Sat Jan 13, 2007 11:57 pm
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: 3156
Location: Tucson AZ

PostPosted: Sun Jan 14, 2007 12:45 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts What is the difference between Taskty... Compuware & Other Tools 2
No new posts Difference between VALIDPROC and CHEC... DB2 3
No new posts How to list BMS MAP screens in BMS Ph... CICS 2
Search our Forums:

Back to Top