TDUDATA cannot be specified as a destination/config member parameter, but there are other destination/config member parameters that can be used to set the XCOM for Windows parameter REMOVE_TRAIL_BLANKS from the XCOMPRE.bat user exit.
One way would be to have two destination/config PSO members that point to the same target destination, you can direct which SPOOL file goes to which XCOM destination.
For example:
* PSO DEST FOR Windows XCRTBYES
*
TYPE=DEST
DEST= XCRTBYES
IPNAME=xxx.xxx.xxx.xxx
IPPORT=xxxxx
SECURE_SOCKET=NO
PSOUSER=xxxxxxxx
PSOPASS=xxxxxxxx
PSOWAIT=NO
PSOPREF= XCRTBYES
By directing the SPOOL files that require special processing to this XCOM for z/OS PSO destination XCRTBYES it allows for the ability to define a unique/specific prefixed remote filename:
remote_file: " XCRTBYES.xxxxxxxx.xxxxxxxx.xxxxxxxx"
which can be used by the XCOM for Windows XCOMPRE exit to set the REMOVE_TRAIL_BLANKS=YES for this particular transfer:
:XCOMPRE_REMOTE
if /%use_echo%/ == /YES/ echo XCOMPRE_REMOTE
SET xcrmtfname=/%remotefile:~1,8%/
rem The following two if statements are case-sensitive. To make them not case-sensitive
rem a "/I" must follow the word "if" as if /I /%file%/ == ......
if NOT /%xcrmtfname%/ == /"XCRTBYES"/ GOTO XCOMPRE_END
%xcomqm% -p%local_reqno% REMOVE_TRAILING_BLANKS =YES
GOTO XCOMPRE_END
Please be aware that the above XCOMPRE code is a sample. The user will be responsible for making the necessary changes or updating the script for their site specifications and/or maintenance.