|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
![Reply to topic](templates/DAJ_Glass/images/lang_english/reply.gif) |
|
Off topic: IBM i question |
« View previous topic :: View next topic » |
Author |
Message
|
RogerLacroix |
Posted: Wed Dec 07, 2022 1:16 pm Post subject: Off topic: IBM i question |
|
|
![](images/avatars/136281076646ca0b3d89dee.gif) Jedi Knight
Joined: 15 May 2001 Posts: 3253 Location: London, ON Canada
|
All,
I need a little bit of IBM i (OS/400) help that is not related to IBM MQ.
If you saw my blog posting here, you will know that I am having EBCDIC and square bracket issue. I found what I thought was a solution by using the nl_langinfo(CODESET) call as detailed here.
When I run a test program with the call on my system, it returns 37 for the code page/CCSID. When I run the following commands on my system:
DSPSYSVAL SYSVAL(QCCSID)
DSPSYSVAL SYSVAL(QCHRID)
They both return code page/CCSID of 37.
So I gave the test program to the customer. When they run the program it returns 37 for the code page/CCSID. But when the customer run those 2 "DSPSYSVAL SYSVAL" commands, they return 273 for code page/CCSID.
So, my question is to those IBM i experts, what am I doing wrong. Note: The code that I am using was posted in my blog posting. I don't understand why it didn't return 273 for code page/CCSID.
Help please.
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
fjb_saper |
Posted: Thu Dec 08, 2022 5:42 am Post subject: |
|
|
![](images/avatars/gallery/misc/2.gif) Grand High Poobah
Joined: 18 Nov 2003 Posts: 20696 Location: LI,NY
|
While the 2 values can be the same, they need not be the same.
Here is the definition: https://www.ibm.com/docs/en/i/7.1?topic=values-character-identifier-qchrid-system-value
What are you doing with an Austrian / German server?
Could they possibly want to handle numeric data in CCSID 37 i.e. decimal point and not decimal comma etc... but character data in CP 273 (sharp s or sz etc...)?
Hope it helps ![](images/smiles/innocent.gif) _________________ MQ & Broker admin |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
|
|
![Reply to topic](templates/DAJ_Glass/images/lang_english/reply.gif) |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|