×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
The link to the V5R1 manuals really helped...
Thanks
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Vern Hamberg
Sent: Tuesday, July 21, 2009 9:20 AM
To: RPG programming on the IBM i / System i
Subject: Re: Using %DEC with V5R1
The RPG Reference has your answer - V5R1 InfoCenter is at
http://publib.boulder.ibm.com/iseries/v5r1/ic2924/info/rzahgicmain.htm -
I think that it has to be numeric, not alpha, at V5R1 - numeric came
later, maybe V5R2.
BTW, I keep links to the Online Library and InfoCenter all the way back
to V3R2 - some of the early manuals are better, IMO.
HTH
Vern
Michael Smith wrote:
The following code produces a compile time error:
*RNF0327 30 1 The first parameter for %DEC or %DECH is not valid.
The definition of TWWSECT is:
155=I A 2 5 TWSSECT
SECT
Code:
If %Dec(TwSSect : 4 : 0) = *Zero
Does anyone have a working example of using this BIF in V5R1.
TIA
Michael
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.