Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

EDITCODE point or comma

132 views
Skip to first unread message

Roland Birner

unread,
Feb 5, 1998, 3:00:00 AM2/5/98
to

I am working with RPG/400 on a V3R1M0 and have following problem:
Usually our edit format for numeric fields is comma for decimal
seperator (111.111,00) now we have a new customer who wants a point
(111,111.00). Do I have to define every output-field twice (al lot of
maintenance) or does anybody know something better. Maybe there is a way
to control the edit format in the program? Please let me know. Thanks,
Jasmin.

Bradley V. Stone

unread,
Feb 6, 1998, 3:00:00 AM2/6/98
to

On Thu, 05 Feb 1998 20:53:09 +0100, Roland Birner <bir...@netway.at>
wrote:

This is a system value that can be found by using WRKSYSVAL. It
allows you to change these settings. So, if they are on a different
machine, no problem.

Bradley V. Stone
bvs...@usa.net
http://prairie.lakes.com/~bvstone/
1992 Yamaha FJ1200
1969 Suzuki T250
"Why is he sweating? I'm not sweating and I'm wearing a turtleneck! You're fired!"

LDV Systema

unread,
Feb 10, 1998, 3:00:00 AM2/10/98
to


Bradley V. Stone <bvs...@usa.net> schrieb im Beitrag
<34da9801....@news.lakes.com>...


>
> This is a system value that can be found by using WRKSYSVAL. It
> allows you to change these settings. So, if they are on a different
> machine, no problem.
>
> Bradley V. Stone
> bvs...@usa.net
> http://prairie.lakes.com/~bvstone/
>

> I tried to change the SYSVAL for decimal seperator - but it is used ony
during the compilation. If I don't compile the dspf I have to use point
for decimal seperator for the input but it showes me comma in the output. -
Any idea how I can solve this problem??? - Thanks Jasmin


Ake H Olsson

unread,
Feb 10, 1998, 3:00:00 AM2/10/98
to


> >
> > I tried to change the SYSVAL for decimal seperator - but it is used ony
> during the compilation. If I don't compile the dspf I have to use point
> for decimal seperator for the input but it showes me comma in the output.
-
> Any idea how I can solve this problem??? - Thanks Jasmin
>

How about a RTVSYSVAL and using the EDTWRD BIF in an ILE-RPG EVAL
statement?

Ake

Rick Childers

unread,
Feb 10, 1998, 3:00:00 AM2/10/98
to

I had a similar problem some time ago. It turned out to be editing that
someone has put in the DDS of the PF that I was referencing for field
attributes. This could be happening because of edit words or edit codes
used in your Printer-File-DDS or edit words or edit codes used in the file
that you referenced from your Printer-File-DDS.

LDV Systema

unread,
Feb 12, 1998, 3:00:00 AM2/12/98
to

I tried to change the system value for decimal seperator from comma to
point - so now I have to input a point but it still showes me a comma in
the output because the sysval is used during the compaliation of the dspf -
not during the runtime - has anybody an idea how I can change the edit
format during the runtime ????? - thanks jasmin

Roland Birner <bir...@netway.at> schrieb im Beitrag
<34DA18...@netway.at>...

The TEAMIBM Network

unread,
Feb 16, 1998, 3:00:00 AM2/16/98
to

I am not able to find the original question, and so this response may
not be "on target"; but one of the V4R2 National Language Support
enhancements is the ability to now resolve the decimal format at
runtime for *DSPF, *PRTF, and *PNLGRP. In previous releases standard
system support for decimal format determination was limited to compile
time (for *DSPF and *PRTF).

Bruce Vining

0 new messages