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 » Strip Headers

Post new topic  Reply to topic
 Strip Headers « View previous topic :: View next topic » 
Author Message
anon_kb
PostPosted: Tue Jun 16, 2015 11:15 pm    Post subject: Strip Headers Reply with quote

Acolyte

Joined: 13 Nov 2014
Posts: 74

Hi guys!
I would just like to ask a question about this problem.

I have an input file with the type of MQFile and all I want to do is to strip the header of it. Below is the header

Quote:
MD   ÿÿÿÿ " ¸ MQHRF2   AMQ CMPLL32 clUð( AMQ CMPLL32 clUn CMPLL32 cpmugbl2  CMPLL32 2015061611462885  ÿÿÿÿRFH   " R ¸ <mcd><Msd>jms_text</Msd></mcd>   <jms><Dst>topic://WMB/samp_topic/CREATE/3/0</Dst><Tms>1434455188845</Tms><Dlv>2</Dlv><Uci dt='bin.hex'>414D5143434D504C4C3332202020202063016C5501EF2820</Uci></jms>ì <usr><breadcrumbId>ID:414d5120434d504c4c3332202020202063016c550de92820</breadcrumbId><CamelFileNameProduced>/busdata/cpmu/gbl2/data/in/MFD_job/myIn.xml</CamelFileNameProduced><CamelJmsDeliveryMode dt='i4'>1</CamelJmsDeliveryMode></usr> < <mqps><Top>WMB/samp_topic/CREATE/3/0</Top><Sud> </Sud></mqps>

<xml>
sample
</xm>


I've tried to remove it using Delete MQRFH2, I tried to map again the said file by just getting the XML part. but to no avail I still I cant do it.

Is it possible to remove this one using esql?
Any other way to remove this?

thanks. Help will be very much appreciated.
Back to top
View user's profile Send private message
vishnurajnr
PostPosted: Wed Jun 17, 2015 2:55 am    Post subject: Reply with quote

Centurion

Joined: 08 Aug 2011
Posts: 134
Location: Trivandrum

Try using the 'Load Q' Option in RFHUtil and give this file as input to load.
Back to top
View user's profile Send private message Visit poster's website
inMo
PostPosted: Wed Jun 17, 2015 5:04 am    Post subject: Reply with quote

Master

Joined: 27 Jun 2009
Posts: 216
Location: NY

This looks like a test file that was created by reading data off a queue and writing it to a file. What generated the file?
Back to top
View user's profile Send private message
anon_kb
PostPosted: Wed Jun 17, 2015 10:23 pm    Post subject: Reply with quote

Acolyte

Joined: 13 Nov 2014
Posts: 74

Hi guys, thanks for your reply. already solved the problem.

The problem was on my code on topic I have this code that publishes a topic and a header. Input file has a header to. So all I have to do is to remove it and just retain the publishing on topic. Also I set my parser into a blob.
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 » Strip Headers
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.