Q
Get started Bring yourself up to speed with our introductory content.

Preventing truncating trailing spaces

Is there a clean way to prevent a file FTP'd from an AS/400 system from truncating trailing spaces? I know the quote site trim 0 works from DOS, but I want to FTP directly from the AS/400 to the receiving system. The sent file always truncates the trailing spaces. Any ideas?


From the AS/400, in FTP use the command:
LOCSITE TRIM 0
This will set the trim off on the AS/400 FTP.
To turn it back on, use:
LOCSITE TRIM 1
To see what the current setting of TRIM is, use:
LOCSITE TRIM


This was last published in March 2001

Dig Deeper on iSeries SQL commands and statements

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

  • How do I size a UPS unit?

    Your data center UPS sizing needs are dependent on a variety of factors. Develop configurations and determine the estimated UPS ...

  • How to enhance FTP server security

    If you still use FTP servers in your organization, use IP address whitelists, login restrictions and data encryption -- and just ...

  • 3 ways to approach cloud bursting

    With different cloud bursting techniques and tools from Amazon, Zerto, VMware and Oracle, admins can bolster cloud connections ...

Close