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 » Problem entering fixed value (<LF>) in Logical Propert

Post new topic  Reply to topic
 Problem entering fixed value (<LF>) in Logical Propert « View previous topic :: View next topic » 
Author Message
rodmill
PostPosted: Thu Sep 01, 2011 4:11 pm    Post subject: Problem entering fixed value (<LF>) in Logical Propert Reply with quote

Novice

Joined: 01 Feb 2007
Posts: 13

I am trying to enter a fixed (or default) value in the Logical Properties - Local Element - Value of the Message Defition Editor.
I have no difficulty trying to enter a normal character - it just works. But I actually need to enter line feed. So I expected I just enter <LF>, but (at run time) it treats that as 4 characters.

I have tried Type: string and hexBinary, and various formats for hex, such as x'0A' and variations on that. This is for MRM TDS (fixed length) output, so I could just put the code in the ESQL, but it seems to me that it would be better to put it in the message definition.

Thanks in advance for any help in this matter.
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Sep 02, 2011 1:25 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

The 'fixed' and 'default' properties are *logical * properties, and you must enter those values exactly as they would appear in an xsd.
The mnemonics <LF>, <CR> etc are only allowed in *physical* properties - by which I mean properties that describe the input or output bitstream. Examples of physical properties that accept mnemonics are 'Group Indicator', 'Group terminator' and 'Delimiter'.

The value that you need for a line feed in the 'fixed' and 'default' properties is &#x0A;
Back to top
View user's profile Send private message
rodmill
PostPosted: Fri Sep 02, 2011 2:34 am    Post subject: Problem entering fixed (or default) value MRM TDS output Reply with quote

Novice

Joined: 01 Feb 2007
Posts: 13

Thanks for your answer. I have tried the code &#x0A; but I still get the error. I have tried it with & without the semicolon, and also & #10; but they all give this error:
BIP5436
( MB7BROKER.default ) Data length error:
Element name: '86^eoln'
Element type: 'String'
Expected data length: 1 'Characters'
Actual data length: 6 'Characters'
Data: '&#x0A;'
While a TDS message was being written, it was found that the data length was inconsistent with the element definition.

I have been assiging the Value (button) Fixed under Logical Properties-Local Element. The physical Properties-TDS-Length is set to 1. If I do change it to the length that it is asking for, I get the actual text out in the output message.

Thanks for your help in this matter,
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 » Problem entering fixed value (<LF>) in Logical Propert
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.