| Author | 
		  Message
		 | 
		
		  | ryzor | 
		  
		    
			  
				 Posted: Thu Aug 05, 2004 3:51 am    Post subject: Comma Delimmited Msg Set | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 31 Dec 2001 Posts: 42
  
  | 
		  
		    
			  
				Hi There,
 
 
I'm trying to create a message in v2.1 were it must accept comma delimited data ... but i don't know where to tell the message set that the message will be delimited ... i only 3 tabs on the property's window i.e. ["name of the msg set", Run Time and Description - Tabs ] where do i indicate so that my message can include the "Comma" Tab   
 
 
 
Thanx - ryzor. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Ramphart | 
		  
		    
			  
				 Posted: Thu Aug 05, 2004 4:04 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Disciple
 
 Joined: 21 Jul 2004 Posts: 150 Location: South Africa, JHB 
  | 
		  
		    
			  
				You need to add a physical format to your message set. In your case a Tagged / Delimited format. 
 
 
Do the following:
 
- Right click the message set
 
- Go to Add
 
- Go to Physical Format
 
- Select Tagged/Delimited Format
 
- Give it a name like TDS
 
 
Now you can specify the properties of either the whole message set or (probably better) the compound types TDS properties.
 
 
- You would typically create a compound type
 
- Check it in and out again to get the TDS tab that you've created
 
- On the TDS tab select the Data Element Separation = All Elements Delimited
 
- Set the Delimiter = , (comma)
 
 
Thats about it.
 
 
Read the help manual "Working with Messages", Chapter "Working with Tagged Delimited Messages" also
 
 _________________ Applications Architect | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ryzor | 
		  
		    
			  
				 Posted: Thu Aug 05, 2004 6:30 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 31 Dec 2001 Posts: 42
  
  | 
		  
		    
			  
				Thanx i did exactly that and it worked ... 
 
 
But now i'm getting this error:
 
 
ERROR: TDSValidator::ValidateTypeMemberSimpleElement:
 
  Elements of a non-Boolean simple type in a type with Data Element Separation attribute = Fixed Length
 
  must have one of the following attributes set:
 
  Element Level - Length
 
  Type Member Level - Length Reference
 
(Element ID: ADDIMATNR)
 
(Type ID: E1ADDI1_TYPE)
 
Return Code: -80
 
 
On ALL the fields that are on the type ... what could be the cause of this?
 
 
Ryzor - 
 
Developer. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Thu Aug 05, 2004 7:11 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				The error you posted tells you EXACTLY what the problem is.
 
 
   
	| Quote: | 
   
  
	 Elements of a non-Boolean simple type in a type with Data Element Separation attribute = Fixed Length
 
must have one of the following attributes set:
 
Element Level - Length
 
Type Member Level - Length Reference  | 
   
 
 _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ryzor | 
		  
		    
			  
				 Posted: Thu Aug 05, 2004 9:35 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 31 Dec 2001 Posts: 42
  
  | 
		  
		    
			  
				sorry for behaving like an idiot  
 
 
but i was not sure where the problem was but ur Highlighting definetely helped .
 
 
Thanx  - jefflowrey, Ramphart | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |