I think you have several choices to accomplish skipping a segment within your xlate.
If you use the logic you have as is then doing a @null pathcopy to the unwanted segment might have the desired outcome inside your skip if logic.
An approach I have used and know will work is to not use bulkcopy and only do field by filed copy or segment by segment pathcopy for the items the receiving system is going to consume.
To accomplish the second approach would require you to do something like this
1(0).0(%g1).PR1(0).#2(0).[0] ne =I9 && 1(0).0(%g1).PR1(0).#5(0).[0] ne @null
A third approach might be to use an if/else statement similar to what you already have like
1(0).0(%g1).PR1(0).#2(0).[0] eq =I9 && 1(0).0(%g1).PR1(0).#5(0).[0] eq @null
else
In case you aren’t aware, there is a check box in my xlate configuration tool that allows me to acitvate the if/else and I have used it with success on prior work.
Remeber I’m assuming you aren’t using bulkcopy which we don’t typically do anymore.
If you are using bulkcopy then try using the copy @null to unwanted semgment to see if that works.
Russ Ross
RussRoss318@gmail.com