Reply To: Generating NTE segments based on the value of OBX|3

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Generating NTE segments based on the value of OBX|3 Reply To: Generating NTE segments based on the value of OBX|3

#57757
Arslan Khan
Participant

    Thanks to Jim’s timely intervention, I was able to get all the NTE segments.

    Modified solution is once again listed below for clovertech community:

    Iterate:

    Type = group

    Basis = 1(0).1(0).1(0)

    Variable = %g1

    Inside Iterate, IF 1(0).1(0).1(%g1).OBX.570 EQ FT

    After IF,

    ITERATE

    Type = field

    Basis = 1(0).1(0).1(%g1).OBX.573

    Variable = %f1

    — Now I copy OBX-5 to NTE-3

    COPY 1(0).1(0).1(%g1).OBX.573(%f1)

    to

    1(0).1(0).1(%g1).NTE(%f1).00098

    and again sincere thanks to Sam and Jim.