|
Nope but what does INZ keyword achieve ? Also when exactly does one get a decimal data error ? Narsi -----Original Message----- From: rpg400-l-bounces+narsi_bala=csgsystems.com@xxxxxxxxxxxx [mailto:rpg400-l-bounces+narsi_bala=csgsystems.com@xxxxxxxxxxxx]On Behalf Of mwalter@xxxxxxxxxxxxxxx Sent: Wednesday, April 07, 2004 1:40 PM To: RPG programming on the AS400 / iSeries Subject: Re: Decimal Data Error PNoLines isn't in a data structure is it? If it is, add the INZ keyword to your D spec. Thanks, Mark Mark D. Walter Senior Programmer/Analyst CCX, Inc. mwalter@xxxxxxxxxx http://www.ccxinc.com "Bala, Narsi" <Narsi_Bala@csgsys To: <rpg400-l@xxxxxxxxxxxx> tems.com> cc: Sent by: Subject: Decimal Data Error rpg400-l-bounces@m idrange.com 04/07/2004 03:31 PM Please respond to RPG programming on the AS400 / iSeries Hi all, Here is a line of code from my ILE program. 0064.00 C z-add $LIN# PNoLines $LIN# is Packed 5,0 and PNoLines is also 5,0. This line crashes with a Decimal Data Error. At debug I note that the value of %LIN# is 00004. Why would this be a decimal data error. Also I changed the value to 00003 and it works just fine. Going nuts over this issue. Any help would be highly appreciated :) Narsi _______________________________________________ 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. _______________________________________________ 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-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.