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 » Trailing skip count behaviour when a field is null

Post new topic  Reply to topic
 Trailing skip count behaviour when a field is null « View previous topic :: View next topic » 
Author Message
gpkssts
PostPosted: Thu Nov 24, 2005 8:10 am    Post subject: Trailing skip count behaviour when a field is null Reply with quote

Novice

Joined: 22 Nov 2005
Posts: 10
Location: UK

I'm trying to use trailing skip count to skip over some bytes in a cwf message.

The message contains several types of fields. The app sending me timestamps doesn't always include the fractional second part. So I tried trailing skip count to skip over the last 7 bytes (the length is always right its just that some times it will be populated,sometimes not)

On the timestamp fields when data is present the skip works fine, but if the field is empty (as in just blanks) the skip count is throwing out of alignment the rest of the message.

I tried modelling the message without the skip and used a string of 7 bytes to follow the 19 byte timestamp and that worked fine.

Any ideas?
Back to top
View user's profile Send private message
schofier
PostPosted: Thu Nov 24, 2005 9:13 am    Post subject: Reply with quote

Novice

Joined: 10 Dec 2003
Posts: 14
Location: IBM Hursley

I'm assuming that you are using WBI-MB v5.

It looks like there is a problem (in v5) using trailing skip count and null values in CWF (i.e. 'null permitted' = true)

This problem has been fixed in WMB v6.

If you do not require the null handling support within the MRM, you could try deselecting the 'null permittted' property for this field. (You could also try this to confirm my theory ! )
Back to top
View user's profile Send private message AIM Address
schofier
PostPosted: Fri Nov 25, 2005 2:00 am    Post subject: Reply with quote

Novice

Joined: 10 Dec 2003
Posts: 14
Location: IBM Hursley

Although if you do disable null handling for this field, you may well run into invalid date/time issues when your field contains only blanks (if you have defined this field to be a DateTime field rather than just a string).
Back to top
View user's profile Send private message AIM Address
gpkssts
PostPosted: Fri Nov 25, 2005 2:22 am    Post subject: Reply with quote

Novice

Joined: 22 Nov 2005
Posts: 10
Location: UK

Spotted that one would cause me a problem!

Do you think there's likely to be a CSD for V5 with this in?
Back to top
View user's profile Send private message
schofier
PostPosted: Mon Nov 28, 2005 1:52 am    Post subject: Reply with quote

Novice

Joined: 10 Dec 2003
Posts: 14
Location: IBM Hursley

I don't think that there is currently a CSD for v5.0 with a fix for this issue.

I would recommend raising a PMR via the official IBM support channels.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Trailing skip count behaviour when a field is null
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.