|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  BAI (Bank Administration Institution) message set | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | mvs | 
		  
		    
			  
				 Posted: Mon Dec 23, 2013 8:31 am    Post subject: BAI (Bank Administration Institution) message set | 
				     | 
			   
			 
		   | 
		 
		
		   Voyager
 
 Joined: 06 Jul 2007 Posts: 85
  
  | 
		  
		    
			  
				Hello,
 
I am working on BAI messages and need help to create the BAI message definition file in WMB6.1, 7 or 8.
 
 
created the message set using TDS (all elements delimited). 
 
 
   
	| Code: | 
   
  
	
 
 
Message definition looks like below (each record delimiter is /  and element delimiter in records is ,
 
 
BAI-FILE 
 
01-record
 
02 record
 
      03 record
 
           account summery details record
 
           03-88 continuation record
 
           16 record
 
           16-88 continuation record
 
         49 record
 
98 record
 
99 record  
 
 
 
 | 
   
 
 
 
The problem in the above layout is  03-88 continuation record and 16-88 continuation record.
 
 
 
If the incoming message contains 88 record followed by 03 and 16 then it works fine. else it's creating extra delimiter / at the end of 03 or 16 records
 
 
help is greatly appreciated
 
 
Thanks | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | Tibor | 
		  
		    
			  
				 Posted: Thu Jan 02, 2014 6:25 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Grand Master
 
 Joined: 20 May 2001 Posts: 1033 Location: Hungary 
  | 
		  
		    
			  
				| Your structure seems to me a Cobol copybook - without length and type information. Was the message definition created by your own or was it imported into the toolkit? | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | kimbert | 
		  
		    
			  
				 Posted: Thu Jan 02, 2014 7:32 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Jedi Council
 
 Joined: 29 Jul 2003 Posts: 5543 Location: Southampton 
  | 
		  
		    
			  
				Tibor said
   
	| Quote: | 
   
  
	| Your structure seems to me a Cobol copybook | 
   
 
The message is delimited by two different delimiters. COBOL records do not contain delimiters.
 
 
@mvs: Can you explain your problem in more detail please. Remember that we do not know the BAI format, and we cannot see your test data. It would help if you quoted the input XML, the output that you are getting and the output that you want. You may need to supply more than one example. _________________ Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too. | 
			   
			 
		   | 
		 
		
		  | 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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |