ImpactReport.bj

Action

Generate an Impact Subtree Report. The report shows the impact trace subtree for the specified data item occurrence in XML format or in a database.

Note: ImpactReport.bj has to be run against the usage of a variable and it will not run from the definition of a variable.

Syntax

ImpactReport LogFile Workspace Entity Name HCID FileName [Direction] [Project] 
Required Parameters Description

LogFile

Output log file generated when the batch script is executed.

Workspace

Workspace file (.rwp).

Entity Legacy source type, e.g. COBOL.
Name Legacy source name.
HCID HCID of the data item occurrence. It will only be set if the source file has been verified. Alternatively, use the following arguments:
  • Var, to specify the variable name.
  • Source, to specify the relative path of the source file containing the data item occurrence. It has the same value as the Source attribute in the General tab of the file properties. To see the value, right-click the object in the Repository pane, select Properties and then the General tab.
  • Ln, to specify the line in the source file that has the variable usage that the report is to be run against.
  • Col, to specify the column on the line in the source file that has the variable usage that the report is to be run against.
FileName Output file. The format of the report depends on the extension. Supported extensions are .xml and .mdb.
Optional Parameters Description

Direction

Direction of the trace:

  • F or 1, to specify a forward trace.
  • B or 0, to specify a backward trace.

Forward is the default.

Project

Project. Default is the default project.