That's correct, and I account for both in my program. When I step through my program, I see that incoming parameter as 488, which is why I put that in the email. Thanks for the input!!
Nathan Hughes
Software Developer
601.499.2131 Office
280 Trace Colony Park
Ridgeland, MS 39157
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of dlclark@xxxxxxxxxxxxxxxx
Sent: Monday, March 23, 2020 3:39 PM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: FieldProc Error - column has returned invalid data on a Zoned Numeric column
"RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> wrote on 03/23/2020
04:26:31 PM:
The program from the link above allows for several SQL types, clob,
varchar, char, blob, etc., but I needed to add zoned numeric. To
begin, I studied and stepped through the program to see what it was
doing, and thought I had a good understanding of how it worked. I
then started adding what appeared as necessary for the SQL_TYP_ZONED
(488).
I don't know that this has anything to do with the issue, but I
thought I would point out that there are two different codes for the zoned
data type -- depending upon whether the column is null capable or not.
There is 488 as well as 489.
Sincerely,
Dave Clark
--
int.ext: 91078
direct: (937) 531-6378
home: (937) 751-3300
Winsupply Group Services
3110 Kettering Boulevard
Dayton, Ohio 45439 USA
(937) 294-5331
*********************************************************************************************
This email message and any attachments is for use only by the named
addressee(s) and may contain confidential, privileged and/or proprietary
information. If you have received this message in error, please
immediately notify the sender and delete and destroy the message and all
copies. All unauthorized direct or indirect use or disclosure of this
message is strictly prohibited. No right to confidentiality or privilege
is waived or lost by any error in transmission.
*********************************************************************************************
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Frpg400-l&data=01%7C01%7Cnathan.hughes%40badgepass.com%7Cb99f6575dca74124709208d7cf6a420b%7C224758f072634e52a6e4f5db2afdf99e%7C0&sdata=zIrpSs8mONbQpmLCskJ2SAJVgmQUbWI%2F8PnRhxxQZGc%3D&reserved=0
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Frpg400-l&data=01%7C01%7Cnathan.hughes%40badgepass.com%7Cb99f6575dca74124709208d7cf6a420b%7C224758f072634e52a6e4f5db2afdf99e%7C0&sdata=HYh%2BERhRcHyc3ADoirVl4EFS67BhBZ1Ns%2B0h2K7HwX8%3D&reserved=0.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazon.midrange.com&data=01%7C01%7Cnathan.hughes%40badgepass.com%7Cb99f6575dca74124709208d7cf6a420b%7C224758f072634e52a6e4f5db2afdf99e%7C0&sdata=fhbswCdOOZPLsscmtr42%2BuaT95dLVrKDcd2V7CZUrvQ%3D&reserved=0
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information or otherwise protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
As an Amazon Associate we earn from qualifying purchases.