EDI
API DocsTerminal

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
1
Code identifying the Standard Carrier Alpha Code
02
Freight Station Accounting Code
Identifier (ID)
Mandatory
1
5
1
Code specifying the Freight Station Accounting code assigned for AAR Managed Codes for Locations
03
Rule 260 Junction Code
Identifier (ID)
Optional
1
5
1
Code indicating railroad interchange locations
04
Postal Code
Identifier (ID)
Optional
3
15
1
Code specifying 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
1
Code identifying the restriction of service being provided by the serving carrier
Codes (6)
06
Time Code
Identifier (ID)
Conditional
2
2
1
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: If either SMS-06 or SMS-11 is present, then the other is required
SMS06 is the time zone of the station.
Codes (56)
07
Location Identifier
String (AN)
Conditional
1
30
1
Code which identifies a specific location
P0708: If either SMS-07 or SMS-08 is present, then the other is required
SMS07 is the latitude of the station.
08
Location Identifier
String (AN)
Conditional
1
30
1
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
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 (9)
10
Identification Code
String (AN)
Optional
2
80
1
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
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 (9)
12
Standard Carrier Alpha Code
Identifier (ID)
Conditional
2
4
1
Code identifying the Standard Carrier Alpha Code
P1213: If either SMS-12 or SMS-13 is present, then the other is required
SMS12 is the new Standard Carrier Alpha Code of the expired Standard Carrier Alpha Code shown in SMS01.
When SMS12 and SMS13 are used, SMB01 must be 56 (Expiration Notification).
13
Freight Station Accounting Code
Identifier (ID)
Conditional
1
5
1
Code specifying the Freight Station Accounting code assigned for AAR Managed Codes for Locations
SMS13 is the new Freight Station Accounting Code of the expired Freight Station Accounting Code shown in SMS02.

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.