× 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.



On Sat, Aug 14, 2021 at 9:48 AM Howie, Bill <BHowie@xxxxxxxxxxxxxxxx> wrote:

I have a field that is defined as a text field in the CSV file. This field contains an alphanumeric vendor number. It basically looks like this: 00123456. The database file I'm copying it into has one large 1,076-character field for each row of data from the text file. For some reason when the data is copied it drops the zeros off the front of the vendor number, so that it looks like this: 123456. The vendor number file I need to read using the number has the zeros on the front, so I need them there. What part of the CPYFRMSTMF command removes those zeros? Would it be better to use CPYFRMIMPF instead? Any info is as always appreciated. Thanks!

Have you confirmed that the leading zeros are still there in your IFS
stream file? I recommend using the DSPF command (or WRKLNK) for this
purpose.

What you describe sounds like it is happening in Excel, not anything on the i.

John Y.

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.