Thanks, Hari.
I will see if what Russ has suggested will work. If not, I will look into your suggestion.
The only thing is I need to map the segment in my xlate because I need to pull some values from that segment and put in another segment. The segment is optional also. It’s a Z segment coming from Star.