Posted: Tue Jan 24, 2012 10:58 pm Post subject: Re: BLOB FORMAT USAGE(WHEN IT IS REQUIRED)
Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
Narsimha wrote:
HI
ANY ONE CAN EXPLAIN ABOUT THE BLOB MESSAGE FORMAT AND ACTUALLY WHEN IT IS MANDATORY TO USE THIS FORMAT..
THANK YOU...
Please don't use CAPITALS for your complete post. It is considered to be 'shouting'.
Back to your post.
1) There are no cases where (AFAIK) using BLOB is Mandatory.
2) BLOB means Binary Large Object.
It is a bitstream with no distinct/defined format.
OR
You don't care what the format of the BLOB is.
One use of a BLOB is where you want to do some routing of a message and the routing data is contained elsewhere in the message tree (eg in an MQMD)
In this case you can route the message without needing to parse it. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
It can also be used to handle a string message without parsing.
You could cast it to character in a compute node and manipulate the content with the excellent ESQL string functions and then cast it back to blob for the output. I've done that where I just wanted to replace some characters (using the overlay function) and didn't want to construct a message set (especially for the diabolical swift format messages).
I've used it before where the digital signature of the message body needs to be verified against another source so no parser "tweaking" of the input could be tolerated.
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