
Railinc 322 Terminal Operations and Intermodal Ramp Activity
Railinc · X12 008030
The Railinc 322 is the terminal operations message reporting container gate and yard activity.
Railinc’s published 322 specification, rendered as an interactive guide. Expand any segment to see its elements, data types, lengths and accepted codes — then validate your own document against it below.
Specification
29 of 29 segments
HEADING
ST
Transaction Set Header ST
pos 0100
Optional
max —
ZC1
Beginning Segment For Data Correction Or Change ZC1
pos 0150
Optional
max —
Q5
Status Details Q5
pos 0160
Required
max —
N7 Looprepeats 1000required
N7
Equipment Details N7
pos 0200
Required
max —
DTM
Date Time Reference DTM
pos 0400
Optional
max 2
M7
Seal Numbers M7
pos 0500
Optional
max 5
W09
Equipment And Temperature W09
pos 0600
Optional
max —
W2
Equipment Identification W2
Used to report load/empty status of equipment specified in the preceding N7 segment and associated chassis if applicable.
pos 0700
Optional
max —
NA
Cross Reference Equipment NA
Used to report conveying flat car
pos 0800
Optional
max 30
V1
Vessel Identification V1
pos 1100
Optional
max —
R4 Looprepeats 20required
R4
Port Or Terminal R4
pos 1200
Required
max —
H3
Special Handling Instructions H3
pos 1400
Optional
max 6
N1 Looprepeats 10
N1
Party Identification N1
pos 1500
Required
max —
N4
Geographic Location N4
pos 1560
Optional
max —
N9
Extended Reference Information N9
pos 1700
Optional
max 30
L0 Looprepeats 999
L0
Line Item Quantity And Weight L0
pos 1800
Required
max —
L5
Description Marks And Numbers L5
pos 1900
Optional
max —
H1
Hazardous Material H1
Use of the LH loop is preferred when reporting Hazardous Materials/Dangerous Goods
pos 2000
Optional
max 3
LH1 Looprepeats 1000
LH1
Hazardous Identification Information LH1
pos 2100
Required
max —
LH2
Hazardous Classification Information LH2
For detailed usage see Hazardous Materials/Dangerous Goods Looping Structure guidelines in Rail Front Matter section 5.5
pos 2200
Optional
max 4
LH3
Hazardous Material Shipping Name Information LH3
For detailed usage see Hazardous Materials/Dangerous Goods Looping Structure guidelines in Rail Front Matter section 5.5
pos 2300
Optional
max 10
LFH
Free Form Hazardous Material Information LFH
For detailed usage see Hazardous Materials/Dangerous Goods Looping Structure guidelines in Rail Front Matter section 5.5
pos 2400
Optional
max 25
LEP
Epa Required Data LEP
For detailed usage see Hazardous Materials/Dangerous Goods Looping Structure guidelines in Rail Front Matter section 5.5
pos 2500
Optional
max 3
LH4
Canadian Dangerous Requirements LH4
For detailed usage see Hazardous Materials/Dangerous Goods Looping Structure guidelines in Rail Front Matter section 5.5
pos 2600
Optional
max 4
LHT
Transborder Hazardous Requirements LHT
For detailed usage see Hazardous Materials/Dangerous Goods Looping Structure guidelines in Rail Front Matter section 5.5
pos 2700
Optional
max 3
LHR
Hazardous Material Identifying Reference Numbers LHR
For detailed usage see Hazardous Materials/Dangerous Goods Looping Structure guidelines in Rail Front Matter section 5.5
pos 2800
Optional
max 10
PER
Administrative Communications Contact PER
For detailed usage see Hazardous Materials/Dangerous Goods Looping Structure guidelines in Rail Front Matter section 5.5
pos 2900
Optional
max 5
L3
Total Weight And Charges L3
Used to communicate accrual or payment of Terminal Charges
pos 3000
Optional
max 2
SE
Transaction Set Trailer SE
pos 3100
Optional
max —
Validate your 322
Paste or upload a document and check it against Railinc’s published rules — segment order and repetition, required elements, field lengths, data types and accepted codes. Nothing is stored.
Go live on Railinc’s 322 in days, not months
Connect this guide to your accounting system and test with Railinc yourself, or leave the mapping and the test cycle to us, at no extra charge.