stripTrailingBlanks

The stripTrailingBlanks task strips 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 components to reduce the overhead of publishing listing output from an Enterprise Extensions build.

The following table describes stripTrailingBlanks attributes.

Attribute Description Required

file

Full path name to the file.

Yes

verbose

More message output. The default value is false.

No

Note: The file encoding must be IBM1047.

Example

Reduce the size of a listing file before publishing


<!-- publish log files -->
<BuildActivity label=:${lblMainParet}: Publish log files"/>
<ac:for list-"${getFileList}" delimiter=";" parm="file" parallel="true" threadCount="8">
	<sequential>
		<im:striptrailingblanks file="${dir.work}/@{file}"/>
		<LogSend log="${dir.work}/@{file}" lbl="Combined translator output for resource ${team.enterproise.scm.resourcePrefix}: @{file}"/>
	</sequential>
</ac:for>