next up previous contents index
Next: JZTELL - count Up: Basic calling sequences Previous: JZIN - processor

JZINIT - initialize the JZ91 package

The highest processor level, at call depth zero, is called the ``root''. The MAIN program is necessarily at this level. The root level is handled as a processor, with the ID given in chIAMR to JZINIT. This is used to associate the titles JZAN and JZFL, if any. The root gets 10 processor constants and 10 JZTELL counters, unless the extra features described in section gif are used.

Before using the JZ91 package one has to initialize it with

CALL JZINIT (IXSTOR, chIAMR, chOPT, MAXLEV, NLCALL, NDCALL, 0)

IXSTOR
the index of the processing store, (or the index of any division in this store) may be zero if the primary store is used
chIAMR
the processor ID of the root, type CHARACTER*4, string of 4 characters
chOPT
character string of options:
E
error messages only
Q
quiet, no log output
T
timing selected
MAXLEV
maximum call-depth number,
eg. =1 if only the root calls processors
NLCALL
maximum number of links in all call banks
NDCALL
maximum number of data words in all call banks
0
zero; non-zero gives access to the extra features described in section gif.

JZINIT will create the long-range division JZ91 in the store signalled by IXSTOR for holding the JZ91 data structure, which contains all JZ data, like the call banks, the SV banks, etc. This store must be the store where the user does his processing; the links LQJZ, LQUP,... will be declared by JZINIT to be a link-area for this store. Links in call banks can only point into this store.

Titles JZAN and JZFL, if any, must have been read into the title-structure of this same store before JZINIT is called, because it will re-format or re-link them for use.

All call banks are pre-lifted by JZINIT, all of the same maximum size as specified by NLCALL and NDCALL, one call bank for each of the MAXLEV levels. They are permanent banks, being continously re-used.

Accounting the execution time of the processors individually is an option which could be expensive in real time on some computers.

JZINIT returns IQUEST(1) just like JZIN.



next up previous contents index
Next: JZTELL - count Up: Basic calling sequences Previous: JZIN - processor


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