EDI
API DocsTerminal
NEW!
Programmatically translate EDI to JSON with the EDI Core REST API
Get started in minutes →
Segment
in
X12 Release 004010

SMS Station Codes Segment

To identify the specific railroad carrier codes associated with the station
Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
140
Standard Carrier Alpha Code
Identifier (ID)
Mandatory
2
4
-
Standard Carrier Alpha Code
02
Freight Station Accounting Code
Identifier (ID)
Mandatory
1
5
-
Code (Freight Station Accounting) (AAR Managed Code for Locations)
03
Rule 260 Junction Code
Identifier (ID)
Optional
1
5
-
Code indicating railroad interchange locations
04
Postal Code
Identifier (ID)
Optional
3
15
-
Code defining international postal zone code excluding punctuation and blanks (zip code for United States)
SMS04 is the zip code assigned to the rail station for rating purposes. It is not meant to be the mailing address postal code.
05
Reciprocal Switch Code
Identifier (ID)
Optional
1
1
-
Code identifying the restriction of service being provided by the serving carrier
Codes (5)
06
Time Code
Identifier (ID)
Conditional
2
2
-
Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time; since + is a restricted character, + and - are substituted by P and M in the codes that follow
P0611
Codes (51)
07
Location Identifier
String (AN)
Optional
1
30
-
Code which identifies a specific location
SMS07 is the latitude of the station.
08
Location Identifier
String (AN)
Optional
1
30
-
Code which identifies a specific location
SMS08 is the longitude of the station.
09
Yes/No Condition or Response Code
Identifier (ID)
Optional
1
1
-
Code indicating a Yes or No condition or response
SMS09 indicates if the station is physically served. A "Y" indicates the station is physically served; an "N" indicates the station is not physically served.
Codes (4)
10
Identification Code
String (AN)
Optional
2
80
-
Code identifying a party or other code
SMS10 is the Association of American Railroads 3-3-3 station name code.
11
Yes/No Condition or Response Code
Identifier (ID)
Conditional
1
1
-
Code indicating a Yes or No condition or response
SMS11 indicates if daylight savings time applies. A "Y" indicates daylight savings time applies; an "N" indicates that daylight savings time does not apply.
Codes (4)
Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are 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.
Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are 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.