The task is used to strip trailing blanks from each line of a z/OS file stored in the USS. The stripTrailingBlanks task reduces the size of listings produced by z/OS compilers in order to reduce the overhead of publishing listing output from an Enterprise Extensions build.
The task supports Build Extensions Debugging Attributes, as well as, its own task specific attributes. Click on a link for more information on the common attributes.
The following table describes the task specific attributes for the task:
| Task Specific Attributes | ||
| Attribute | Description | Required |
| file | Full path to the file. | Yes |
| verbose | Specifies more message output. The default is false. | No |
Reduce the size of a listing file prior to publishing
<!-- Publish log files -->
<BuildActivity label="${lblMainParent}: Publish log files"/>
<ac:for list="${getFileList}" delimiter=";" param="file" parallel="true" threadCount="8">
<sequential>
<xt:striptrailingblanks file="${dir.work}/@{file}"/>
<LogSend log="${dir.work}/@{file}" lbl="Combined translator output for resource ${team.enterprise.scm.resourcePrefix}: @{file}"/>
</sequential>
</ac:for>