The task is used to control stream data scanning and to create dependency source code data.

Attributes

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

sourceCodeDataRule Element

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

dependency Element

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:

Type: Description:
DBD IMS DataBase Description Block (DBD) source
DTL ISPF Dialog Tag Language (DTL) source
INCL Included source
MAC Called macro
MAIN Program / Batch job source
MAP BMS map set
MFS IMS Message Format Service (MFS) source
PROC Procedure call
PSB IMS Program Specification Block (PSB) source
UNKN Unknown source
Yes
path Dependency path. This is typically the DD that supplies the dependency file. No
referenceType

Dependency reference type. The default reference types are:

Type: Description:
++INCLUDE Include statement
-INC Include statement
COPY Copy statement
DTLINC DTL include statement
MACRO Macro reference
MACRO_DEF Macro definition
PROC JCL PROC reference
SQL INCLUDE SQL include statement
UNKN Unknown
Yes

Notes

Examples