|
And if it's packed, it will be x'12345F' if it's defined as 5,2 - in*** CONFIDENTIALITY NOTICE: The information contained in this communication may be confidential, and is intended only for the use of the recipients named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please return it to the sender immediately and delete the original message and any copy of it from your computer system. If you have any questions concerning this message, please contact the sender. ***
DSPPGM just press F10 + F11 and see
135
24F
or
0135
024F
if 6,2
hey, the digits are there, if you bob your head up and down a little -
and no decimal point, of course.
On 9/9/2023 3:31 PM, Rob Berendt wrote:
I think you missed my point. 123.45 will look like x'F1F2F3F4F5' andthere
will be nothing for the decimal as it is implied. So if I ftp thatto
over
a PC it will appear as 12345. Therefore zoned decimal bringsbe
nothing to that party.
On Sat, Sep 9, 2023 at 12:32 PM <smith5646midrange@xxxxxxxxx> wrote:
"And, as far as transferring flat files to heterogeneous
environments goes, implied decimal positions seen with zoned
decimal isn't going to
toany easier than packed decimal. Both will need to go through a
download tool to convert or something like CPYTOIMPF."
I have to disagree with that statement. FTP will automatically
convert EBCDIC to ASCII. Therefore, EBCDIC zoned F1F2F3
automatically converts
RobASCII 313233 but EBCIDC packed 123F does not convert to anything
intelligent in ASCII.
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf
Of
midrange-l@xxxxxxxxxxxxxxxxxx>Berendt
Sent: Saturday, September 9, 2023 8:55 AM
To: Midrange Systems Technical Discussion <
goes,Subject: Re: DB2 Table: Is there any valid reason to create a zoned
decimal column?
Are people still using files without column definitions? Where
they simply do a CRTPF MYFILE RCDLEN(256) and use RPG to define the
field positions?
Otherwise I cannot fathom the glory of DSPPFM to find numerics.
And, as far as transferring flat files to heterogeneous
environments
toolimplied decimal positions seen with zoned decimal isn't going to be
any easier than packed decimal. Both will need to go through a
download
to convert or something like CPYTOIMPF.
On Fri, Sep 8, 2023 at 4:25 PM Osborne, Wynn <
Wynn.Osborne@xxxxxxxxxxxxxxxxxx> wrote:
Hi all,choice?
This question arose within me while putting together some database
standards for my team.
I cannot think of valid reason why I would ever this
What about you? Have you come across a scenario where this was
good
Regards,
Wynn Osborne
Senior IBM i Programmer-Analyst,Database Administrator The
Villages
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.