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 » Difference between CAST and ASBITSTREAM

Post new topic  Reply to topic Goto page Previous  1, 2
 Difference between CAST and ASBITSTREAM « View previous topic :: View next topic » 
Author Message
mqjeff
PostPosted: Mon Feb 06, 2012 4:40 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

ruchir123 wrote:
yes it is not a message tree but a single value.

But we can provide such input to ASBITSTREAM function, right.

Why do you think that?

ruchir123 wrote:
And it is not giving any error while converting it to BLOB which means it is converting it to BLOB.

NO.

That means it's not returning an error. It makes no claim about what internal processing has been done.

ruchir123 wrote:
So here the issue is if both are BLOB at the end, then whats the difference in both BLOBs.

The difference is that the two functions are different functions that take different inputs and perform different processing to produce different outputs.

I will continue to repeat this until you show that you have actually grasped it, rather than trivially acknowledging it. They are different functions because they do different things. They ARE NOT the same function THAT CAN NOT be used for the same purposes!

If they could be used for the same purposes, they would be the SAME FUNCTION.

You absolutely can not expect that you can pass an arbitrary stream of bytes to ASBITSTREAM and receive a meaningful and valid result.

ASBITSTREAM does not work on single values. It's job is to CONVERT a TREE into a stream of bytes, not to operate on a stream of bytes.

Stop disagreeing with the documentation of the function, and accept that it works the way it is documented to work.
Back to top
View user's profile Send private message
adubya
PostPosted: Mon Feb 06, 2012 5:09 am    Post subject: Reply with quote

Partisan

Joined: 25 Aug 2011
Posts: 377
Location: GU12, UK

Well I think that's pretty clear
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Mon Feb 06, 2012 5:14 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

adubya wrote:
Well I think that's pretty clear

The apparent clarity of a response is no guarantee of enlightenment by the recipient.
Back to top
View user's profile Send private message
ruchir123
PostPosted: Mon Feb 06, 2012 6:18 am    Post subject: Reply with quote

Acolyte

Joined: 04 Jan 2012
Posts: 58

Hi mqjeff,

Thanks a lot for your time.

Now i doubt is cleared

I really helped
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Difference between CAST and ASBITSTREAM
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.