The TZ linear data-structure of easy-creation and easy-access banks has been provided primarily to satisfy the need of programs for run-dependent control-information (called ``titles'').
There may be one title structure for each Zebra store. The title stucture normally resides in some long-range division of the user.
To give a means of creating into the TZ structure banks which can easily be changed from run to run, the routine TZINIT is provided. This reads a text file provided by the user, containing the instructions of which title banks to create and also the data to be placed into these banks.
Access by the user program to a given bank in the TZ structure in store designated by IXSTOR is obtained with:
CALL TZFIND (IXSTOR, L, IDH, IDN, IFLAG)This finds the title bank with the Hollerith bank identifier
IDH
and the numeric identifier IDN
(if non-zero);
it returns in L the pointer to the title bank found.
The last parameter controls the action to be taken
in case of missing title.
Some applications need different versions of a given title bank as a function of the data they are processing. TZVERS has been provided for this problem; it receives a selection integer as one of its parameters, and it will scan the different versions of the title bank until it finds one whose validity range matches the selector. The validity range must be specified on the first two words of all the versions of all title banks to be handled with TZVERS.