CaKiwi,
A sample breakdown of a message is as follows:
MSH
EVN
PID
FT1
FT1
PR1
FT1
PR1
PR1
FT1
The MSH starts a new series of records for an account. No data taken from the MSH or EVN segments. The PR1 can only occur after the FT1. PR1 is optional, or can occur up to 2 times (max of 2), if...
Hi All,
First time post. New to AWK. How can I alter this script to prevent the PID from printing until the FT1 and possibly the PR1 has executed? Right now the data from the PID prints and its associated FT1 data prints on the follwing line. I'm always one step behind with the FT1 and PR1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.