Writing a extended rule in IBM Sterling Integrator Map Editor
I have a input file which has 3 levels ie shipment, package and item level. I want output to be mapped as shipment, item and package level. I have created a temporary variables on the input side following the same hierarchy of output which is Shipment, item and package.
I have created variables i,j,k for input side and t_s, t_p, t_i for corresponding temporary hierarchy. I want to print the package level under item level while checking if the item is same throught the input. If the item is same then I want to print the corresponding package level. If the item is not same ie unique then I want the print the package level and continue with my iterations.