Configuring access to the type of memory you require involves several steps. You must:
- Specify how much memory the program needs below the line and above the line, using the
Max. memory below 16Mb line and
Max. memory above 16Mb line fields. You can find these settings in the
MF370CTL.CFG (assembler control and configuration file) which is located in the
%ProgramFiles(x86)%\Micro Focus\Enterprise Developer\bin directory. The default values are:
* RUN TIME VARIABLES
MFPM=ON ; mainframe pointer manager is on by
; default
SVC370=MFI ; set engine to MFI-mode
MEMSIZE=00000000,7FFFFFFF ; set valid address range
* THE FOLLOWING RUN TIME VARIABLES ARE OVERRIDDEN BY
* THE SETTINGS IN
* THE IDE PROJECT, PROJECT OPTIONS PULLDOWN.
VM370=3000 ; set SQA size to 3Meg
AMODE370=31 ; run in 31-bit mode
The most likely value you will need to change will be the
VM370= value, which allocates the default size of assembler memory to allocate when the first assembler module is called in a COBOL run unit.
- Specify the addressing mode for each Assembler program that does not need a separate link file to control the production of an executable code file, including any programs that the main program calls, using the
Addressing mode field, set on the
Link page of the
Property Pages for the program.
- Ensure that all your
GETMAIN or
STORAGE OBTAIN macro calls indicate which type of memory is required.
The following sections cover most possibilities.