0010 |
|
|
UNH |
Message header |
|
|
A service segment starting and uniquely identifying a message. The message type code for Syntax and service report message is CONTRL.
Notes: Syntax and service report messages conforming to this document shall contain the following data in segment UNH, composite S009:
Data element 0065 CONTRL 0052 4 0054 1 0051 UN |
|
|
|
1 |
|
0020 |
|
|
UCI |
Interchange response |
|
|
A segment identifying the interchange being responded to (the subject interchange). It also indicates interchange receipt, acknowledgement or rejection (action taken) of the UNA, UNB and UNZ segments, and identifies any error related to these segments. It can also identify errors related to the USA, USC, USD, USH, USR, UST, or USU security segments when they appear at the interchange level. Depending on the action code, it may also indicate the action taken on the groups, messages, and packages within that interchange.
The subject interchange shall be identified by copying its Interchange Sender, Interchange Recipient, and Interchange Control Reference data elements into the identical data elements in this segment. An erroneous or missing UNA, UNB, UNZ, USA, USC, USD, USH, USR, UST, or USU segment may be identified. If no segment is identified, the error relates to the complete interchange. |
|
|
|
1 |
|
0030 |
|
|
SG1 |
UCM-SG2 |
|
|
A group of segments sent in response to a message or package in the subject interchange identified in the UCI segment. This segment group shall only be used if the subject interchange does not contain groups. |
|
|
|
999999 |
|
0040 |
|
|
UCM |
Message/package response |
|
|
A segment identifying a message or package in the subject interchange, indicating that message's or package's acknowledgement or rejection (action taken), and identifying any error related to the UNH, UNT, UNO, and UNP segments. It can also identify errors related to the USA, USC, USD, USH, USR, UST, or USU security segments when they appear at the message or package level.
A message shall be identified by copying its Message Identifier and Message Reference Number data elements into the identical data elements in this segment. An erroneous or missing UNH, UNT, USA, USC, USD, USH, USR, UST, or USU segment may be identified. If no segment is identified, the error relates to the complete message.
A package shall be identified by copying its Reference Identification and Package Reference Number data elements into the identical data elements in this segment. An erroneous or missing UNO, UNP, USA, USC, USD, USH, USR, UST, or USU segment may be identified. If no segment is identified, the error relates to the complete package. |
|
|
|
1 |
|
0050 |
| |
|
SG2 |
UCS-UCD |
|
|
A group of segments sent in response to a segment containing one or more errors, and which was part of the message identified by the UCM segment in segment group 1. |
|
|
|
999 |
|
0060 |
|
|
UCS |
Segment error indication |
|
|
A segment identifying a segment in the message, indicating that this segment contains an error, and identifying any error related to the complete segment. |
|
|
|
1 |
|
0070 |
|
|
UCD |
Data element error indication |
|
|
A segment identifying an erroneous stand-alone, composite or component data element in the segment identified by the UCS segment in segment group 2, and identifying the nature of the error. |
|
|
|
99 |
|
0080 |
|
|
SG3 |
UCF-SG4 |
|
|
A group of segments sent in response to a group in the subject interchange identified in the UCI segment. This segment group shall only be used if the subject interchange contains groups. |
|
|
|
999999 |
|
0090 |
|
|
UCF |
Group response |
|
|
A segment identifying a group in the subject interchange. It also indicates acknowledgement or rejection (action taken) of the UNG and UNE segments, and identifies any error related to these segments. It can also identify errors related to the USA, USC, USD, USH, USR, UST, or USU security segments when they appear at the group level. Depending on the action code, it may also indicate the action taken on the messages and packages within that group.
The group shall be identified by copying its Application Sender's Identification, Application Recipient's identification, and Group Reference Number data elements into the identical data elements in this segment. An erroneous or missing UNG, UNE, USA, USC, USD, USH, USR, UST, or USU segment may be identified. If no segment is identified, the error relates to the complete group. |
|
|
|
1 |
|
0100 |
|
|
SG4 |
UCM-SG5 |
|
|
A group of segments sent in response to a message or package in the group identified in segment group 3. |
|
|
|
999999 |
|
0110 |
|
|
UCM |
Message/package response |
|
|
A segment identifying a message or package in the subject interchange, indicating that message's or package's acknowledgement or rejection (action taken), and identifying any error related to the UNH, UNT, UNO, and UNP segments. It can also identify errors related to the USA, USC, USD, USH, USR, UST, or USU security segments when they appear at the message or package level.
A message shall be identified by copying its Message Identifier and Message Reference Number data elements into the identical data elements in this segment. An erroneous or missing UNH, UNT, USA, USC, USD, USH, USR, UST, or USU segment may be identified. If no segment is identified, the error relates to the complete message.
A package shall be identified by copying its Reference Identification and Package Reference Number data elements into the identical data elements in this segment. An erroneous or missing UNO, UNP, USA, USC, USD, USH, USR, UST, or USU segment may be identified. If no segment is identified, the error relates to the complete package. |
|
|
|
1 |
|
0120 |
|
|
SG5 |
UCS-UCD |
|
|
A group of segments sent in response to a segment containing one or more errors, and which was part of the message identified by the UCM segment in segment group 4. |
|
|
|
999 |
|
0130 |
|
|
UCS |
Segment error indication |
|
|
A segment identifying a segment in the message, indicating that this segment contains an error, and identifying any error related to the complete segment. |
|
|
|
1 |
|
0140 |
|
|
UCD |
Data element error indication |
|
|
A segment identifying an erroneous stand-alone, composite or component data element in the segment identified by the UCS segment in segment group 5, and identifying the nature of the error. |
|
|
|
99 |
|
0150 |
|
|
UNT |
Message trailer |
|
|
A service segment ending a message, giving the total number of segments and the control reference number of the message. |
|
|
|
1 |
|