PIMAX= parameter for procedures
Use the PIMAX= parameter in procedure to specify the maximum amount of dynamic storage available to the exclusive control of the ENQUEUE/DEQUEUE routine. The default value is 1024K (1M).
No storage is allocated for ENQUEUE/DEQUEUE blocks at initialization. The first block of storage, obtained when the ENQUEUE/DEQUEUE routine is first called, is in the increment specified by PIINCR=. Storage continues to be obtained in the increment specified until the maximum is reached. IMS does not release any storage that is dynamically obtained for the ENQUEUE/DEQUEUE routine. After storage is obtained, it is kept for the duration of the control region execution.
PIMAX can be specified as either 1- to 6-numeric characters, or 1- to 5-numeric
characters followed by either K (kilobyte), M (megabyte), or G (gigabyte). If K, M, or G is not
specified, K is the default. The maximum value is 2G-1. The upper limit defaults to 2G-1 if any of
the following statements is true:
- The value specified is not large enough to hold the largest primary and secondary storage allocations that are defined.
- The value specified exceeds 2G-1.