Q
Problem solve Get help with specific problems with your technologies, process and projects.

Control trimming of trailing blank

I've tried to FTP a file from the iSeries to a PC running NT. The records in the file had blanks in the last five bytes of each record (record size was 280 bytes). The records on the PC were only 275 bytes since the FTP transmission automatically chopped off the last five bytes. How do I FTP the file and keep the records at 280 bytes, thus keeping the last field of five blanks?

It is possible to control trimming of trailing blank in the iSeries FTP client by using lsite command as follows:

locsite trim 0 - Set Trim option to OFF. The server sends trailing blanks of database records.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.

The Best Web Links: Tips, tutorials and more.


Dig Deeper on iSeries ILE programming

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

Close