Plug-in Driven Extract File Name Trims Trailing Spaces for Batch Control Variable
The plug-in driven extract batch supports a variable in the File Name for the batch control code. Previously, if the batch control code was fewer than 8 characters, the column contained trailing spaces to pad the data to the full 8 characters and the trailing spaces were included for the file name when substituting the code. For example, if the batch control was F1-ABCD and the file name parameter was defined as follows:
"Extract_{batchControl}_{runNumber}.txt"
The file name for run number 001 would be:
Extract_F1-ABCD _001.txt
In this release, the trailing spaces are trimmed so the file name in the above example would now be as follows:
Extract_F1-ABCD_001.txt.
This reduces confusion in cases where file extracts that use the batch control code as the trailing spaces would not be expected.
Steps to enable and configure
You don't need to do anything to enable this feature.
Tips and considerations
You should confirm that if you have use cases that use the batch control variable in file names for a batch control with fewer than 8 characters, there is no downstream process that expects the trailing spaces. If there is, the downstream processes should be adjusted to no longer expect the trailing spaces.