ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexiSeries, OpenVMS, HP-NSSOff topic: IBM i question

Post new topicReply to topic
Off topic: IBM i question View previous topic :: View next topic
Author Message
RogerLacroix
PostPosted: Wed Dec 07, 2022 1:16 pm Post subject: Off topic: IBM i question Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3242
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
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Thu Dec 08, 2022 5:42 am Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20640
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
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexiSeries, OpenVMS, HP-NSSOff topic: IBM i question
Jump to:



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
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.