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 Index » IBM MQ Installation/Configuration Support » The CCSID Blues

Post new topic  Reply to topic
 The CCSID Blues « View previous topic :: View next topic » 
Author Message
paulgroo
PostPosted: Thu Aug 03, 2006 2:31 am    Post subject: The CCSID Blues Reply with quote

Centurion

Joined: 07 Jul 2005
Posts: 138
Location: Ireland

Hi,
I was wondering about a CCSID issue that I'm having with a queue manager running on an iSeries system.

We have a java application that creates messages using CCSID1208 and tries to post the messages to a queue manager using CCSID500, but the messages are just stopping on the transmission queue. When I quit the job (because the queue fills up), all the messages are backed out.

Is it possible to use CCSID 1208?
Should I be setting the queue manager to CCSID1208 (although when I try to do this, it tells me that 'this option isnt available' or something)?
Back to top
View user's profile Send private message MSN Messenger
Vitor
PostPosted: Thu Aug 03, 2006 2:42 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Are you sure the channel's ok? IHMO (based on the last time this blew up in my face) unconvertable messages should go to the DLQ....

(Opposing comments welcomed, especially those backed with evidence)

Do you have conversion on the channel, or is it on the get?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
paulgroo
PostPosted: Thu Aug 03, 2006 2:56 am    Post subject: Hi there Reply with quote

Centurion

Joined: 07 Jul 2005
Posts: 138
Location: Ireland

Thanks for the reply!
Yes, I thought it was a bit weird too that they werent dropping into the DLQ. It looks like the Java program is actually just spawning messages onto the the Transmission queue and not transferring them to the Channel. This eventually gets to the point where the queue just fills up and the the program ends (?!). (Pah! I wish I knew some Java coding...)

Normally, this application transfers files to a Windows machine, so the application does the conversion for us.
ie: Files are created; files are then converted to CCSID 500. The queue manager is CCSID 500 and the destination (windows) CCSID is 819. Its only now when theyve started messing about with 1208 that the problem has arisen.

I'm just after setting CONVERT = *YES on the channel so I'll recycle the queue manager and see what happens.

I dunno why I cant specify 1208 as the queue manager CCSID though, maybe it's not supported? I'll have a look about in the IBM maze for that one.
Back to top
View user's profile Send private message MSN Messenger
jefflowrey
PostPosted: Thu Aug 03, 2006 2:58 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

So, wait.

If you stop the job, the messages are backed out?

Doesn't that mean that the Java program hasn't committed them?

So how could they go anywhere if they aren't committed.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
paulgroo
PostPosted: Thu Aug 03, 2006 3:17 am    Post subject: Yes Reply with quote

Centurion

Joined: 07 Jul 2005
Posts: 138
Location: Ireland

Yes, it seems that the messages arent getting committed. The only difference in the configuration is that when the files are sent using CCSID500 everything works grand, but with 1208 it doesnt work. I've tried changing the queue manager CCSID to various different settings but it still stays the same.
Back to top
View user's profile Send private message MSN Messenger
Vitor
PostPosted: Thu Aug 03, 2006 3:24 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

So with CCSID 500 the messages are committed, go to their destination and do whatever it is that they do? With 1208 they don't even get committed? That's not just weird it's bizarre (and embarassing I didn't pick it up in your first post )

What's the programmed scope of the UOW in the Java programme?

Changing the channel CONVERT only requires the channel to be stopped and restarted, though recycling the queue manager never hurts.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Aug 03, 2006 3:33 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

There is (and this is where markt pops in and corrects me) no way that the CCSID can affect the success of a properly issued commit.

The CCSID of the remote queue manager has no bearing here. If the messages are uncommitted on the transmit queue, then the MCA on the sending side hasn't touched them yet and the remote CCSID is irrelevant.

This is squarely an issue with the Java program failing to issue a commit when it needs to.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
paulgroo
PostPosted: Thu Aug 03, 2006 3:36 am    Post subject: Sorry... Reply with quote

Centurion

Joined: 07 Jul 2005
Posts: 138
Location: Ireland

It's my turn to be embarrassed now What do you mean UOW?

(I did a google search and only found University Of Wollongong...)
Back to top
View user's profile Send private message MSN Messenger
paulgroo
PostPosted: Thu Aug 03, 2006 3:39 am    Post subject: Ah ok... Reply with quote

Centurion

Joined: 07 Jul 2005
Posts: 138
Location: Ireland

So it sounds like the Java code is written to specifically handle certain CCSID's...
I think I'm trying to overcompensate for this by changing the CCSID of the queue manager. I'll test of a few different queue managers CCSIDs and see what happens.
I hate it when contractors write code and then bog off....
Back to top
View user's profile Send private message MSN Messenger
Vitor
PostPosted: Thu Aug 03, 2006 3:42 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Sorry - Unit Of Work. It's (I thought ) a common terms for the group of operations finalised by a commit. For instance, reading a message, updating a database & sending a reply would be a single unit of work because you want them all to succeed or all to fail.

Basically, how many messages do you think your program should process before committing?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Aug 03, 2006 3:45 am    Post subject: Re: Ah ok... Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

paulgroo wrote:
So it sounds like the Java code is written to specifically handle certain CCSID's...


I can't imagine how you could or why you'd bother, but my Java is not far above the "Hello World" level. With luck, someone will offer an informed opinion.

paulgroo wrote:
I hate it when contractors write code and then bog off....


I make a point of being a safe distance away when any of my code is implemented ....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
paulgroo
PostPosted: Thu Aug 03, 2006 4:02 am    Post subject: Reply with quote

Centurion

Joined: 07 Jul 2005
Posts: 138
Location: Ireland

Thanks for the input all the same!
I'll see if I can track down the developer and torture him (not before finding out some answers though).

Thanks again!
Back to top
View user's profile Send private message MSN Messenger
tleichen
PostPosted: Mon Aug 07, 2006 10:15 am    Post subject: Re: Hi there Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

paulgroo wrote:

...
Normally, this application transfers files to a Windows machine, so the application does the conversion for us.
ie: Files are created; files are then converted to CCSID 500. The queue manager is CCSID 500 and the destination (windows) CCSID is 819. Its only now when theyve started messing about with 1208 that the problem has arisen.

I'm probably getting rusty on this and I may be wrong, but if my memory isn't totally blown away, isn't 819 normally a UNIX codeset? As I recall, we always used 437 on Windows...
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » The CCSID Blues
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.