The task is used to control stream data scanning and to create dependency source code data.
The following table describes the task specific attributes for the task:
| Task Specific Attributes | ||
| Attribute | Description | Required |
| projectRoot | Root directory of the component project. The default is to use the location of the build script. Specifying a path that is relative to the location of the build script is acceptable. | No |
| scan |
Specifies whether or not source code data scanning is enabled. Valid values are true and false. The default is true.
|
No |
The sourceCodeDataRule element is specified within the element. Each sourceCodeDataRule element identifies a file to process. At least one sourceCodeDataRule element is required. The following table describes the valid sourceCodeDataRule attribute values:
| sourceCodeDataRule Element Attributes | ||
| Attribute | Description | Required |
| match |
Specify a regular expression for the file name that is the target of this rule. This expression is used to match the file path string "zFolder/zFile" where the zFolder is a child of the zOSsrc folder. For example, the match pattern "^.*/EPSCSMRT\.cbl$" will match on any zFile named "EPSCSMRT.cbl" in any zFolder.
|
Yes |
The dependency element is specified within the sourceCodeDataRule element. Each dependency element defines dependency data for the matched file. If no dependency elements are specified, the task deletes all user-defined dependency data for the matched file. The following table describes the valid dependency attribute values:
| dependency Element Attributes | ||||||||||||||||||||||||
| Attribute | Description | Required | ||||||||||||||||||||||
| logicalName | Dependency logical name. This is typically the name of the included file without the file extension. | Yes | ||||||||||||||||||||||
| fileType |
Dependency file type. The default file types are:
|
Yes | ||||||||||||||||||||||
| path | Dependency path. This is typically the DD that supplies the dependency file. | No | ||||||||||||||||||||||
| referenceType |
Dependency reference type. The default reference types are:
|
Yes | ||||||||||||||||||||||
<xt:sourcecodedata projectRoot="../MortgageApplication-EPSMLIST">
<xt:sourcecodedatarule match="LINK/EPSMLIST\.lnk$">
<xt:dependency
logicalName="EPSMLIST"
fileType="OBJ"
path="SYSLIB"
referenceType="LINK"/>
</xt:sourcecodedatarule>
</xt:sourcecodedata>