QNX 4.25 NFS to AS400

I am trying to do an NFS mount from a QNX 4.25 system to an AS400
system. The mount works correctly and I can access the AS400 directory
however ASCII files do not translate correctly. (ie. the trailing spaces
are not stripped and replaced by newlines. Also When I copy an ASCII
file to the AS400 it does not translate correctly either. If I ftp the
same file using ASCII transfer the file comes across correctly.

Also tried bringing the file across in bin format and using dd to
convert from EBCDIC to ASCII but it does the same thing

dd if=AS400.FILE of=QNX.FILE conv=ascii

Any help would be greatly appreciated