GENERAL DESCRIPTION |
Surgery uses the entry point DI^DIU as follows:
Prior to entry, the following input variables must be supplied:
DI = file number
N = 0
X = null (or you can set it to any combination of "WC.01" where W" will
screen out word-processing fields, "C" will screen out computed fields, and
".01" will screen out the .01 field at both top and subfile levels.)
At the end, all variables set by Surgery will be killed, and in addition,
%,C,DA,DDH,DI,DIC,DISYS,I,J and Y will be killed.
After calling this routine, varible N will tell how many levels down you
went into subfiles (0 is top level, 1 is 1 level down, etc.). The I array
will tell the subscript for each multiple level at which the data is located
(ex., I(1) for first level down, I(2) for second). The J array will tell the
subfile number at each multiple level (ex.,J(1) for first level down, J(2) for
second).
|