The STACK command (abbreviated ST) configures the default sizes
of the NM and CM stacks and the heap. STACK has the following
parameters:
STACK (ST) [NM = default nm stack size]
[MAXNM = max size of nm stack size]
[CM = default cm stack size]
[MAXCM = max size of cm stack]
[HEAP = default nm heap-size]
[MAXHEAP = max size of nm heap]
NM sets the default NM stack size, which is expressed in bytes. The
NM value must be less than the values of MAXNM.
MAXNM sets the maximum NM stack size, which is expressed in bytes.
CM sets the default CM stack size, which is expressed in words (16
bits in length). The value set for the CM parameter must be
less than the value set for the MAXCM parameter.
MAXCM sets the maximum allowable CM stack size.
HEAP sets the default heap size, which is expressed in bytes. The
value must not exceed MAXHEAP.
MAXHEAP sets the maximum heap size, which is expressed in bytes.
To change one of the STACK parameters, enter the STACK
command and at least one parameter to change. Here are two examples. The first
is keyword and the second is positional.