|
That's ok it my first time dealing with them.
That's why I decided to copy the objects over from the old box rather than recreate then to make sure I had same definitions. The N does look odd but again I just took it as it exists so therefore this must have been asked for and is correct. I do know it's for our Spanish users but that is all. I thought maybe the N stood for something like *NONE but it doesn't appear to. Note, field was originally 9,2 but has just changed to 11,2 - the edit code seems to work for both definitions on our old box.
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Luis Rodriguez
Sent: 28 September 2009 21:29
To: RPG programming on the IBM i / System i
Subject: Re: Problems User define edit codes
Stephen,
My apologies if I'm insistent on the syntax part. I have done some tests here and I have not found any problems but, Did you check if the INTMASK and FRACMASK parms have the proper length? It seems to me that the INTMASK is little long (they should be 9 and 2 spaces, respectively).
Also, just curious, Why a 'N' as a decimal point?
It has been a long time since I last worked with User defined edit codes, so I must been missing a lot of possibilities.
Regards,
Luis Rodriguez
IBM Certified Systems Expert - eServer i5 iSeries
On Mon, Sep 28, 2009 at 2:24 PM, Brown, Stephen GLARC <Stephen.> wrote:
Yes I copied the objects from the old machine to the new one to make--
sure.
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Luis Rodriguez
Sent: 28 September 2009 18:02
To: RPG programming on the IBM i / System i
Subject: Re: Problems User define edit codes
Stephen,
Are you sure that your edit code def. is the same in both machines? It
could be that your edit masks differ in size...
Regards,
Luis Rodriguez
IBM Certified Systems Expert - eServer i5 iSeries
On Mon, Sep 28, 2009 at 10:14 AM, Brown, Stephen GLARC
<Stephen.Brown@xxxxxxxxx> wrote:
Can anyone assist ?--
We have just migrated to a news iSeries machine running V5R4M0.
Previous was running V5R3M0. The DSPF compiled ok on previous version
with FT03 marked change to field size included but didn't compile on
new box. The only difference I am aware of is the change to OS. All
other aspects are the same i.e code and edit code definitions. I have
changed the edit code description to see if this makes a difference
but no joy.
DSPFFD extract of compiled DSPF on Prev box
CHKAMT ZONED 11 2 11 58 Output 7 67
Field text . . . . . . . . . . . . . . . : Cheque Amount Keyboard
shift . . . . . . . . . . . . . : Y Editing Information Edit code . .
. . . . . . . . . . . . . : 8 Compile failure on New box
1640 FT03 A*********** CHKAMT 9Y 2O 7 69TEXT('Cheque Amount')
1641 FT03 A CHKAMT 11Y 2O 7 67TEXT('Cheque Amount')
1650 A EDTCDE(8)
* CPD7520-* .
* CPD7528-*
CPD7520 20 1 Message . . . . : Keyword ignored because of error in list
of values.
CPD7528 20 1 Message . . . . : Number of decimal replace positions not
valid.
EDTD Definition
Display Edit Description
Edit description . . . . . . . : 8
Integer mask . . . . . . . . . : 0
Decimal point character . . . : N
Fraction mask . . . . . . . . :
Fill character . . . . . . . . :
Currency symbol . . . . . . . :
Edit zero values . . . . . . . : *YES
Negative status characters . . :
Positive status characters . . :
Left constant characters . . . :
Right constant characters . . :
Text . . . . . . . . . . . . . : Spanish editing w
---------------------------------------------------------------------
-
--------
CONFIDENTIALITY NOTICE: If you have received this email in error, please immediately notify the sender by e-mail at the address shown. This email transmission may contain confidential information. This information is intended only for the use of the individual(s) or entity to whom it is intended even if addressed incorrectly. Please delete it from your files if you are not the intended recipient. Thank you for your compliance. Copyright 2009 CIGNA
==============================================================================
--
This is the RPG programming on the IBM i / System i (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 IBM i / System i (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.
----------------------------------------------------------------------
--------
CONFIDENTIALITY NOTICE: If you have received this email in error, please immediately notify the sender by e-mail at the address shown. This email transmission may contain confidential information. This information is intended only for the use of the individual(s) or entity to whom it is intended even if addressed incorrectly. Please delete it from your files if you are not the intended recipient. Thank you for your compliance. Copyright 2009 CIGNA
==============================================================================
--
This is the RPG programming on the IBM i / System i (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 IBM i / System i (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.
------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: If you have received this email in error, please immediately notify the sender by e-mail at the address shown. This email transmission may contain confidential information. This information is intended only for the use of the individual(s) or entity to whom it is intended even if addressed incorrectly. Please delete it from your files if you are not the intended recipient. Thank you for your compliance. Copyright 2009 CIGNA
==============================================================================
--
This is the RPG programming on the IBM i / System i (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.