On a conditional basis using an IF statement (If patient ENGINE=xxx), I need to blank out the entire IN1 segment (which is repeating) in a A14 translation. Is there a sweeping way to do this or will I need to copy @null into each and every field?
If you just want to suppress the IN1, put an IF statement and put the PATHCOPY in it. But if you wanna specifically blank out all fields, I guess you need to copy @null into each and every field.
Lots of options….COPY @null will work on every field, but lots of code. PATHCOPY @null to the segemnt (i.e. 0(0).IN1 will certainly work. If you have a variant and never want the IN1, or 2, or 3, remove it from the A14 message and you won’t have to worry about the BULKCOPY, COPY or PATHCOPY statements in the Xlate.
Author
Replies
Viewing 2 reply threads
The forum ‘Cloverleaf’ is closed to new topics and replies.