next up previous contents index
Next: #DZEDIT>DZEDITa program Up: DZDOC -- Bank Previous: Format of the

Generation a template for the bank descriptor file

 

A subroutine is provided to generate a template of the bank description for an existing data structure in memory which is not yet documented.

CALL DZDTMP (ISTOR, LTOP, LUN, CHOPT)

Input parameter description:

ISTOR
Index of the store containing the datastructure
LTOP
Link to the top bank
LUN
Unit number of an (open) file to receive the documentation
CHOPT
CHARACTER variable specifying the desired option:
'T'
Treat the tree below LTOP (default is bank at LTOP only).
'L'
Follow next links
'A'
Generate Author tag: *B.AU nomen nescio
'V'
Generate Version tag: *B.VE 1.00
'S'
Generate Store tag: *B.ST Storename
'D'
Generate division tag: *B.DV Divname

The routine recognizes when all down banks of a bank have the same Hollerith identifier and in that case a repetition section is generated and only the first down link is followed, i.e. it assumes that the other substructures are identical.

This routine can be called interactively from DZDISP.


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