X12 00502-204 validate instance failure when EDI file is in readable format in Visual Studio RRS feed

  • Question

  • Hi, I have a n X12 00502- 940 edifile, when all data are on the same line, Visual studio validates


    when I try to make the file in a readable format, each segment on line by hiting enter after each "~", and try to validate

    as follows


    I get "Invalid Segment Terminator" or many segment level errors, I have always "~" in the "segment separator (106th char of iSA) checked in the validate instance dialog box. In Segment separator suffixe, I tried all, None, CR, LR & CRLF but no way

    I also generated an instance and made it readble, I get the exact same behavior

    Thanks in advance

    Monday, August 25, 2014 2:16 PM


  • Covert it to readable format only for your purpose. Leave the system to read it based on segment separator only.
    • Marked as answer by Angie Xu Monday, September 1, 2014 2:29 AM
    Tuesday, August 26, 2014 3:21 AM