View previous topic :: View next topic
|
Author |
Message |
pavans_here Warnings : 1 New User
Joined: 12 Aug 2005 Posts: 3 Location: hyderabad
|
|
|
|
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 |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
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.... |
|
Back to top |
|
|
pavans_here Warnings : 1 New User
Joined: 12 Aug 2005 Posts: 3 Location: hyderabad
|
|
|
|
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 |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
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 |
|
|
DavidatK
Active Member
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
William,
I like the analogy eggs, egg carton, white and brown eggs
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 |
|
|
sundar28
New User
Joined: 30 Jul 2005 Posts: 11 Location: Mysore
|
|
|
|
It is very simple
Map defines part of a screen; Mapset defines the full screen.
pavans_here wrote:
Quote: |
Programatically too it confuses me |
Don't worry pawan. Programatically, Only Mapsets are handled (loaded, referenced, sent etc ). Of course, Maps are defined within a mapset. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
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 |
|
|
animeshjai Currently Banned New User
Joined: 14 Nov 2006 Posts: 5 Location: pune
|
|
|
|
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 |
|
|
|