Sunday, April 19, 2009

Difference between MAP AND MAPSET

Difference between MAP AND MAPSET

Representation of one screen format is called Map (Screen panel). One or more maps linkedited together makes up a mapset (load module). Mapset must have an entry in the PPT. Mapset name has two parts. Generic name (1-7 chars which is used in app pgm) and suffix (1 char to identify the device type)

EMPMAP DFHMSD TYPE=MAP,
MODE=INOUT,
LANG=COBOL,
STORAGE=AUTO,
TIOAPFX=YES,
CNTL=(FREEKB,FRSET,PRINT)

EMPMAP DFHMDI SIZE=(LL,CC)
LINE=NN,
COLUMN=MM,
JUSTIFY=LEFT/RIHT

DFHMSD TYPE=DSECT ===> mapset
DFHMDI ===> MAP
DFHMDF ===> FIELD

Only one mapset is allowed in one assembly run.

No comments: