Web Page - CCSID

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
Joerg Hamacher
Posts: 124
Joined: Thu Feb 11, 2016 12:01 am

Web Page - CCSID

Post by Joerg Hamacher »

Hi again,

we are developing and working on a german IBMi system.
When developing web pages on my laptop I see numeric values correctly displayed in format 1.234.567,00.
When I compile the web page and test it in different browsers on my laptop the numeric values are always in format 1,234,567.00.
The same happens when I check in the web page and let it run from IBMi web server.

Where can I tell the system to use the german / european format for numeric values?
When using forms everything is ok.

Best regards and many thanks in advance,
Joerg
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

Re: Web Page - CCSID

Post by atostaine »

Have you checked system value QDECFMT? WRKSYSVAL QDECFMT

Is there a setting in Apache for the numeric format?
Art Tostaine
Joerg Hamacher
Posts: 124
Joined: Thu Feb 11, 2016 12:01 am

Re: Web Page - CCSID

Post by Joerg Hamacher »

Hi Art,

QDECFMT is set to J which is explained as displaying values like 1.004,00 and 0,40. This seems to be ok.
In httpd.conf of the web server instance (/LANSA_l14pgmlib/webserver/www/conf/httpd.conf) I found these settings for CCSID:

DefaultFsCCSID 00037
DefaultNetCCSID 00819

<Directory /QSYS.LIB/L14COMLIB.LIB>
Order Allow,Deny
Allow From all
CGIConvMode BINARY
DefaultNetCCSID 1208
</Directory>
Post Reply