Johnathon,
do you see that effect (empty segment) when using PATHCOPY even if the target segment is an optional segment?
The reason I ask is although I have never used PATHCOPY to null out a segment in a repeating group or repeating segment, I have eliminated segments when the segment is defined as optional. When the segment is defined as required and the individual fields are nulled the segment will still exist because it is required.
Jim Kosloskey
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.