Rickey,
So if you get this proc running, I assume you intend to use it at the IB Tps or pre_xlate whatever.
I think it will replace valid & with ‘and’ – won’t that corrput the HL/7 message as well?
In other words if a field within the inbound message validly has a sub-component, I think when this proc is finished with the message, it will not have a valid sub-component.
While most of the time most messages do not contain a sub-component, there is no assurance they could not.
I know this does not fix your proc so a suggestion.
Show us the error you are getting from the log.
Thanks,
Jim Kosloskey
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.