Previous Thread

8/17/2006 2:01:02 AM    Message Schema Problem !
Hi, 
 
I am dealing with a message that follows the format 
 
{tag}PPPvvvvvvvv*xxxxxxx*{tag1}PPPPPPPP{tag2}vvvvvvvvv*xxxxxxxxx* 
 
The PPP portion of the message is the "positional" section of this 
 
sub-record. the "vvvvvvvv*" is a variable length field where "*" denotes the 
 
end of the field. the "xxxxxxx*" is another simliar field within the record. 
 
In my schema I'm able to address the change in positional to delimied 
 
formats with no problem. Since there are cases where the xxxxxxx* may/may not 
 
be there (optional) I am having problems in deciding how to handle the child 
 
delimiter. I've tried both "infix" and "postfix" but get stuck depending on 
 
whether the xxxxxxx* portion is there or not. 
 
-- 
 
Ravi Shankar



8/17/2006 9:23:10 PM    Re: Message Schema Problem !
One way to do this is to make the * delimiter Infix and make the xxxxxx 
 
field Left justified with a Pad character of * 
 
Greg 
 
"Ravi Shankar" <shankycheil@newsgroup.nospam> wrote in message 
 
news:E4124AC1-1296-4DA6-A4CE-FF297D5C94A5@microsoft.com...