;This subroutine will work through the transmission level information
PARSETN
; This subroutine will parse the transaction level segments. For
; most transactions, the only segment required in this area of
; the response is the status segment. However, since we aren't
; sure what we will be getting back, we will process whatever
; is sent our way.
TRANSACT
;This subroutine will work through the transaction level information
PARSETM
; This subroutine will parse the variable portions of the transmission
; level message. Keep in mind that most fields are optional
; so we have no idea what is coming back. We will parse based
; on the field separators, and field identification.
; (tranmission level variable records are the message (ID=20)
; and insurance (ID=25) segments)
PARSE51(RREC,RESPIEN)
;EP - from ABSPECA4
PARSEH
; The header record is required on all responses, and is fixed
; length. It is the only record that is fixed length.
GETNUM(FIELD)
; This routine will translate the field ID into a field number.
; We will use the ABSP NCPDP field Defs files, corss ref "D" to
; perform this translation. (The field number is needed to store
; the data in the correct field within the response file.)