next up previous contents index
Next: MZDRED - reduce Up: MZ routines for Previous: MZINQS - inquiry

MZINQD - inquiry to get the parameters of a division

This routine returns the parameters of the selected division in :

CALL MZINQD (IXDIV)

with     IXDIV     index of the division

On return /QUEST/IQUEST(100) contains the following information
about the division IXDIV:

    IQUEST(1):  mode = 0 forward, 1 reverse division
    IQUEST(2):  kind = 1 short range, 2 long, 4 package, 8 system
    IQUEST(3):  start adr LSTA
    IQUEST(4):  end   adr LEND
    IQUEST(5):  LEXTR highest or lowest possible value of LEND or LSTA
    IQUEST(6):  initial size declared to MZDIV
    IQUEST(7):  maximum size declared to MZDIV
    IQUEST(8):  char 1:4 of the printing name of the division
    IQUEST(9):  char 5:8
   IQUEST(10):  JDVSH, if non-zero: sharing neighbour division

This means:

The memory actually occupied by the division goes
from LQ(LSTA) to LQ(LEND-1), ie. LEND-LSTA words.

The reserve space immediately available to the division would go
   from  LQ(LEND)  to LQ(LEXTR-1) for a forward division,
or from  LQ(LEXTR) to LQ(LSTA-1)  for a reverse division (mode=1).

If JDVSH is non-zero this division shares the reserve area with the division designated by IXDIV.

At log-level 2 the information returned is also printed by MZINQD.


Janne Saarela
Mon May 15 08:34:47 METDST 1995