On this topic:
NOTE: This information is referenced from ASC/X12 and may not be current. For the latest information please visit the ASC/X12 web site.
To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments).
REF IDENTIFIER NAME REQ TYPE MIN/MAX NOTES 01 96 Number of Included Segments M N0 1/10 02 329 Transaction Set Control Number M AN 4/9