contents.gifindex.gifprev1.gifnext1.gif

SYSTEM-SPACE

SYSTEM-SPACE* - This configuration variable controls how much memory is made available to programs called via the SYSTEM library routine on MS-DOS machines. Normally, ACUCOBOL-GT provides as much space as possible to the called program by swapping out both the runtime system and the calling program. You can adjust this for small programs if you want to reduce the amount of swapping.

When SYSTEM-SPACE is set to "0" (the default), as much space as possible is provided for the program. A positive value indicates the number of kilobytes that should be made available. For example, if SYSTEM-SPACE is set to "64", then the runtime system ensures that at least 64 KB are available to the called program.

A value of "-1" disables the swapping version of the SYSTEM routine and uses the standard Microsoft C library routine instead. This may be desirable if the swapping version is failing on a particular machine, or if all of the programs you are calling are small enough that you do not need the swapping overhead.