× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



> Trying to download file as plain old ASCII text and I know I've done it
> before and don't recall this issue.  It is inserting a space before every
> field?

It's converting the numeric fields to ASCII characters.  To do that, it
needs to reserve space for the positive/negative sign in each field --
that's what the extra space is for.

Also, if you have packed fields or other fields that aren't normally
human-readable, they'll be converted to ASCII text, which will change the
record layout because the fields will take up more space.

If you'd like to circumvent this (I don't know why you would, but...) you
can create a flat file (a file with no fields defined) and use CPYF with
FMTOPT(*NOCHK) to put your data into the flat file.

When you copy that flat file to a stream file, no extra spaces will be
added since it doesn't know where the fields start and stop. :)


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.