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 » WebSphere Message Broker (ACE) Support » Broker property

Post new topic  Reply to topic
 Broker property « View previous topic :: View next topic » 
Author Message
saturn_cemk
PostPosted: Mon Mar 05, 2007 6:34 pm    Post subject: Broker property Reply with quote

Novice

Joined: 10 Jul 2006
Posts: 16

Hi all,

I need to insert a newline character in the output XML message. For this I first need to find out the system in which the broker is running and then do the casting of the hex value using the corresponding CCSID. I am using MB v6.

The operating system check is done because currently testing is done on local machines which run Windows but later on the Broker installed in AIX box will be used. The code is supposed to handle both the situations.

If the system in WINDOWS then CAST(x'0D0A' AS CHARACTER CCSID 437)
Else If it is AIX then CAST(x'0A' AS CHARACTER CCSID 819)

For determining the OS, I am using the broker property 'Family'.

Now I have two questions here :

1. Does the broker property 'Family' return AIX ?
2. Is the logic correct ?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Mar 05, 2007 7:33 pm    Post subject: Re: Broker property Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

saturn_cemk wrote:
I need to insert a newline character in the output XML message. For this I first need to find out the system in which the broker is running and then do the casting of the hex value using the corresponding CCSID. I am using MB v6.


This has nothing to do with the CCSID that the Broker is using.

Use the CCSID of the message you want to produce - what the value of OutputRoot.Properties.CodedCharSetID will be before you hit an MQOutput node - to decide whether to put <CR><LF> or just <LF>.

Or just always put in OA and deal with that on the windows system.
_________________
I am *not* the model of the modern major general.
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 » WebSphere Message Broker (ACE) Support » Broker property
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.