XINDX13 ; OSE/SMH - Input, Print, and Sort Template Analysis;03/01/2018 8:37 AM
Source file <XINDX13.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
ALL(path) | ; [Public] Export all template CSV files at once to a specific dir
|
|
DIBT(path,filename) | ; [Public] Sort template analysis
|
|
DIET(path,filename) | ; [Public] Input template analysis
|
|
DIPT(path,filename) | ; [Public] Print template analysis
|
|
DIBTCOL(outputData) | ; [Private] Sort Template Data Collection
; for each template |
|
DIBTOUT(outputData,outputPath,outputFile) | ; [Private] Sort Template Data Output
|
|
DIETCOL(outputData,mCodeData) | ; [Private] Input Template Data Collection
; for each template ; s outputData(file,thisFile,thisField)=dibt_U_name |
|
DIETOUT(outputData,outputPath,outputFile) | ; [Private] Input Template Data Output
|
|
DIPTCOL(outputData,mCodeData) | ; [Private] Print Template Data Collection
; for each template |
|
DIPTOUT(outputData,outputPath,outputFile) | ; [Private] Print Template Data Output
|
|
DIETM | ; [Public] Collect M code fileds from all input templates
; ZEXCEPT: B,INDX |
|
DIPTM | ; [Public] Collect M code fields from all print templates
; ZEXCEPT: B,INDX |
|
PARENT(subfile) | ; [Private] Find out who my parent is
; WARNING: Recursive algorithm |
|
ASSERT(x) |
Name | Field # of Occurrence |
---|---|
$$DEFDIR^%ZISH | ALL+1, DIBT+2, DIET+2, DIPT+2 |
CLOSE^%ZISH | DIBTOUT+15, DIETOUT+15, DIPTOUT+15 |
OPEN^%ZISH | DIBTOUT+2, DIETOUT+2, DIPTOUT+2 |
EXPR^DICOMP | DIBTCOL+33, DIPTCOL+144 |
^DIM | DIETCOL+19, DIPTCOL+63, DIETM+17, DIPTM+27, DIPTM+64 |
ADDLN^XINDX11 | DIETM+19, DIPTM+29, DIPTM+66 |
$$REPLACE^XLFSTR | DIPTCOL+130, DIPTM+59 |
^XTMLOG | DIPTCOL+7, DIPTCOL+34, DIPTCOL+43, DIPTCOL+56, DIPTCOL+65, DIPTCOL+84, DIPTCOL+106, DIPTCOL+109, DIPTCOL+137, DIPTCOL+145 , DIPTCOL+154 |
DEBUG^XTMLOG | DIPTCOL+34, DIPTCOL+43, DIPTCOL+56, DIPTCOL+109 |
ENDLOG^XTMLOG | DIPTCOL+154 |
ERROR^XTMLOG | DIPTCOL+145 |
INFO^XTMLOG | DIPTCOL+84, DIPTCOL+137 |
INITEASY^XTMLOG | DIPTCOL+7 |
WARN^XTMLOG | DIPTCOL+65, DIPTCOL+106 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DD( | DIBTCOL+17, DIETCOL+30, DIETCOL+32, DIETCOL+37, DIPTCOL+105, DIPTCOL+107, PARENT+2 |
^DIBT - [#.401] | DIBTCOL+2, DIBTCOL+3, DIBTCOL+4, DIBTCOL+5, DIBTCOL+6, DIBTCOL+10, DIBTCOL+12, DIBTCOL+13 |
^DIE - [#.402] | DIETCOL+3, DIETCOL+4, DIETCOL+5, DIETCOL+6, DIETCOL+9, DIETCOL+10, DIETCOL+11, DIETM+2, DIETM+3, DIETM+4 , DIETM+7, DIETM+8, DIETM+9 |
^DIPT - [#.4] | DIPTCOL+2, DIPTCOL+3, DIPTCOL+4, DIPTCOL+5, DIPTCOL+14, DIPTCOL+15, DIPTCOL+128, DIPTM+2, DIPTM+3, DIPTM+4 , DIPTM+8, DIPTM+9, DIPTM+57 |
Name | Line Occurrences |
---|---|
$$PARENT | DIBTCOL+25, DIETCOL+24, PARENT+2 |
ASSERT | DIPTCOL+82, DIPTCOL+83 |
DIBT | ALL+2 |
DIBTCOL | DIBT+4 |
DIBTOUT | DIBT+5 |
DIET | ALL+2 |
DIETCOL | DIET+4 |
DIETOUT | DIET+5 |
DIPT | ALL+2 |
DIPTCOL | DIPT+4 |
DIPTOUT | DIPT+5 |
Name | Field # of Occurrence |
---|---|
^( | DIBTCOL+12, DIBTCOL+13 |
^("UP" | PARENT+2 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | DIPTCOL+129~, DIPTCOL+130, DIPTM+58~, DIPTM+59 |
%("X " | DIPTCOL+129*, DIPTM+58* |
>> B | DIETM+2, DIETM+3, DIETM+4, DIETM+7, DIETM+8, DIETM+9, DIPTM+2, DIPTM+3, DIPTM+4, DIPTM+8 , DIPTM+9, DIPTM+57 |
>> INDX | DIETM+19*, DIPTM+29*, DIPTM+66* |
IO | DIBTOUT+4, DIETOUT+4, DIPTOUT+4 |
POP | DIBTOUT+1~, DIBTOUT+3, DIETOUT+1~, DIETOUT+3, DIPTOUT+1~, DIPTOUT+3 |
U | DIBTCOL+4, DIBTCOL+5, DIBTCOL+16, DIBTCOL+18, DIBTCOL+19, DIBTCOL+39, DIBTCOL+40, DIBTCOL+42, DIBTCOL+45, DIBTOUT+12 , DIBTOUT+13, DIETCOL+5, DIETCOL+6, DIETCOL+30, DIETCOL+33, DIETCOL+38, DIETOUT+12, DIETOUT+13, DIPTCOL+4, DIPTCOL+5 , DIPTCOL+42, DIPTCOL+85, DIPTCOL+107, DIPTCOL+150, DIPTCOL+151, DIPTCOL+153, DIPTOUT+12, DIPTOUT+13, DIETM+3, DIETM+4 , DIPTM+3, DIPTM+4 |
X | DIBTCOL+32~, DIBTCOL+34, DIETCOL+18~*, DIETCOL+19*, DIETCOL+20, DIPTCOL+63~*, DIPTCOL+64, DIPTCOL+66, DIPTCOL+143~, DIPTCOL+145 , DIETM+16~*, DIETM+17*, DIETM+19, DIPTM+27~*, DIPTM+29, DIPTM+64~*, DIPTM+66 |
X("USED" | DIBTCOL+36, DIBTCOL+37, DIBTCOL+38, DIPTCOL+146, DIPTCOL+148, DIPTCOL+149 |
Zpiece | DIPTCOL+46~*, DIPTCOL+47*, DIPTCOL+51, DIPTCOL+60, DIPTCOL+77, DIPTCOL+86, DIPTCOL+117, DIPTM+18~*, DIPTM+19*, DIPTM+24 , DIPTM+33, DIPTM+46 |
c | DIBTOUT+6~*, DIBTOUT+14, DIETOUT+6~*, DIETOUT+14, DIPTOUT+6~*, DIPTOUT+14 |
data | DIBTOUT+11~*, DIBTOUT+12, DIBTOUT+13, DIETOUT+11~*, DIETOUT+12, DIETOUT+13, DIPTOUT+11~*, DIPTOUT+12, DIPTOUT+13 |
dibt | DIBTCOL+2~*, DIBTCOL+3, DIBTCOL+4, DIBTCOL+5, DIBTCOL+6, DIBTCOL+10, DIBTCOL+12, DIBTCOL+13, DIBTCOL+42, DIBTCOL+45 |
dibtIEN | DIBTOUT+5~, DIBTOUT+12*, DIBTOUT+14 |
dibtName | DIBTOUT+5~, DIBTOUT+13*, DIBTOUT+14 |
diet | DIETCOL+3~*, DIETCOL+4, DIETCOL+5, DIETCOL+6, DIETCOL+9, DIETCOL+10, DIETCOL+11, DIETCOL+30, DIETCOL+33, DIETCOL+38 |
dietIEN | DIETOUT+5~, DIETOUT+12*, DIETOUT+14, DIPTOUT+5~, DIPTOUT+12*, DIPTOUT+14 |
dietName | DIETOUT+5~, DIETOUT+13*, DIETOUT+14, DIPTOUT+5~, DIPTOUT+13*, DIPTOUT+14 |
dipt | DIPTCOL+2~*, DIPTCOL+3, DIPTCOL+4, DIPTCOL+5, DIPTCOL+14, DIPTCOL+15, DIPTCOL+85, DIPTCOL+128, DIPTCOL+153 |
dstField | DIBTOUT+5~, DIBTOUT+10*, DIBTOUT+11, DIBTOUT+14, DIETOUT+5~, DIETOUT+10*, DIETOUT+11, DIETOUT+14, DIPTOUT+5~, DIPTOUT+10* , DIPTOUT+11, DIPTOUT+14 |
dstFile | DIBTOUT+5~, DIBTOUT+9*, DIBTOUT+10, DIBTOUT+11, DIBTOUT+14, DIETOUT+5~, DIETOUT+9*, DIETOUT+10, DIETOUT+11, DIETOUT+14 , DIPTOUT+5~, DIPTOUT+9*, DIPTOUT+10, DIPTOUT+11, DIPTOUT+14 |
dxsCode | DIPTCOL+128~*, DIPTCOL+129, DIPTM+57~*, DIPTM+58 |
dxsString | DIPTCOL+124~*, DIPTCOL+126, DIPTCOL+127, DIPTCOL+129, DIPTM+53~*, DIPTM+55, DIPTM+56, DIPTM+58 |
eachField | DIETCOL+31~*, DIETCOL+32*, DIETCOL+33 |
end | DIETCOL+29~*, DIETCOL+32 |
enddxs | DIPTCOL+123~*, DIPTCOL+124, DIPTM+52~*, DIPTM+53 |
exitEarly | DIPTCOL+89~*, DIPTCOL+105*, DIPTCOL+108 |
field | DIETCOL+12~, DIETCOL+13*, DIETCOL+15, DIETCOL+18, DIETCOL+27, DIETCOL+28, DIETCOL+29, DIETCOL+35, DIETCOL+36*, DIETCOL+37 , DIETCOL+38, DIPTCOL+32~*, DIPTCOL+33, DIPTCOL+40~*, DIPTCOL+52~*, DIPTCOL+53, DIPTCOL+54, DIPTCOL+55, DIPTCOL+78~*, DIPTCOL+80 , DIPTCOL+81, DIPTCOL+83, DIPTCOL+85, DIETM+10~, DIETM+11*, DIETM+13, DIETM+16 |
fieldData | DIPTCOL+17~*, DIPTCOL+18, DIPTCOL+19, DIPTCOL+47, DIPTCOL+109, DIPTCOL+117, DIPTCOL+137, DIPTCOL+145, DIPTM+11~*, DIPTM+12 , DIPTM+13, DIPTM+19, DIPTM+46 |
fieldDataIndex | DIPTCOL+16~*, DIPTCOL+17, DIPTM+10~*, DIPTM+11 |
fieldIndex | DIETCOL+12~*, DIETCOL+13, DIPTCOL+31~*, DIPTCOL+32, DIPTCOL+39~*, DIPTCOL+40, DIPTCOL+41, DIPTCOL+51~*, DIPTCOL+52, DIPTCOL+77~* , DIPTCOL+78, DIPTCOL+79, DIETM+10~*, DIETM+11 |
fields | DIETCOL+11~*, DIETCOL+12, DIETCOL+13, DIPTCOL+19~*, DIPTCOL+20, DIPTCOL+21, DIPTCOL+31, DIPTCOL+32, DIPTCOL+39, DIPTCOL+40 , DIPTCOL+41, DIPTCOL+51, DIPTCOL+52, DIPTCOL+61, DIPTCOL+63, DIPTCOL+77, DIPTCOL+78, DIPTCOL+79, DIPTCOL+97, DIPTCOL+98 , DIPTCOL+99, DIETM+9~*, DIETM+10, DIETM+11, DIPTM+13~*, DIPTM+14, DIPTM+15, DIPTM+25, DIPTM+27, DIPTM+38 , DIPTM+39, DIPTM+40 |
fieldsUpright | DIPTCOL+30~*, DIPTCOL+31, DIPTCOL+33*, DIPTCOL+34 |
file | DIBTCOL+5~*, DIBTCOL+22, DIBTCOL+25, DIBTCOL+41, DIBTCOL+42, DIBTCOL+45, DIBTOUT+5~, DIBTOUT+8*, DIBTOUT+9, DIBTOUT+10 , DIBTOUT+11, DIBTOUT+14, DIETCOL+6~*, DIETCOL+23, DIETCOL+24, DIETCOL+30, DIETCOL+33, DIETCOL+38, DIETOUT+5~, DIETOUT+8* , DIETOUT+9, DIETOUT+10, DIETOUT+11, DIETOUT+14, DIPTCOL+5~*, DIPTCOL+66, DIPTCOL+85, DIPTCOL+94, DIPTCOL+136, DIPTCOL+137 , DIPTCOL+152, DIPTCOL+153, DIPTOUT+5~, DIPTOUT+8*, DIPTOUT+9, DIPTOUT+10, DIPTOUT+11, DIPTOUT+14, DIETM+4~*, DIPTM+4~* |
fileField | DIPTCOL+96~, DIPTCOL+98*, DIPTCOL+99, DIPTCOL+102, DIPTCOL+105, DIPTCOL+106, DIPTCOL+107, DIPTM+37~, DIPTM+39*, DIPTM+40 |
fileFieldIndex | DIPTCOL+96~, DIPTCOL+97*, DIPTCOL+98, DIPTCOL+99, DIPTM+37~, DIPTM+38*, DIPTM+39, DIPTM+40 |
fileNamePrint | DIPTCOL+13~*, DIPTM+7~* |
filename | DIBT~, DIBT+3*, DIBT+5, DIET~, DIET+3*, DIET+5, DIPT~, DIPT+3*, DIPT+5 |
i | DIPTCOL+47~*, DIPTM+19~* |
ignoreTransition | DIPTCOL+38~*, DIPTCOL+39, DIPTCOL+42*, DIPTCOL+43 |
isNonTradMCode | DIPTCOL+59~*, DIPTCOL+64*, DIPTCOL+69, DIPTM+23~*, DIPTM+29*, DIPTM+31 |
isSort | DIBTCOL+6~*, DIBTCOL+7 |
line | DIBTCOL+10~*, DIBTCOL+12, DIBTCOL+13, DIETCOL+9~*, DIETCOL+10, DIETCOL+11, DIETCOL+20, DIPTCOL+14~*, DIPTCOL+15, DIPTCOL+66 , DIPTCOL+136, DIETM+7~*, DIETM+8, DIETM+9, DIPTM+8~*, DIPTM+9 |
lineContents | DIPTCOL+15~*, DIPTCOL+16, DIPTCOL+17, DIPTM+9~*, DIPTM+10, DIPTM+11 |
lineData | DIBTCOL+11~, DIBTCOL+12*, DIBTCOL+13*, DIBTCOL+16, DIBTCOL+18, DIBTCOL+19 |
lineField | DIBTCOL+18~*, DIBTCOL+29, DIBTCOL+45 |
lineFieldSpec | DIBTCOL+19~*, DIBTCOL+22, DIBTCOL+25, DIBTCOL+33 |
lineFile | DIBTCOL+16~*, DIBTCOL+17, DIBTCOL+22, DIBTCOL+25, DIBTCOL+33, DIBTCOL+45, DIETCOL+10~*, DIETCOL+11, DIETCOL+20, DIETCOL+23 , DIETCOL+24, DIETCOL+30, DIETCOL+32, DIETCOL+33, DIETCOL+37, DIETCOL+38, DIETM+8~*, DIETM+9 |
mCode | DIPTCOL+95~*, DIPTCOL+97, DIPTCOL+99*, DIPTCOL+109, DIPTCOL+121, DIPTCOL+122, DIPTCOL+123, DIPTCOL+124, DIPTCOL+130*, DIPTCOL+135 , DIPTCOL+136, DIPTM+36~*, DIPTM+38, DIPTM+40*, DIPTM+42, DIPTM+50, DIPTM+51, DIPTM+52, DIPTM+53, DIPTM+59* , DIPTM+63, DIPTM+64 |
mCodeContext | DIPTCOL+94~*, DIPTCOL+102*, DIPTCOL+105, DIPTCOL+106, DIPTCOL+107*, DIPTCOL+109, DIPTCOL+144, DIPTCOL+145 |
mCodeData | DIETCOL~, DIPTCOL~ |
mCodeData( | DIETCOL+20*, DIPTCOL+66*, DIPTCOL+136* |
name | DIBTCOL+4~*, DIBTCOL+42, DIBTCOL+45, DIETCOL+5~*, DIETCOL+30, DIETCOL+33, DIETCOL+38, DIPTCOL+4~*, DIPTCOL+85, DIPTCOL+145 , DIPTCOL+153, DIETM+3~*, DIPTM+3~* |
nextField | DIPTCOL+41~*, DIPTCOL+42, DIPTCOL+79~* |
outputData | DIBT+1~, DIBT+4, DIBT+5, DIET+1~, DIET+4, DIET+5, DIPT+1~, DIPT+4, DIPT+5, DIBTCOL~ , DIBTOUT~, DIETCOL~, DIETOUT~, DIPTCOL~, DIPTOUT~ |
outputData( | DIBTCOL+42*, DIBTCOL+45*, DIBTOUT+8, DIBTOUT+9, DIBTOUT+10, DIBTOUT+11, DIETCOL+30*, DIETCOL+33*, DIETCOL+38*, DIETOUT+8 , DIETOUT+9, DIETOUT+10, DIETOUT+11, DIPTCOL+85*, DIPTCOL+153*, DIPTOUT+8, DIPTOUT+9, DIPTOUT+10, DIPTOUT+11 |
outputFile | DIBTOUT~, DIBTOUT+2, DIETOUT~, DIETOUT+2, DIPTOUT~, DIPTOUT+2 |
outputPath | DIBTOUT~, DIBTOUT+2, DIETOUT~, DIETOUT+2, DIPTOUT~, DIPTOUT+2 |
p1 | DIPTCOL+61~*, DIPTCOL+62, DIPTM+25~*, DIPTM+26 |
pair | DIBTCOL+37~, DIBTCOL+38*, DIBTCOL+39, DIBTCOL+40, DIPTCOL+148~, DIPTCOL+149*, DIPTCOL+150, DIPTCOL+151 |
pairs | DIBTCOL+37~*, DIBTCOL+38, DIPTCOL+148~*, DIPTCOL+149 |
path | ALL~, ALL+1*, ALL+2, DIBT~, DIBT+2*, DIBT+5, DIET~, DIET+2*, DIET+5, DIPT~ , DIPT+2*, DIPT+5 |
pointerFile | DIPTCOL+76~*, DIPTCOL+80*, DIPTCOL+81, DIPTCOL+82, DIPTCOL+85 |
potComputedCode | DIPTCOL+117~*, DIPTCOL+118*, DIPTCOL+135, DIPTCOL+144, DIPTM+46~*, DIPTM+47*, DIPTM+63 |
printOnlyField | DIPTCOL+50~*, DIPTCOL+51, DIPTCOL+54*, DIPTCOL+55*, DIPTCOL+56 |
s1 | DIPTCOL+125~, DIPTCOL+126*, DIPTCOL+128, DIPTM+54~, DIPTM+55*, DIPTM+57 |
s2 | DIPTCOL+125~, DIPTCOL+127*, DIPTCOL+128, DIPTM+54~, DIPTM+56*, DIPTM+57 |
start | DIETCOL+28~*, DIETCOL+30, DIETCOL+31 |
startdxs | DIPTCOL+122~*, DIPTCOL+123, DIPTCOL+124, DIPTM+51~*, DIPTM+52, DIPTM+53 |
subfile | PARENT~, PARENT+2, PARENT+3 |
thisField | DIBTCOL+40~*, DIBTCOL+42, DIPTCOL+151~*, DIPTCOL+153 |
thisFile | DIBTCOL+39~*, DIBTCOL+41, DIBTCOL+42, DIPTCOL+150~*, DIPTCOL+152, DIPTCOL+153 |
x | ASSERT~ |
Name | Field # of Occurrence |
---|---|
$T(^XTMLOG | DIPTCOL+7, DIPTCOL+34, DIPTCOL+43, DIPTCOL+56, DIPTCOL+65, DIPTCOL+84, DIPTCOL+106, DIPTCOL+109, DIPTCOL+137, DIPTCOL+145 , DIPTCOL+154 |