Professional Documents
Culture Documents
Rail Advance Interchange Consist: Functional Group Id
Rail Advance Interchange Consist: Functional Group Id
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
INDUSTRY
006020
RAIL
APRIL
TRANSPORTATION
ADVANCE
2010
418
APPLICATIONS
INTERCHANGE CONSIST
418
IC
This X12 Transaction Set contains the format and establishes the data contents of the Rail
Advance Interchange Consist Transaction Set (418) for use within the context of an Electronic
Data Interchange (EDI) environment. The transaction set can be used to transmit advance
information on equipment being interchanged to a connection rail carrier, from a consignor or to
a consignee.
The consist will be transmitted in the standing order of the Train or Interchange cut, from engine to
caboose or end of train device. End of Train devices should be reported using the equipment initial
and number conventions.
Train consist and interchange cuts must be timely and complete. The timeliness of train consists must
be agreed upon by the participating carriers. The timeliness of interchange cuts must be such that the
transmission precedes the actual interchange event.
All revisions to a previously transmitted 418 will be retransmitted in their entirety.
Transmissions of this transaction set will be limited to one train consist or one interchange cut.
It is highly recommended to report EOTs on the consist due to the Car Service Rules related to
charges for EOTs on foreign lines.
Table 1
PAGE # POS. #
SEG. ID
NAME
REQ. DES.
MAX USE
010
ST
020
BAX
021
NM1
LOOP REPEAT
999
LOOP ID - NM1
8
022
DMG
Demographic Information
10
023
DMA
13
024
REF
Reference Information
14
025
N3
Party Location
15
026
N4
Geographic Location
16
030
W1
Block Identification
17
040
W2
Equipment Identification
30
LOOP ID - W1
800
LOOP ID - W1/W2
21
050
W3
Consignee Information
22
060
IMA
24
070
W4
Consignor Information
25
080
W5
26
090
W6
27
100
PS
30
110
REF
Reference Information
10
32
120
LS
Loop Header
33
130
LH1
35
140
LH2
1000
LOOP ID - W1/W2/LH1
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
37
150
LH3
10
38
160
LFH
20
39
170
LEP
40
180
LH4
42
190
LHT
43
200
LHR
44
205
PER
46
206
N1
Party Identification
47
207
N3
Party Location
48
208
N4
Geographic Location
49
209
PER
51
210
LE
Loop Trailer
52
220
PER
54
230
LH2
56
240
LHR
57
250
SE
10
LOOP ID - W1/W2/LH1/N1
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
TRANSACTION SET HEADER
ST
ST
Segment:
Loop: ____
Usage: Mandatory
Max Use: 1
Max Length: 53
Purpose: To indicate the start of a transaction set and to assign a control number
Semantic:
1 The transaction set identifier (ST01) used by the translation routines of the
interchange partners to select the appropriate transaction set definition
(e.g., 810 selects the invoice transaction set).
2 The implementation convention reference (ST03) is used by the translation
routines of the interchange partners to select the appropriate
implementation convention to match the transaction set definition. When
used, this implementation convention reference takes precedence over the
implementation reference specified in the GS08.
ST01
ST
143
TS ID
Code
ID
ST02
3/3
329
TS Control
Number
M
AN
ST03
4/9
1705
Implement
Reference
O
N
/
L
AN 1/35
DATA
ELEMENT
ST01
143
NAME
ATTRIBUTES
ID
3/3
AN
4/9
418
ST02
329
DEFINITION
Identifying control number that must be unique within the transaction set
functional group assigned by the originator for a transaction set
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
BAX
Segment:
Loop: ____
Usage: Mandatory
Max Use: 1
Max Length: 169
Purpose: To transmit identifying numbers, dates and other basic data relating to the
transaction set.
Syntax:
1 C1110
If BAX11 is present, then BAX10 is required.
2 C1211
If BAX12 is present, then BAX11 is required.
Semantic:
BAX01
154
SPLC
BAX
M
ID
BAX07
ID
BAX13
6/9
154
BAX08
ID
ID
BAX03
353
BAX14
2/2
127
BAX09
ID
BAX04
3/3
1280
ID
DT
BAX10
DT
BAX05
8/8
373
BAX11
TM
TM
BAX06
337
BAX12
AN 1/10
623
Time
Code
4/8
41
Interchange
Train ID
4/8
Time
8/8
337
Time
Date
1/1
373
Date
ID
2/2
284
Service
Level Code
O
ID
Direction
ID Code
AN 1/80
374
Date/Time
Qualifier
1/1
Reference
Identifictn
6/9
TS Purpose
Code
O
579
Type of
Consis Code
SPLC
BAX02
N
/
L
2/2
DATA
ELEMENT
BAX01
154
NAME
ATTRIBUTES
ID
6/9
565
BAX02
579
ID
1/1
4771
B
C
Bad Order
Crew Only
If used W1 loop is optional.
5796
D
DEFINITION
Detour
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
J
L
P
R
S
Joint Track
Information Only Advanced Consist
Passing
Release from Bad Order
Switch
Intermediate Switch Carrier. If used, the W5 and W3 segments
are required to show full routing information.
42
T
566
Y
Actual Interchange
If used BAX03 must equal 140
5614
BAX03
374
Date/Time Qualifier
ID
3/3
DT
8/8
TM
4/8
139
140
BAX04
373
DEFINITION
Estimated
Actual
Date
Date expressed as CCYYMMDD
BAX05
337
Time
BAX06
41
AN
1/10
ID
6/9
567
BAX07
154
568
BAX08
127
Reference Identification
AN
1/80
4116
BAX14
284
ID
2/2
Code indicating the level of transportation service or the billing service offered by
the transportation carrier.
CODE
01
R3
R5
APRIL 2010
DEFINITION
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
1 P0809
If either NM108 or NM109 is present, then the other is required.
2 C1110
If NM111 is present, then NM110 is required.
3 C1203
If NM112 is present, then NM103 is required.
Semantic:
Comments:
NM101
98
Entity ID
Code
NM1
M
ID
NM107
2/3
1065
Entity Type
Qualifier
M
1039
Name
Suffix
NM102
ID
AN 1/10
66
NM109
ID Code
Qualifier
X
ID
NM104
67
AN 2/80
ID
706
1037
Name
Middle
Entity
Relat Code
X
NM105
AN 1/35
NM110
1036
Name
First
AN 1/60
ID
Code
1/2
1035
Name Last/
Org Name
1/1
NM108
NM103
AN 1/25
2/2
ID
98
Entity ID
Code
AN 1/10
NM112
2/3
1038
Name
Prefix
NM111
NM106
1035
Name Last/
Org Name
O
N
/
L
AN 1/60
DATA
ELEMENT
NM101
98
NAME
ATTRIBUTES
ID
2/3
NM102
1065
ID
1/1
AN
1/60
AN
1/35
AN
1/25
AN
1/10
AN
1/10
ID
1/2
NM103
1035
NM104
1036
Name First
Individual first name.
NM105
1037
Name Middle
Individual middle name or initial.
NM106
1038
Name Prefix
Prefix to individual name.
NM107
1039
Name Suffix
Suffix to individual name.
NM108
66
NM109
67
Identification Code
AN
2/80
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
NM110
706
ID
2/2
ID
2/3
NM111
98
NM112
1035
AN
1/60
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
DEMOGRAPHIC INFORMATION
DMG
DMG
Segment:
Loop: NM1
Demographic Information
Usage: Optional
Max Use: 1
Max Length: 115
Purpose: To supply demographic information
Syntax:
1 P0102
If either DMG01 or DMG02 is present, then the other is required.
2 P1011
If either DMG10 or DMG11 is present, then the other is required.
3 C1105
If DMG11 is present, then DMG05 is required.
Semantic:
DMG01
DMG
1250
DMG02
Date Time
Format Qual
X
ID
2/3
26
DMG08
DMG07
Country
Code
ID
2/3
1251
Date Time
Period
ID
659
ID
DMG09
DMG04
1067
DMG05
1109
DMG06
1066
Marital
Race or
Citizenship
Status Code Ethnic Code Status Code
1/1
380
DMG10
Quantity
1/2
1068
Gender
Code
AN 1/35
Basis of
Verify Code
O
DMG03
1/1
ID
1270
Code List
Qual Code
1/15
ID
ID
DMG11
1271
Industry
Code
1/3
1/1
ID
1/2
DMG12
AN 1/30
26
Country
Code
O
ID
N
/
L
2/3
DATA
ELEMENT
DMG01
1250
NAME
ATTRIBUTES
ID
2/3
Code indicating the date format, time format, or date and time format.
DMG02
1251
AN
1/35
DMG03
1068
Gender Code
ID
1/1
ID
1/1
ID
1/1
DMG04
1067
DMG05
1109
Code indicating the racial or ethnic background of a person; it is normally selfreported: Under certain circumstances this information is collected for United
States Government statistical purposes.
DMG06
1066
ID
1/2
ID
2/3
DMG07
26
Country Code
Code identifying the country.
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
DMG08
659
ID
1/2
1/15
ID
1/3
AN
1/30
ID
2/3
DMG09
380
Quantity
Numeric value of quantity.
DMG10
1270
DMG11
1271
Industry Code
Code indicating a code from a specific industry code list
DMG12
26
Country Code
Code identifying the country.
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
DMA
Segment:
Loop: NM1
Usage: Optional
Max Use: 1
Max Length: 350
Purpose: To supply additional demographic identification.
Syntax:
1 P0304
If either DMA03 or DMA04 is present, then the other is required.
2 P0607
If either DMA06 or DMA07 is present, then the other is required.
3 C0807
If DMA08 is present, then DMA07 is required.
4 C0903
If DMA09 is present, then DMA03 is required.
5 P1314
If either DMA13 or DMA14 is present, then the other is required.
6 P1516
If either DMA15 or DMA16 is present, then the other is required.
Semantic:
10
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
DMA01
127
Reference
Identifictn
DMA
ID
DMA13
ID
ID
DMA08
2/3
90
DMA14
1/1
ID
819
DMA09
ID
65
DMA15
ID
ID
DMA10
188
DMA16
1/1
19
DMA11
81
ID
1/10
397
DMA12
ID
352
1/2
397
Color
Description
83
Licensing
Agency Code
AN 1/10
DMA17
DMA06
1/1
Color
AN 2/30
1268
Applicant
Type Code
O
Weight
DMA05
2/2
City
Name
2/2
Weight Unit
Code
156
State or
Prov Code
546
Status
Code
DMA04
AN 1/80
2/3
1/8
127
Reference
Identifictn
X
Height
X
DMA03
2/2
Language
Code
Measurement
Unit Qual
X
156
State or
Prov Code
O
26
Country
Code
X
AN 1/80
DMA07
DMA02
AN 1/10
DMA18
AN 1/80
26
N
/
L
Country
Code
O
ID
2/3
DATA
ELEMENT
DMA01
127
NAME
Reference Identification
ATTRIBUTES
AN
1/80
DMA02
156
ID
2/2
DMA03
127
Reference Identification
AN
1/80
DMA04
156
ID
2/2
DMA05
1268
ID
1/1
ID
1/2
ID
2/3
ID
2/3
DMA06
83
DMA07
26
Country Code
Code identifying the country.
DMA08
819
Language Code
Code designating the language used in text, from a standard code list maintained
by the International Standards Organization (ISO 639).
DMA09
546
Status Code
ID
2/2
DMA10
19
City Name
AN
2/30
AN
1/10
AN
1/10
ID
1/1
1/8
DMA11
397
Color
Free-form description of color.
DMA12
397
Color
Free-form description of color.
DMA13
90
DMA14
65
Height
DMA15
188
ID
1/1
APRIL 2010
11
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
DMA16
81
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
Weight
1/10
DMA17
352
Description
AN
1/80
A free-form description to clarify the related data elements and their content.
DMA18
26
Country Code
ID
2/3
12
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
REFERENCE INFORMATION
REF
REF
Segment:
Loop: NM1
Reference Information
Usage: Optional
Max Use: 2
Max Length: 174
Purpose: To specify identifying information
Syntax:
1 R0203
At least one of REF02 or REF03 is required.
Semantic:
REF01
REF
128
Reference
Ident Qual
M
ID
REF02
2/3
127
Reference
Identifictn
X
REF03
AN 1/80
352
Description
X
AN 1/80
REF04
128
Reference
Ident Qual
O
ID
N
/
L
2/3
DATA
ELEMENT
REF01
128
NAME
ATTRIBUTES
ID
2/3
AN
1/80
REF02
127
Reference Identification
REF03
352
Description
AN
1/80
A free-form description to clarify the related data elements and their content.
REF04
128
ID
2/3
APRIL 2010
13
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
PARTY LOCATION
N3
N3
Segment:
Loop: NM1
Party Location
Usage: Optional
Max Use: 2
Max Length: 115
Purpose: To specify the location of the named party
N301
N3
166
Address
Information
M
AN 1/55
N302
166
Address
Information
O
N
/
L
AN 1/55
DATA
ELEMENT
N301
166
NAME
Address Information
ATTRIBUTES
AN
1/55
AN
1/55
N302
166
Address Information
14
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
GEOGRAPHIC LOCATION
N4
N4
Segment:
Loop: NM1
Geographic Location
Usage: Optional
Max Use: 1
Max Length: 95
Purpose: To specify the geographic place of the named party
Syntax:
1 E0207
Only one of N402 or N407 may be present.
2 C0605
If N406 is present, then N405 is required.
3 C0704
If N407 is present, then N404 is required.
Comments:
N401
19
City
Name
N4
O
156
State or
Prov Code
X
ID
N403
2/2
116
Postal
Code
O
ID
3/15
N404
26
Country
Code
ID
N405
2/3
309
Location
Qualifier
X
ID
N406
1/2
310
Location
Identifier
O
AN 1/30
1715
Country
Subdivision
X
N402
AN 2/30
N407
A A combination of either N401 through N404 (or N405 and N406) may be
adequate to specify a location
ID
N
/
L
1/3
DATA
ELEMENT
N401
19
NAME
City Name
ATTRIBUTES
AN
2/30
ID
2/2
N402
156
N403
116
Postal Code
ID
3/15
Code defining international postal zone code excluding punctuation and blanks
(zip code for United States).
N404
26
Country Code
ID
2/3
ID
1/2
AN
1/30
ID
1/3
N405
309
Location Qualifier
Code identifying type of location.
N406
310
Location Identifier
Code which identifies a specific location.
N407
1715
APRIL 2010
15
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
BLOCK IDENTIFICATION
W1
W1 Block Identification
Segment:
Loop: W1 Repeat: 30
Usage: Optional
Max Use: 1
Max Length: 16
Purpose: To identify the block identification of a specific cut of cars relating to this
interchange report.
Notes:
7
579
W101
42
Block
ID
W1
M
AN 1/12
DATA
ELEMENT
W101
42
NAME
Block Identifier
ATTRIBUTES
AN
1/12
16
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
EQUIPMENT IDENTIFICATION
W2
W2 Equipment Identification
Segment:
Loop: W1/W2 Repeat: 800
Usage: Mandatory
Max Use: 1
Max Length: 124
Purpose: To identify equipment and the commodity being carried
Syntax:
1 P0910
If either W209 or W210 is present, then the other is required.
2 P1112
If either W211 or W212 is present, then the other is required.
Semantic:
Comments:
A W208 is to contain the proper code when empty car is being returned per
ex parte 346, sub. 8, if proper code is unknown default to 34617.
B W211 (when available) is the chassis initial if W204 equals CC. If
unknown, use NONZ for chassis initial.
Notes:
44
W201
W2
206
Equipment
Initial
M
AN
W207
ID
W213
177
W208
1/2
761
W214
Equipment
APRIL 2010
N0
1/1
ID
3/5
1/3
DT
W215
ID
W210
8/8
301
ID
40
Equipment
Desc Code
W205
1/4
AN
2/2
502
W211
W216
2/2
1073
578
W206
Equipment
Status Code
Type Locomo
Maint Code
Car Type
Code
373
Date
W204
AN 1/30
W209
219
AN
22
Commodity
Code
O
240
Position
O
W203
AN 1/15
Car Service
Order Code
Check Digit
O
207
Equipment
Number
1/4
Intermodal
Serv Code
O
W202
ID
1/2
206
W212
Equipment
Initial
X
AN
W217
1/4
1554
Yes/No Cond
AEI Tag
Resp Code Status Code
O
ID
1/1
ID
1/1
577
Net
Tons
N0
1/3
207
Equipment
Number
X
AN 1/15
W218
1543
N
/
L
Equipment
Orientation
O
ID
1/1
17
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
DATA
ELEMENT
W201
206
NAME
ATTRIBUTES
Equipment Initial
AN
1/4
229
W202
207
Equipment Number
AN
1/15
1973
W203
22
Commodity Code
AN
1/30
36
W204
40
ID
2/2
BG
CA
CC
CH
CM
CN
CX
CZ
ET
Bogie
Caboose
Container resting on a Chassis
Chassis
Container, Open-Sided
Container
Container, Tank
Refrigerated Container
End of Train Device
Used to convey end of train device in conjunction with W205
value of E.
1995
GS
HT
ID
Generator Set
Head of Train Device
Idler Car
If used, W205 must equal L.
299
LO
LS
OT
PL
PT
RR
RT
SK
TL
TN
18
DEFINITION
Locomotive
Half-height Flat Rack
Open-top/flatbed trailer
Container, Platform
Protected Trailer
Rail Car
Controlled Temperature Trailer (Reefer)
Stack Car
Trailer (not otherwise specified)
Tank Car
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
W205
578
ID
1/2
AL
DEFINITION
4682
D
E
46
L
O
W
W206
577
Load
Operating Locomotive or Caboose
Revenue Empty
Net Tons
N0
1/3
ID
1/2
DT
8/8
AN
2/2
W207
177
413
W209
373
Date
Date expressed as CCYYMMDD
570
W210
502
FC
FI
FP
XX
W211
206
DEFINITION
Equipment Initial
AN
1/4
1973
W212
207
Equipment Number
AN
1/15
1973
W213
761
N0
1/1
3562
3563
219
Position
AN
1/3
4449
APRIL 2010
19
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
W215
301
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
ID
1/4
W217
1554
ID
1/1
5164
CODE
G
L
M
N
R
W218
1543
DEFINITION
Good
Left Tag Bad
Equipment Has Two Tags and They Do Not Match
No Tag Read
Right Tag Bad
ID
1/1
Code indicating the direction the equipment is entrained or the lading is loaded;
when used to indicate the lading orientation, direction is defined relative to the
equipment on which it is loaded.
5164
A
B
20
DEFINITION
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
CONSIGNEE INFORMATION
W3
W3
Segment:
Loop: W1/W2
Consignee Information
Usage: Optional
Max Use: 7
Max Length: 68
Purpose: To provide sufficient waybill information for delivery of shipment
Syntax:
1 P0102
If either W301 or W302 is present, then the other is required.
2 P0405
If either W304 or W305 is present, then the other is required.
3 C0604
If W306 is present, then W304 is required.
Comments:
Notes:
6
352
W301
186
Waybill
Number
W3
X
N0
1/6
W302
373
Date
DT
W303
576
W304
Abbreviated
Cust Name
8/8
AN 2/12
19
City
Name
X
W305
AN 2/30
156
State or
Prov Code
X
ID
W306
2/2
575
N
/
L
City Name
Qual Code
O
ID
1/1
DATA
ELEMENT
W301
186
NAME
ATTRIBUTES
Waybill Number
N0
1/6
W302
373
Date
DT
8/8
AN
2/12
AN
2/30
Waybill Date
575
W303
576
3525
W304
19
City Name
Free-form text for city name.
47
3954
156
ID
2/2
47
W306
575
ID
1/1
APRIL 2010
DEFINITION
Stop-Off Point
21
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
IMA
Segment:
Loop: W1/W2
Usage: Optional
Max Use: 3
Max Length: 19
Purpose: To identify the transportation interchange authority
Semantic:
1 IMA02 is the Standard Carrier Alpha Code (SCAC) of the entity responsible
for the movement authority in the IMA01.
2 IMA03 defines if the associated move is reciprocal, interterminal, or
intraterminal.
3 IMA04 defines if the associated move is interstate or intrastate.
4 IMA05 defines the reason the equipment was rejected.
Notes:
2
278
1 This segment provides the means to convey the reason for equipment
being interchanged between two carriers when there may not be an
appropriate waybill to identify the movement.
2 See Automated Waybill Request guideline in Standards Conventions
chapter
5
356
IMA01
IMA
748
Movement
Auth Code
M
ID
IMA02
1/2
140
SCAC
O
ID
IMA03
2/4
257
Tariff Appl
Code
O
ID
IMA04
1/1
257
Tariff Appl
Code
O
ID
IMA05
901
N
Reject
Reason Code /
L
1/1
ID
2/2
DATA
ELEMENT
IMA01
748
NAME
ATTRIBUTES
ID
1/2
A
B
C
D
DS
E
G
HM
I
L
N
NC
NU
O
OA
OS
P
R
RB
22
DEFINITION
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
2679
W
X
IMA02
140
No Waybill
Association of American Railroads Restriction
ID
2/4
ID
1/1
ID
1/1
ID
2/2
IMA03
257
D
E
F
IMA04
257
DEFINITION
Reciprocal
Intraterminal
Interterminal
N
S
IMA05
901
DEFINITION
Interstate
Intrastate
APRIL 2010
23
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
CONSIGNOR INFORMATION
W4
W4
Segment:
Loop: W1/W2
Consignor Information
Usage: Optional
Max Use: 1
Max Length: 61
Purpose: To provide sufficient information to identify the origin of shipment
Syntax:
1 P0203
If either W402 or W403 is present, then the other is required.
2 R0204
At least one of W402 or W404 is required.
3 P0405
If either W404 or W405 is present, then the other is required.
Comments:
W401
W4
A W404 and W405 are not required if W402 and W403 are supplied.
576
W402
Abbreviated
Cust Name
O
AN 2/12
140
SCAC
X
ID
W403
2/4
573
Freight Sta
Acct Code
X
ID
1/5
W404
19
City
Name
W405
AN 2/30
156
State or
Prov Code
X
ID
N
/
L
2/2
DATA
ELEMENT
W401
576
NAME
ATTRIBUTES
AN
2/12
ID
2/4
ID
1/5
W402
140
W403
573
W404
19
City Name
AN
2/30
3954
W405
156
ID
2/2
24
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
CARRIER AND ROUTE INFORMATION
W5
W5
Segment:
Loop: W1/W2
Usage: Optional
Max Use: 4
Max Length: 111
Purpose: To specify carrier and routing sequences and details
Comments:
A W502, W504 and W506 is the station or city name at which carriers
interchange shipments.
Notes:
40
W501
W5
140
SCAC
ID
W502
2/4
19
City
Name
W503
AN 2/30
140
SCAC
ID
W504
2/4
19
City
Name
W505
AN 2/30
140
SCAC
ID
W506
2/4
19
N
/
L
City
Name
AN 2/30
DATA
ELEMENT
W501
140
NAME
ATTRIBUTES
ID
2/4
AN
2/30
W502
19
City Name
Free-form text for city name.
576
W503
140
ID
2/4
AN
2/30
W504
19
City Name
Free-form text for city name.
576
W505
140
ID
2/4
AN
2/30
W506
19
City Name
Free-form text for city name.
576
APRIL 2010
25
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
W6
Segment:
Loop: W1/W2
Usage: Optional
Max Use: 6
Max Length: 19
Purpose: To provide special handling information necessary for safe handling of shipment
Notes:
2
165
8
465
W601
W6
152
W602
Special
152
W603
Special
152
W604
Special
152
Special
ID
2/3
ID
2/3
ID
2/3
ID
2/3
DATA
ELEMENT
W601
152
NAME
ATTRIBUTES
ID
2/3
ID
2/3
ID
2/3
ID
2/3
W602
152
W603
152
W604
152
26
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
PROTECTIVE SERVICE INSTRUCTIONS
PS
PS
Segment:
Loop: W1/W2
Usage: Optional
Max Use: 5
Max Length: 95
Purpose: To specify mechanical protective service and ventilation instructions.
Syntax:
1 L030414
If PS03 is present, then at least one of PS04 or PS14 are required.
2 C0403
If PS04 is present, then PS03 is required.
3 C1403
If PS14 is present, then PS03 is required.
Semantic:
Comments:
A PS05 through PS08 are used to specify the station which the temperature
applies. PS05 and PS06 are preferred over PS07 and PS08.
B PS09 is the weight of Body Ice in hundreds.
Notes:
1
165
7
444
PS01
PS
746
Protec Serv
Rule Code
M
ID
PS07
19
PS08
AN 2/30
PS13
1073
241
Protective
Serv Code
3/9
City
Name
PS02
ID
ID
PS14
156
PS09
ID
PS04
81
PS10
1/10
408
Temperature
2/2
Weight
2/2
355
Unit/Basis
Meas Code
1/4
State or
Prov Code
O
PS03
1/4
745
Pre-Cooled
Code
O
ID
1/1
PS05
140
SCAC
ID
PS11
PS06
2/4
1073
573
Freight Sta
Acct Code
O
ID
PS12
1/5
1073
Yes/No Cond
Yes/No Cond
Resp Code Resp Code
O
ID
1/1
ID
1/1
408
Yes/No Cond
Temperature N
Resp Code
/
L
O
APRIL 2010
ID
1/1
1/4
27
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
DATA
ELEMENT
PS01
746
NAME
ATTRIBUTES
ID
3/9
1654
PS02
241
ID
1/4
ID
2/2
1655
CODE
D
HDN
HDNC
HSC
M
MN
MNU
PS03
355
DEFINITION
Discontinue Service
Do Not Heat
Do Not Heat in Canada
Standard Heating In Canada
Standard Mechanical Protective Service
Modified Mechanical Protective Service
Do Not Operate
Code specifying the units in which a value is being expressed, or manner in which
a measurement has been taken
CODE
CE
FA
PS04
408
DEFINITION
Centigrade, Celsius
Fahrenheit
Temperature
1/4
ID
2/4
ID
1/5
Temperature.
145
PS05
140
PS06
573
PS07
19
City Name
AN
2/30
3954
PS08
156
ID
2/2
PS10
745
ID
1/1
Code indicating whether or not the shipment was precooled per Association of
American Railroads Protective Service Rule 710.
CODE
Y
PS11
1073
DEFINITION
Yes
ID
1/1
N
Y
28
DEFINITION
No
Yes
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
PS12
1073
ID
1/1
ID
1/1
1/4
N
Y
PS13
1073
DEFINITION
No
Yes
N
Y
PS14
408
DEFINITION
No
Yes
Temperature
Temperature.
4577
APRIL 2010
29
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
REFERENCE INFORMATION
REF
REF
Segment:
Loop: W1/W2
Reference Information
Usage: Optional
Max Use: 10
Max Length: 174
Purpose: To specify identifying information
Syntax:
1 R0203
At least one of REF02 or REF03 is required.
Semantic:
REF01
REF
128
Reference
Ident Qual
M
ID
REF02
2/3
127
Reference
Identifictn
X
REF03
AN 1/80
352
Description
X
REF04
AN 1/80
128
Reference
Ident Qual
O
ID
N
/
L
2/3
DATA
ELEMENT
REF01
128
NAME
ATTRIBUTES
ID
2/3
BC
BL
BM
2779
BN
Booking Number
Same value as received on the 404 in the N9 segment
2779
CG
2779
CO
2779
CR
3880
CUB
5313
CX
Consignment Classification ID
Same value as received on the 404 in the N9 segment
2779
F9
2779
OB
30
3879
2779
DEFINITION
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
SC
2678
SI
2779
VI
ZE
Pool Number
Coal Authority Number
Same value as received on the 404 in the N9 segment
2779
REF02
127
Reference Identification
AN
1/80
REF03
352
Description
AN
1/80
A free-form description to clarify the related data elements and their content.
APRIL 2010
31
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
LOOP HEADER
LS
LS
Segment:
Loop: W1/W2
Loop Header
Usage: Optional
Max Use: 1
Max Length: 10
Purpose: To indicate that the next segment begins a loop
Syntax:
1 One loop may be nested contained within another loop, provided the inner
nested loop terminates before the outer loop. When specified by the
standard setting body as mandatory, this segment in combination with
LE, must be used. It is not to be used if not specifically set forth for use.
The loop identifier in the loop header and trailer must be identical. The
value for the identifier is the loop ID of the required loop beginning
segment. The loop ID number is given on the transaction set diagram in the
appropriate ASC X12 version/release.
Comments:
Notes:
1
199
LS01
447
Loop ID
Code
LS
M
AN
1/6
DATA
ELEMENT
LS01
447
NAME
ATTRIBUTES
AN
1/6
Code identifying a loop within the transaction set which is bounded by the related
LS and LE segments (corresponding LS and LE segments must have the same
value for loop identifier). (Note: The loop ID number given on the transaction set
diagram is recommended as the value for this data element in segments LS and
LE.)
32
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
HAZARDOUS IDENTIFICATION INFORMATION
LH1
1 P0607
If either LH106 or LH107 is present, then the other is required.
Semantic:
1 LH112 is the packaging form code for the non-bulk container passed in the
LH101 as defined in 49 CFR 178 and required by 49 CFR 172. (See Code
Source 937)
Comments:
A LH101 and LH102 are used to convey the number and type of packages for
bulk and non-bulk movements.
B LH106 and LH107 are used to convey the quantity or volume and unit of
measure for shipments.
C In LH109, a value of R or P requires that the receiver generate the words
RESIDUE: LAST CONTAINED prior to the shipping name in accordance
with regulations.
Notes:
1
199
LH101
LH1
355
Unit/Basis
Meas Code
M
ID
LH107
380
80
Lading
Quantity
2/2
Quantity
LH102
N0
LH108
LH103
1/7
595
LH109
Compartment
ID Code
1/15
ID
1/1
277
UN/NA
ID Code
ID
ID
665
LH110
1/1
200
Haz Mat
Page
6/6
Residue
Indic Code
O
LH104
AN
LH105
1/6
254
LH111
Packing
Group Code
O
ID
1/3
22
Commodity
Code
AN 1/30
AN
ID
LH112
2/2
1271
N
/
L
Industry
Code
1/5
355
Unit/Basis
Meas Code
X
1375
Interim Haz
Mat Reg No
O
LH106
AN 1/30
DATA
ELEMENT
LH101
355
NAME
ATTRIBUTES
ID
2/2
Code specifying the units in which a value is being expressed, or manner in which
a measurement has been taken
LH102
80
Lading Quantity
N0
1/7
ID
6/6
LH103
277
LH104
200
AN
1/6
The United Nations page number as required for the international transport of
hazardous materials
APRIL 2010
33
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
LH105
22
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
Commodity Code
AN
1/30
ID
2/2
LH106
355
Code specifying the units in which a value is being expressed, or manner in which
a measurement has been taken
LH107
380
Quantity
1/15
ID
1/1
ID
1/1
LH108
595
Compartment ID Code
LH109
665
Code indicating that the shipment is not a loaded movement but contains a
residue from a prior movement.
LH110
254
ID
1/3
LH111
1375
AN
1/5
Identifies the current regulatory version number used for hazardous materials
shipments
LH112
1271
Industry Code
AN
1/30
34
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
HAZARDOUS CLASSIFICATION INFORMATION
LH2
Syntax:
1 P0607
If either LH206 or LH207 is present, then the other is required.
2 P0809
If either LH208 or LH209 is present, then the other is required.
3 P1011
If either LH210 or LH211 is present, then the other is required.
4 P1213
If either LH212 or LH213 is present, then the other is required.
Semantic:
Notes:
1
199
LH201
LH2
215
Hazardous
Class
O
ID
LH207
LH213
408
LH208
1/4
983
Hazardous
Class Qual
O
ID
ID
355
LH209
2/2
218
Hazardous
Plac Note
1/1
Unit/Basis
Meas Code
X
LH203
408
1/4
222
LH205
Hazardous
Endorsement
ID 14/40
Temperature
X
LH204
ID
LH210
4/25
355
LH211
Unit/Basis
Meas Code
X
ID
2/2
759
Reportable
Qty Code
ID
408
LH212
1/4
355
Unit/Basis
Meas Code
2/2
Temperature
X
LH206
ID
2/2
188
Weight Unit
Code
X
ID
1/1
267
Explos Qty
Net
X
LH202
1/30
Temperature
X
N
/
L
N0 1/10
DATA
ELEMENT
LH201
215
NAME
Hazardous Classification
ATTRIBUTES
ID
1/30
APRIL 2010
35
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
LH202
983
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
ID
1/1
ID
14/40
LH203
218
LH204
222
Hazardous Endorsement
ID
4/25
The hazardous endorsement that is to be shown on the shipping papers for the
hazardous commodity.
LH205
759
ID
2/2
ID
2/2
LH206
355
Code specifying the units in which a value is being expressed, or manner in which
a measurement has been taken
LH207
408
Temperature
1/4
ID
2/2
Temperature.
LH208
355
Code specifying the units in which a value is being expressed, or manner in which
a measurement has been taken
LH209
408
Temperature
1/4
ID
2/2
Temperature.
LH210
355
Code specifying the units in which a value is being expressed, or manner in which
a measurement has been taken
LH211
408
Temperature
1/4
ID
1/1
N0
1/10
Temperature.
LH212
188
LH213
267
36
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
HAZARDOUS MATERIAL SHIPPING NAME INFORMATION
LH3
Notes:
1
199
LH301
LH3
224
Haz Mat
Ship Name
X
1 P0102
If either LH301 or LH302 is present, then the other is required.
LH302
AN 1/25
984
Haz Mat
Name Qual
X
ID
LH303
1/1
985
ID
LH304
1073
Yes/No Cond N
Resp Code /
L
NOS
Code
3/3
ID
1/1
DATA
ELEMENT
LH301
224
NAME
ATTRIBUTES
AN
1/25
LH302
984
ID
1/1
LH303
985
ID
3/3
LH304
1073
ID
1/1
APRIL 2010
37
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
1 P0506
If either LFH05 or LFH06 is present, then the other is required.
Semantic:
Notes:
1
199
LFH01
808
Haz Mat
Info Qual
LFH
M
ID
LFH07
380
LFH08
LFH03
DT
809
Haz Mat
Ship Info
AN 1/25
LFH04
1023
Hazard Zone
Code
AN 1/25
ID
1/1
LFH05
355
Unit/Basis
Meas Code
X
ID
LFH06
2/2
380
Quantity
X
1/15
373
N
/
L
Date
1/15
809
Haz Mat
Ship Info
3/3
Quantity
LFH02
8/8
DATA
ELEMENT
LFH01
808
NAME
ATTRIBUTES
ID
3/3
Qualifier indicating the type of information being passed so that a receiver may
format a description of hazardous commodity movements that meets regulatory
requirements.
LFH02
809
AN
1/25
LFH03
809
AN
1/25
LFH04
1023
ID
1/1
LFH05
355
ID
2/2
Code specifying the units in which a value is being expressed, or manner in which
a measurement has been taken
LFH06
380
Quantity
1/15
1/15
DT
8/8
LFH07
380
Quantity
Numeric value of quantity.
LFH08
373
Date
Date expressed as CCYYMMDD
38
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
EPA REQUIRED DATA
LEP
1 P0304
If either LEP03 or LEP04 is present, then the other is required.
Semantic:
Notes:
1
199
LEP01
LEP
806
EPA Waste
Stream Code
O
ID
4/6
LEP02
807
Waste Char
Code
O
LEP03
ID 12/16
156
State or
Prov Code
X
ID
2/2
LEP04
127
Reference
Identifictn
N
/
L
AN 1/80
DATA
ELEMENT
LEP01
806
NAME
ATTRIBUTES
ID
4/6
LEP02
807
ID
12/16
ID
2/2
LEP03
156
LEP04
127
Reference Identification
AN
1/80
APRIL 2010
39
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
1 P0102
If either LH401 or LH402 is present, then the other is required.
2 P0812
If either LH408 or LH412 is present, then the other is required.
Semantic:
Comments:
Notes:
1
199
LH401
LH4
238
LH402
Emerg Resp
Plan Number
X
AN 1/12
LH407
271
Subsidiary
Risk Indic
ID
1/2
254
Packing
Group Code
O
267
Explos Qty
Net
X
LH403
AN 1/256
LH408
364
Comm
Number
ID
LH409
LH404
230
Subsidiary
Class
1/3
805
LH410
ID
LH405
1/3
986
LH411
Canadian
Sp Commod
Hazard Note
Ind Code
N0 1/10
AN 1/25
ID
1/1
230
Subsidiary
Class
ID
364
LH412
AN 1/256
230
Subsidiary
Class
1/3
Comm
Number
O
LH406
ID
1/3
355
Unit/Basis
Meas Code
X
ID
N
/
L
2/2
DATA
ELEMENT
LH401
238
NAME
ATTRIBUTES
AN
1/12
LH402
364
Communication Number
AN
1/256
LH403
254
ID
1/3
LH404
230
Subsidiary Classification
ID
1/3
Code indicating the classification of dangerous goods, other than the primary
classification, that is associated with a number or a set of numbers.
LH405
230
Subsidiary Classification
ID
1/3
Code indicating the classification of dangerous goods, other than the primary
classification, that is associated with a number or a set of numbers.
40
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
LH406
230
Subsidiary Classification
ID
1/3
Code indicating the classification of dangerous goods, other than the primary
classification, that is associated with a number or a set of numbers.
LH407
271
ID
1/2
N0
1/10
AN
1/25
ID
1/1
LH408
267
LH409
805
LH410
986
LH411
364
Communication Number
AN
1/256
LH412
355
ID
2/2
Code specifying the units in which a value is being expressed, or manner in which
a measurement has been taken
APRIL 2010
41
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
1
199
LHT01
LHT
215
Hazardous
Class
O
ID
LHT02
1/30
218
Hazardous
Plac Note
O
LHT03
222
Hazardous N
Endorsement /
L
ID 14/40
ID
4/25
DATA
ELEMENT
LHT01
215
NAME
Hazardous Classification
ATTRIBUTES
ID
1/30
LHT02
218
ID
14/40
LHT03
222
Hazardous Endorsement
ID
4/25
The hazardous endorsement that is to be shown on the shipping papers for the
hazardous commodity.
42
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
HAZARDOUS MATERIAL IDENTIFYING REFERENCE NUMBERS
LHR
1
199
LHR01
LHR
128
Reference
Ident Qual
M
ID
LHR02
2/3
127
Reference
Identifictn
M
LHR03
AN 1/80
373
N
/
L
Date
O
DT
8/8
DATA
ELEMENT
LHR01
128
NAME
ATTRIBUTES
ID
2/3
AN
1/80
LHR02
127
Reference Identification
LHR03
373
Date
DT
8/8
APRIL 2010
43
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
1 P0304
If either PER03 or PER04 is present, then the other is required.
2 P0506
If either PER05 or PER06 is present, then the other is required.
3 P0708
If either PER07 or PER08 is present, then the other is required.
Notes:
1
199
PER01
PER
366
Contact
Funct Code
M
ID
PER07
PER02
2/2
365
PER08
Comm
Number Qual
X
ID
2/2
93
Name
365
PER04
Comm
Number Qual
AN 1/60
364
Comm
Number
X
PER03
ID
PER09
AN 1/256
2/2
PER05
365
PER06
Comm
Number Qual
AN 1/256
ID
2/2
364
Comm
Number
X
AN 1/256
443
Contact
Inquiry Ref
O
364
Comm
Number
N
/
L
AN 1/20
DATA
ELEMENT
PER01
366
NAME
ATTRIBUTES
ID
2/2
Code identifying the major duty or responsibility of the person or group named.
PER02
93
Name
AN
1/60
ID
2/2
AN
1/256
PER03
365
PER04
364
Communication Number
PER05
365
ID
2/2
AN
1/256
PER06
364
Communication Number
PER07
365
ID
2/2
AN
1/256
PER08
364
Communication Number
44
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
PER09
443
AN
1/20
APRIL 2010
45
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
PARTY IDENTIFICATION
N1
N1 Party Identification
Segment:
Loop: W1/W2/LH1/N1 Repeat: 10
Usage: Optional
Max Use: 1
Max Length: 159
Purpose: To identify a party by type of organization, name and code
Syntax:
1 R0203
At least one of N102 or N103 is required.
2 P0304
If either N103 or N104 is present, then the other is required.
Comments:
A This segment, used alone, provides the most efficient method of providing
organizational identification. To obtain this efficiency the "ID Code" (N104)
must provide a key to the table maintained by the transaction processing
party.
B N105 and N106 further define the type of entity in N101.
Notes:
1
199
N101
N1
98
Entity ID
Code
ID
2/3
N102
93
Name
N103
AN 1/60
66
ID Code
Qualifier
ID
N104
1/2
67
ID
Code
N105
AN 2/80
706
Entity
Relat Code
O
ID
N106
2/2
98
Entity ID
Code
ID
N
/
L
2/3
DATA
ELEMENT
N101
98
NAME
ATTRIBUTES
ID
2/3
N102
93
Name
AN
1/60
ID
1/2
N103
66
N104
67
Identification Code
AN
2/80
ID
2/2
ID
2/3
N105
706
N106
98
46
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
PARTY LOCATION
N3
N3 Party Location
Segment:
Loop: W1/W2/LH1/N1
Usage: Optional
Max Use: 2
Max Length: 115
Purpose: To specify the location of the named party
Notes:
1
199
N301
N3
166
Address
Information
M
AN 1/55
N302
166
Address
Information
O
N
/
L
AN 1/55
DATA
ELEMENT
N301
166
NAME
Address Information
ATTRIBUTES
AN
1/55
AN
1/55
N302
166
Address Information
APRIL 2010
47
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
GEOGRAPHIC LOCATION
N4
N4 Geographic Location
Segment:
Loop: W1/W2/LH1/N1
Usage: Optional
Max Use: 1
Max Length: 95
Purpose: To specify the geographic place of the named party
Syntax:
1 E0207
Only one of N402 or N407 may be present.
2 C0605
If N406 is present, then N405 is required.
3 C0704
If N407 is present, then N404 is required.
Comments:
A A combination of either N401 through N404 (or N405 and N406) may be
adequate to specify a location
Notes:
1
199
N401
19
City
Name
N4
O
156
State or
Prov Code
X
ID
N403
2/2
116
Postal
Code
O
ID
3/15
N404
26
Country
Code
ID
N405
2/3
309
Location
Qualifier
X
ID
N406
1/2
310
Location
Identifier
O
AN 1/30
1715
Country
Subdivision
X
N402
AN 2/30
N407
ID
N
/
L
1/3
DATA
ELEMENT
N401
19
NAME
City Name
ATTRIBUTES
AN
2/30
ID
2/2
N402
156
N403
116
Postal Code
ID
3/15
Code defining international postal zone code excluding punctuation and blanks
(zip code for United States).
N404
26
Country Code
ID
2/3
ID
1/2
AN
1/30
ID
1/3
N405
309
Location Qualifier
Code identifying type of location.
N406
310
Location Identifier
Code which identifies a specific location.
N407
1715
48
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
ADMINISTRATIVE COMMUNICATIONS CONTACT
PER
1 P0304
If either PER03 or PER04 is present, then the other is required.
2 P0506
If either PER05 or PER06 is present, then the other is required.
3 P0708
If either PER07 or PER08 is present, then the other is required.
Notes:
1
199
PER01
PER
366
Contact
Funct Code
M
ID
PER07
PER02
2/2
365
PER08
Comm
Number Qual
X
ID
2/2
93
Name
365
PER04
Comm
Number Qual
AN 1/60
364
Comm
Number
X
PER03
ID
PER09
AN 1/256
2/2
PER05
365
PER06
Comm
Number Qual
AN 1/256
ID
2/2
364
Comm
Number
X
AN 1/256
443
Contact
Inquiry Ref
O
364
Comm
Number
N
/
L
AN 1/20
DATA
ELEMENT
PER01
366
NAME
ATTRIBUTES
ID
2/2
Code identifying the major duty or responsibility of the person or group named.
PER02
93
Name
AN
1/60
ID
2/2
AN
1/256
PER03
365
PER04
364
Communication Number
PER05
365
ID
2/2
AN
1/256
PER06
364
Communication Number
PER07
365
ID
2/2
AN
1/256
PER08
364
Communication Number
APRIL 2010
49
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
PER09
443
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
AN
1/20
50
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
LOOP TRAILER
LE
LE
Segment:
Loop: W1/W2
Loop Trailer
Usage: Optional
Max Use: 1
Max Length: 10
Purpose: To indicate that the loop immediately preceding this segment is complete
Syntax:
1 One loop may be nested contained within another loop, provided the inner
nested loop terminates before the outer loop. When specified by the
standard setting body as mandatory, this segment, in combination with
LS, must be used. It is not to be used if not specifically set forth for use.
The loop identifier in the loop header and trailer must be identical. The
value for the identifier is the loop ID of the required loop beginning
segment. The loop ID number is given on the transaction set diagram in the
appropriate ASC X12 version/release.
Comments:
Notes:
1
199
LE01
447
Loop ID
Code
LE
M
AN
1/6
DATA
ELEMENT
LE01
447
NAME
ATTRIBUTES
AN
1/6
Code identifying a loop within the transaction set which is bounded by the related
LS and LE segments (corresponding LS and LE segments must have the same
value for loop identifier). (Note: The loop ID number given on the transaction set
diagram is recommended as the value for this data element in segments LS and
LE.)
APRIL 2010
51
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
PER
Segment:
Loop: W1/W2
Usage: Optional
Max Use: 5
Max Length: 869
Purpose: To identify a person or office to whom administrative communications should be
directed
Syntax:
1 P0304
If either PER03 or PER04 is present, then the other is required.
2 P0506
If either PER05 or PER06 is present, then the other is required.
3 P0708
If either PER07 or PER08 is present, then the other is required.
Notes:
1
199
PER01
PER
366
Contact
Funct Code
M
ID
PER07
PER02
2/2
365
PER08
Comm
Number Qual
X
ID
2/2
93
Name
365
PER04
Comm
Number Qual
AN 1/60
364
Comm
Number
X
PER03
ID
PER09
AN 1/256
2/2
PER05
365
PER06
Comm
Number Qual
AN 1/256
ID
2/2
364
Comm
Number
X
AN 1/256
443
Contact
Inquiry Ref
O
364
Comm
Number
N
/
L
AN 1/20
DATA
ELEMENT
PER01
366
NAME
ATTRIBUTES
ID
2/2
Code identifying the major duty or responsibility of the person or group named.
PER02
93
Name
AN
1/60
ID
2/2
AN
1/256
PER03
365
PER04
364
Communication Number
PER05
365
ID
2/2
AN
1/256
PER06
364
Communication Number
PER07
365
ID
2/2
AN
1/256
PER08
364
Communication Number
52
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
PER09
443
AN
1/20
APRIL 2010
53
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
LH2
Segment:
Loop: W1/W2
Usage: Optional
Max Use: 1
Max Length: 144
Purpose: To specify the hazardous notation and endorsement information.
Trans. Set Notes:
Syntax:
1 P0607
If either LH206 or LH207 is present, then the other is required.
2 P0809
If either LH208 or LH209 is present, then the other is required.
3 P1011
If either LH210 or LH211 is present, then the other is required.
4 P1213
If either LH212 or LH213 is present, then the other is required.
Semantic:
Notes:
1
199
LH201
LH2
215
Hazardous
Class
O
ID
LH207
LH213
408
LH208
1/4
983
Hazardous
Class Qual
O
ID
ID
355
LH209
2/2
218
Hazardous
Plac Note
1/1
Unit/Basis
Meas Code
X
LH203
408
1/4
222
LH205
Hazardous
Endorsement
ID 14/40
Temperature
X
LH204
ID
LH210
4/25
355
LH211
Unit/Basis
Meas Code
X
ID
2/2
759
Reportable
Qty Code
ID
408
LH212
1/4
355
Unit/Basis
Meas Code
2/2
Temperature
X
LH206
ID
2/2
188
Weight Unit
Code
X
ID
1/1
267
Explos Qty
Net
X
LH202
1/30
Temperature
X
N
/
L
N0 1/10
DATA
ELEMENT
LH201
215
NAME
Hazardous Classification
ATTRIBUTES
ID
1/30
54
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
LH202
983
ID
1/1
ID
14/40
LH203
218
LH204
222
Hazardous Endorsement
ID
4/25
The hazardous endorsement that is to be shown on the shipping papers for the
hazardous commodity.
LH205
759
ID
2/2
ID
2/2
LH206
355
Code specifying the units in which a value is being expressed, or manner in which
a measurement has been taken
LH207
408
Temperature
1/4
ID
2/2
Temperature.
LH208
355
Code specifying the units in which a value is being expressed, or manner in which
a measurement has been taken
LH209
408
Temperature
1/4
ID
2/2
Temperature.
LH210
355
Code specifying the units in which a value is being expressed, or manner in which
a measurement has been taken
LH211
408
Temperature
1/4
ID
1/1
N0
1/10
Temperature.
LH212
188
LH213
267
APRIL 2010
55
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
LHR
Segment:
Loop: W1/W2
Usage: Optional
Max Use: 1
Max Length: 98
Purpose: To transmit specific hazardous material reference numbers.
Notes:
1
199
LHR01
LHR
128
Reference
Ident Qual
M
ID
LHR02
2/3
127
Reference
Identifictn
M
LHR03
AN 1/80
373
N
/
L
Date
O
DT
8/8
DATA
ELEMENT
LHR01
128
NAME
ATTRIBUTES
ID
2/3
AN
1/80
LHR02
127
Reference Identification
LHR03
373
Date
DT
8/8
56
APRIL 2010
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
TRANSACTION SET TRAILER
SE
SE
Segment:
Loop: ____
Usage: Mandatory
Max Use: 1
Max Length: 24
Purpose: To indicate the end of the transaction set and provide the count of the
transmitted segments (including the beginning (ST) and ending (SE) segments).
Comments:
SE01
SE
Number of
Inc Segs
M
N0 1/10
SE02
329
TS Control
Number
M
AN
N
/
L
4/9
DATA
ELEMENT
SE01
96
NAME
ATTRIBUTES
N0
1/10
SE02
329
AN
4/9
Identifying control number that must be unique within the transaction set
functional group assigned by the originator for a transaction set
APRIL 2010
57
006020 418
RAIL ADVANCE INTERCHANGE CONSIST
58
RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
APRIL 2010