|
Dave
I would check that about DDS-defined - if the PF exists, FTP will fill it
byte-by-byte - this works fine if you have only alpha and zoned fields.
Packed and integer and float will be a mess. Signs and decimal points and
thousands separators will also mess you up. Maybe in a fixed-length setup
that is less of an issue, but no guarantee there.
Cheers
Vern
If the PF does NOT exist, it is created as a flat file.
On 8/30/2016 2:54 PM, dlclark@xxxxxxxxxxxxxxxx wrote:
"WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx> wrote on 08/30/2016 02:10:08 PM:
If it's fixed width column layout why not just create the file onPresuming you mean a "flat" file with a single field the width of
the system & simply FTP the txt file directly into it?
the text file's record length, you could certainly do that. But, if you
mean a DDS- or SQL-defined, multi-field or multi-column file, then FTP
will not break up fixed-column layout text files into the separate
fields/columns defined on the IBM i.
Sincerely,
Dave Clark
--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.
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.