|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  Fixed length message set with last field of varying length | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | Mgr | 
		  
		    
			  
				 Posted: Sun Aug 25, 2013 9:56 pm    Post subject: Fixed length message set with last field of varying length | 
				     | 
			   
			 
		   | 
		 
		
		   Newbie
 
 Joined: 25 Aug 2013 Posts: 2
  
  | 
		  
		    
			  
				Hi All,
 
 
Could any help me, how can I create a Fixed length message set with last field of varying length.The output file will be as shown below:
 
  
 
Value                  Lenghts
 
ABBCCCD           1231
 
ABBCCCDDDD    1234
 
ABBCCCDD         1232
 
 
A is first field, B is second field C is third one and D is the last field(varying in length).
 
 
Thanks,
 
  Mgr | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | Simbu | 
		  
		    
			  
				 Posted: Sun Aug 25, 2013 11:14 pm    Post subject: Re: Fixed length message set with last field of varying leng | 
				     | 
			   
			 
		   | 
		 
		
		    Master
 
 Joined: 17 Jun 2011 Posts: 289 Location: Tamil Nadu, India 
  | 
		  
		    
			  
				
   
	| Mgr wrote: | 
   
  
	| Could any help me, how can I create a Fixed length message set with last field of varying length. | 
   
 
 
 
Not sure about message set but you can achieve this with the help of DFDL if you are using WMB8 or IIB9.0. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Mon Aug 26, 2013 1:30 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				| Yeah, there's an "end of bitstream" option available somewhere. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | Vitor | 
		  
		    
			  
				 Posted: Mon Aug 26, 2013 4:53 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				
   
	| mqjeff wrote: | 
   
  
	| Yeah, there's an "end of bitstream" option available somewhere. | 
   
 
 
 
 
 
 
Works great for this kind of scenario _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | Mgr | 
		  
		    
			  
				 Posted: Tue Sep 03, 2013 2:16 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Newbie
 
 Joined: 25 Aug 2013 Posts: 2
  
  | 
		  
		    
			  
				| Thank you all for your info.... | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | 
		    
		   | 
		 
	   
	 | 
   
 
  
	     | 
	 | 
	Page 1 of 1 | 
   
 
 
 
  
  	
	  
		
		  
 
  | 
		  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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |