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

Transfer a PF to a PC file with no trailing blanks

How can I transfer a PF to a PC ASCII format so that the trailing spaces in the PF are dropped and no CRLF is added for each record. ASCII text mode drops trailing spaces, but adds CRLF. BASIC random mode doesn't add the CRLF, but retains the trailing spaces. Is the other combination available?
Apart from wondering what is the need for file with no trailing blanks and no end of line, the best I can suggest is to use a simple download and then in Windows remove the CRLF by using an external program. Click here for an example.


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 Access (Client Access)

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.