|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  TDS: complex array-like tags | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | Neysa | 
		  
		    
			  
				 Posted: Thu Nov 28, 2002 2:05 am    Post subject: TDS: complex array-like tags | 
				     | 
			   
			 
		   | 
		 
		
		   Newbie
 
 Joined: 28 Nov 2002 Posts: 7 Location: Netherlands 
  | 
		  
		    
			  
				Hi,
 
 
I have been working with the TDS format for almost 3 months now, but now I am stuck with some complex array-like structures.
 
I have a message that has elements of the following structure:
 
108:data;               (simple)
 
113[i]:data;            (i=1..50: a bit more complex, but possible.)
 
108[i],1298:data;    (i=1..50: a lot more complex, but also doable,
 
                              allthough I had to sneak al little to make it possible
 
                              to combine this in the same message with the second
 
                              type)
 
 
188,113[i]:data;
 
111,113:data;         (This is where I'm stuck. In itself these tags aren't
 
                              that difficult either, but the fact that all the above
 
                              examples can and will occur in one message makes
 
                              it so difficult. Also the fact that tags 108 and 113
 
                              occur in different structures and sometimes with the
 
                              index [i] and sometimes without is not some unlucky
 
                              notation from my side, but the way it really looks
 
                              like in a message.)
 
 
Can somebody give me a hint how to solve this, or tell me if it's even possible to combine all these things in one message?
 
 
An example message may look something like (well actually without the <CR><LF>, but this is a bit more readable):
 
 
40:data;
 
108:data;
 
113[1]:data;
 
113[2]:data;
 
113[3]:data;
 
150:data;
 
108[1],1298:data;
 
108[2],1298:data;
 
108[3],1298:data;
 
108[1],1300:data;
 
108[2],1300:data;
 
188,113[1]:data;
 
188,113[2]:data;
 
111,113:data;
 
111,937:data;
 
 
Regards,
 
Neysa | 
			   
			 
		   | 
		 
		
		  | 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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |