|
Make the fields zoned rather than packed...
A R TESTREC
A ITEM 6S 0
A AMOUNT 5S 2
Record# Item Amount
1 123456 12.34
2 456789 13.45
> -------- Original Message --------
> Subject: FTP to a physical file on an i5
> From: Ronald Newman <newmanr2002@xxxxxxxxx>
> Date: Fri, January 27, 2006 1:01 pm
> To: rpg400-l@xxxxxxxxxxxx
>
> I could use some help. I am trying to FTP a text file with two records to a
> file on our i5 system.
>
> below is the text file:
> 12345601234
> 45678901345
> this is the dds for thr physical file:
> A R TESTREC
> A ITEM 6 0
> A AMOUNT 5 2
> below is the results from the FTP
>
> ITEM 132333
> AMOUNT 353.66 and
>
>
> ITEM 132333
> AMOUNT Ù0.³³
>
> any suggestions
>
> Ron
>
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> With a free 1 GB, there's more in store with Yahoo! Mail.
> --
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
> To post a message email: RPG400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: RPG400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.