7. SARS UN/EDIFACT MESSAGES
7.3. CONTRL (SYNTAX AND SERVICE REPORT MESSAGE)
7.3.2. CONTRL DATA MAPPING GUIDE
CONTRL (D3) DATA MAPPING GUIDE (V16 – 2010/07/27)
EDI
ID EDI DATA ELEMENT/SEG NAME REQ E-
LEN EDI QUALIFIER/DEFAULT OCC KEY DATA ELEMENT NAME TYPE I-
LEN REMARKS
UNH MESSAGE HEADER M 1 1 To head, identify and specify a message.
OO62 MESSAGE REFERENCE NUMBER M an..14 >A A sender's unique message reference.
S009 MESSAGE IDENTIFIER M
OO65 Message type M an..6 CONTRL >A Type of message being transmitted.
OO52 Message version number M an..3 D >A
Version number of the message type. If UNG is used, 0052 shall be identical.
OO54 Message release number M an..3 3 >A Release number within the current version number.
OO51 Controlling agency M an..2 UN >A
A code to identify the agency controlling the specification, maintenance and publication of the message type.
OO57 Association assigned code C an..6
A code assigned by the association responsible for the design and maintenance of the message type.
OO68 COMMON ACCESS REFERENCE C an.35 CONTRL >A
S010 STATUS OF THE TRANSFER C
OO70 Sequence of transfers M n..2 Starts at 1 and is incremented by 1 for each transfer.
OO73 First and last transfer C a1
C = Creation, must be present for the first transfer if more than one is foreseen. F = Final, must be present for the last transfer.
UCI INTERCHANGE RESPONSE M 1 2
To identify the subject interchange, to indicate interchange receipt, to indicate acknowledgement or rejection of the UNB and UNZ segments, and to identify any error related to these segments. Depending on the action code, it may also indicate the action taken on the messages within that interchange.
OO20 INTERCHANGE CONTROL REF M an..14 >A
Use the Interchange Control reference assigned by the sender to the subject interchange.
S002 INTERCHANGE SENDER M
OOO4 Sender identification M an..35 >A
OOO7 Identification code qualifier C an..4
OOO8 Address for reverse routing C an..35
S003 INTERCHANGE RECIPIENT M
OO10 Recipient identification M an..35 >A
CONTRL (D3) DATA MAPPING GUIDE (V16 – 2010/07/27)
EDI
ID EDI DATA ELEMENT/SEG NAME REQ E-
LEN EDI QUALIFIER/DEFAULT OCC KEY DATA ELEMENT NAME TYPE I-
LEN REMARKS
OO14 Routing address C an..35
OO83 ACTION, CODED M an..3
4=This level and all lower
levels rejected >A
The corresponding referenced level and all its lower referenced levels are rejected. One or more errors are reported at this reporting level or a lower reporting level.
6 = UNB/UNZ rejected >A
7 = This level acknowledged, next lower level
acknowledged if not explicitly
rejected >A
The corresponding referenced level is acknowledged. All messages at the next lower referenced level are acknowledged except those explicitly reported as rejected at the next lower reporting level in this CONTRL message.
8 = Interchange received >A
The subject interchange has been received. UNB and UNZ is acknowledged.
OO85 SYNTAX ERROR, CODED C an..3 SARS Code List 21 >A Use the code list specified.
OO13 SERVICE SEGMENT TAG, CODED C a3 >A
S011 DATA ELEMENT IDENTIFICATION C
OO98
Erroneous data element position in
segment M n..3 >A
O1O4
Erroneous component data element
position C n..3 >A
START OF GROUP 1 C
999
999
UCM MESSAGE RESPONSE M GROUP 1 1 3
To identify a message in the subject interchange, and to indicate that message's acknowledgment or rejection, and to identify any error related to the UNH and UNT segments.
OO62 MESSAGE REFERENCE NUMBER M an..14 >A
S009 MESSAGE IDENTIFIER M
OO65 Message type M an..6 >A
OO52 Message version number M an..3 >A
OO54 Message release number M an..3 >A
OO51 Controlling agency M an..2 >A
OO57 Association assigned code C an..6
4=This level and all lower
The corresponding referenced level and all its lower referenced levels are rejected. One or more errors are reported at this reporting level or a lower
CONTRL (D3) DATA MAPPING GUIDE (V16 – 2010/07/27)
EDI
ID EDI DATA ELEMENT/SEG NAME REQ E-
LEN EDI QUALIFIER/DEFAULT OCC KEY DATA ELEMENT NAME TYPE I-
LEN REMARKS
7 = This level acknowledged, next lower level
acknowledged if not explicitly
rejected >A
The corresponding referenced level is acknowledged. All messages at the next lower referenced level are acknowledged except those explicitly reported as rejected at the next lower reporting level in this CONTRL message.
8 = Interchange received >A
The subject interchange has been received. UNB and UNZ is acknowledged.
OO85 SYNTAX ERROR, CODED C an..3 SARS Code List 21 >A Use the code list specified.
OO13 SERVICE SEGMENT TAG, CODED C a3 >A
S011 DATA ELEMENT IDENTIFICATION C
OO98
Erroneous data element position in
segment M n..3 >A
O1O4
Erroneous component data element
position C n..3 >A
START OF GROUP 2 C 999
UCS SEGMENT ERROR INDICATION M GROUP 2 1 4
To identify either a segment containing an error or a missing segment, and to identify any error related to the complete segment.
OO96
SEGMENT POSITION IN
MESSAGE M n..6 >A
OO85 SYNTAX ERROR, CODED C an..3 SARS Code List 21 >A Use the code list specified.
UCD
DATA ELEMENT ERROR
INDICATION M GROUP 2 99 5
To identify an erroneous simple, composite or component data element, and to identify the nature of the error.
OO85 SYNTAX ERROR, CODED M an..3 SARS Code List 21 >A Use the code list specified.
S011 DATA ELEMENT IDENTIFICATION M
OO98
Erroneous data element position in
segment M n..3 >A
O1O4
Erroneous component data element
position C n..3 >A
END OF GROUP 2
END OF GROUP 1
UNT MESSAGE TRAILER M 1 10 To end and check the completeness of a message
OO74
NUMBER OF SEGMENTS IN THE
CONTRL (D3) DATA MAPPING GUIDE (V16 – 2010/07/27)
EDI
ID EDI DATA ELEMENT/SEG NAME REQ E-
LEN EDI QUALIFIER/DEFAULT OCC KEY DATA ELEMENT NAME TYPE I-
LEN REMARKS
OO62 MESSAGE REFERENCE NUMBER M an..14 >A
Unique message reference number within this interchange. Matched up with OO62 in the UNH segment.