Use the <Assembler> <APICalls> section of \<Enterprise Analyzer Home>\Data\Legacy.xml to specify relationships for Assembler code customizations.
Use the <Defining> tag to specify macros that define program entry points:
<Defining> <Macro name="macro-name"> <!-- Parameter is the label --> <Parameter number="Label" type="String" meaning="Name"/> </Macro> </Defining>
Use the <Loading> tag to specify macros used to get external names prior to calls:
<Loading> <Macro name="macro-name"> <!-- Parameters are all the parameters of the macro --> <Parameter number="*" type="String" meaning="Name"/> </Macro> </Loading>
Use the <Calling> tag to specify macros that call external programs:
<Calling> <Macro name="macro-name"> <!-- Parameter is the first parameter of the macro --> <Parameter number="1" type="String" meaning="Name"/> </Macro> </Calling>
The following example illustrates how to specify relationships for Assembler code customizations:
<Assembler> <APICalls> <Defining> <Macro name="ENTER"> <!-- Parameter is the label --> <Parameter number="Label" type="String" meaning="Name"/> </Macro> </Defining> <Loading> <Macro name="EPLOAD"> <!-- Parameters are all the parameters of the macro --> <Parameter number="*" type="String" meaning="Name"/> </Macro> </Loading> <Calling> <Macro name="MODCALL"> <!-- Parameter is the first parameter of the macro --> <Parameter number="1" type="String" meaning="Name"/> </Macro> </Calling> </APICalls> </Assembler>