Mit dem Problem der verkürzten Satzlänge haben wir vor etlicher Zeit auch gekämpft.
Die Lösung:

The FTP subcommand options for the TRIM setting are:

FTP client: LOCSITE TRIM n
FTP server: SITE TRIM n

The values for n in the base support for this release are:

0 - Do NOT trim blanks when sending files from the database (QSYS.LIB) file system.

1 - Only trim blanks when sending files from the database file system when the transfer structure is set to File and the transfer mode is set to Stream. This is the default setting, and provides the trim behavior introduced in V3R1M0.

The new value introduced for n is:

2 - Always trim trailing blanks when sending files from the database file system. This setting provides the trim behavior from V3R0M5 and previous releases.

Note: TRIM settings do not apply to TYPE I (binary) file transfers. Blanks are never trimmed for TYPE I file transfers, regardless of the TRIM setting.