| Author | 
		  Message
		 | 
		
		  | srk31 | 
		  
		    
			  
				 Posted: Mon Nov 22, 2010 9:05 am Post subject: mqstr format problem | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 01 Sep 2010 Posts: 39
  
  | 
		  
		    
			  
				Hi,
 
    I am having problem in reading the message, the format is coming something like 
 
     I am reading the msg from queue which is having rfh2 header and doing some processing and dropping the msg into another queue  from datapower.  Before dropping it into queue if i specify mqhrf2 format ,i am getting  in
 
 
"Unsupported MQ header format 'MQRFH2 ' in the sending message" in the datapower logs
 
      
 
    To get rid of this problem i changed the format to  MQSTR and dropped the msg into queue
 
 
   i am getting the following when i read from the queue. what could be the problem. Any suggestions
 
 
   
	| Code: | 
   
  
	
 
 RFH ....Ð.......¸...MQSTR   ....
 
 ¸...¨...<usr><NameValueLength>13
 
 2</NameValueLength><TrcFlag>OFF</TrcFlag>
 
 <InFlag>PAY</InFlag><OutFlag>PAY
 
 </OutFlag></usr>ISA*00*         
 
 *00*          *01*030240928    
 
  *ZZ*G00790         *100720*191
 
 6*U*00401*000746126*1*T*:~GS*HS*
 
 R030240928*G00790*20100720*19162
 
 968*1*X*004010X092A1~ST*270*0001
 
 ~BHT*0022*13*1000746126*20100720
 
*19162968~HL*1**20*1~NM1*PR*2*BC
 
 BSNM*****PI*G00790~HL*2*1*21*1~N
 
 M1*1P*2*HCSC*****XX*1306914213~H
 
 L*3*2*22*0~TRN*1*1000746126*3030
 
 240928~NM1*IL*1******MI*GZA84912
 
 7229~PRV*H*ZZ*1932000000X~DMG*D8
 
 *19681205~DTP*307*D8*20100720~EQ
 
 *A6~III*ZZ*22~SE*15*0001~GE*1*1~
 
 IEA*1*000746126~
 
 
 
 | 
   
 
 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bruce2359 | 
		  
		    
			  
				 Posted: Mon Nov 22, 2010 9:34 am Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 05 Jan 2008 Posts: 9486 Location: US: west coast, almost. Otherwise, enroute. 
  | 
		  
		    
			  
				
   
	| Quote: | 
   
  
	Before dropping it into queue if i specify mqhrf2 format ,i am getting in 
 
"Unsupported MQ header format 'MQRFH2 ' in the sending message" in the datapower logs  | 
   
 
 
Before what?  
 
 
How exactly did you specify mqhrfh2?
 
 
What does the Datapower documentation tell you? _________________ I like deadlines. I like to wave as they pass by.
 
ב''ה
 
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | srk31 | 
		  
		    
			  
				 Posted: Mon Nov 22, 2010 9:35 am Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 01 Sep 2010 Posts: 39
  
  | 
		  
		    
			  
				I am specifying some thing like this
 
 
dpfunc:mq-set-request-format('MQSTR') | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bruce2359 | 
		  
		    
			  
				 Posted: Mon Nov 22, 2010 9:43 am Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 05 Jan 2008 Posts: 9486 Location: US: west coast, almost. Otherwise, enroute. 
  | 
		  
		    
			  
				I asked you How exactly did you specify mqhrfh2, not MQSTR string? _________________ I like deadlines. I like to wave as they pass by.
 
ב''ה
 
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | srk31 | 
		  
		    
			  
				 Posted: Mon Nov 22, 2010 9:47 am Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 01 Sep 2010 Posts: 39
  
  | 
		  
		    
			  
				its typo error. I have specified something like this
 
 
 
dpfunc:mq-set-request-format('MQHRF2') | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bruce2359 | 
		  
		    
			  
				 Posted: Mon Nov 22, 2010 9:58 am Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 05 Jan 2008 Posts: 9486 Location: US: west coast, almost. Otherwise, enroute. 
  | 
		  
		    
			  
				Is this problem a continuation of the similar post of yours in October? _________________ I like deadlines. I like to wave as they pass by.
 
ב''ה
 
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | srk31 | 
		  
		    
			  
				 Posted: Mon Nov 22, 2010 10:02 am Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 01 Sep 2010 Posts: 39
  
  | 
		  
		    
			  
				| which one u r referring to ? i have lots of problems which i have fixed some or not.    Do you got the problem what i am saying | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bruce2359 | 
		  
		    
			  
				 Posted: Mon Nov 22, 2010 10:16 am Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 05 Jan 2008 Posts: 9486 Location: US: west coast, almost. Otherwise, enroute. 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | srk31 | 
		  
		    
			  
				 Posted: Mon Nov 22, 2010 10:54 am Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 01 Sep 2010 Posts: 39
  
  | 
		  
		    
			  
				| that one got fixed. I got this problem in datapower MQFSH. now i am getting this problem in backeside url, when i dropped the msg into queue | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bruce2359 | 
		  
		    
			  
				 Posted: Mon Nov 22, 2010 10:57 am Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 05 Jan 2008 Posts: 9486 Location: US: west coast, almost. Otherwise, enroute. 
  | 
		  
		    
			  
				Waiting for someone with more DataPower knowledge to meander by... _________________ I like deadlines. I like to wave as they pass by.
 
ב''ה
 
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |