CONTRL Syntax and service report message for batch EDI

Syntax Development Group (SDG)

CONTRL is a message syntactically acknowledging or rejecting, with error indication, a received interchange, group, message, or package.

A CONTRL message shall be used to:

a) acknowledge or reject a received interchange, group, message, or package and list any syntactical errors or unsupported functionality contained therein, or

b) indicate only the receipt of an interchange.

Header

Position
Segment
Name
Max use
  1. To head, identify and specify a message.

    1. Data element S009/0057 is retained for upward compatibility. The use of
    S016 and/or S017 is encouraged in preference.
    2. The combination of the values carried in data elements 0062 and S009 shall
    be used to identify uniquely the message within its group (if used) or if
    not used, within its interchange, for the purpose of acknowledgement.
  2. To identify the subject interchange, to indicate interchange receipt, to indicate acknowledgement or rejection (action taken) of the UNA, UNB and UNZ segments, and to identify 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.

    1. D5(060, 050) If first, then all
    2. D5(070, 060, 050) If first, then all
    3. D5(080, 060, 050, 090) If first, then all
    4. D5(090, 080, 060, 050) If first, then all
    5. 0135, may only contain the values UNA, UNB, UNZ, USA, USC, USD, USH, USR,
    UST, or USU.
    6. This data element shall be present when reporting an error in a security
    segment.

Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference is provided for marketing purposes and is free of charge. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.