Problem:
Client verifies JCL file and Enterprise Analyzer does not recognize control cards that are used by the JCL, despite the control cards being loaded in the Workspace. In this specific case, the control cards are used under the IDCAMS system program step.
Resolution:
The Legacy.xml file located at C:\\Program Files (x86)\\Micro Focus\\Enterprise Analyzer\\Data can be modified to recognize these relationships. Please note that changing this file will affect all current and future Workspaces.
In the file, there is a section as shown below. Uncomment the <item> line.
<!-- to generate relationship Program Uses ControlCard -->
<ProgUsesCard>
<!-- <item> IDCAMS,SYSIN,.* </item> -->
</ProgUsesCard>
to
<!-- to generate relationship Program Uses ControlCard -->
<ProgUsesCard>
<item> IDCAMS,SYSIN,.* </item>
</ProgUsesCard>
Please note that you can also add new <item> lines to account for various system programs, DDNAMES, or DSNs. For example:
<item>IKJEFT01,SYSTSIN,.*</item> will look for cards under the IKJEFT01 system program on the SYSTSIN DDNAME. The last wildcard will specify any DSNs.
#SupportTip
#EnterpriseAnalyzer