COBOL - Opções de compilação - SIZE


Volta a página anterior

Volta ao Menu Principal


Desenvolvido por DORNELLES Carlos Alberto - Analista de Sistemas - Brasília DF. - cad_cobol@hotmail.com

Opções de compilação - SIZE

Use SIZE to indicate the amount of main storage to be made available for compilation.

SIZE option syntax

Default is: SIZE(MAX)

Abbreviations are: SZ

nnnnn specifies a decimal number, which must be at least 851968.

nnnK specifies a decimal number in 1-KB increments, where 1 KB = 1024 bytes. The minimum acceptable value is 832K.

MAX requests the largest available block of storage in the user region.

Do not use SIZE(MAX) if you require that the compiler leave a specific amount of unused storage available in the user region.
For example, if you are using the CICS or SQL compiler option, use a value such as SIZE(4000K).
(This value should work for most programs.)
If you compile in 31-bit mode and specify SIZE(MAX), the compiler uses storage as follows:

  • Above the 16-MB line: all the storage in the user region
  • Below the 16-MB line: storage for:
    • Work-file buffers
    • Compiler modules that must be loaded below the line

© Copyright IBM Corp.