GR2 Train Data
To provide train assignment as to its identification and departure
Position
Element
Name
Type
Requirement
Min
Max
Repeat
GR2-01
Standard Carrier Alpha Code
Identifier (ID)
Mandatory
2
4
-
Standard Carrier Alpha Code
GR2-02
Location Qualifier
Identifier (ID)
Conditional
1
2
-
Code identifying type of location
GR2-03
Location Identifier
String (AN)
Conditional
1
30
-
Code which identifies a specific location
GR2-04
City Name
String (AN)
Conditional
2
30
-
Free-form text for city name
GR2-05
State or Province Code
Identifier (ID)
Conditional
2
2
-
Code (Standard State/Province) as defined by appropriate government agency
GR2-06
Country Code
Identifier (ID)
Optional
2
3
-
Code identifying the country
GR2-07
Interchange Train Identification
String (AN)
Optional
1
10
-
Train identification (free-form)
GR2-08
Date
Date (DT)
Optional
8
8
-
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
GR2-09
Time
Time (TM)
Optional
4
8
-
Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)
GR2-10
Standard Carrier Alpha Code
Identifier (ID)
Optional
2
4
-
Standard Carrier Alpha Code
GR210 is the switch road.
GR2-11
Standard Carrier Alpha Code
Identifier (ID)
Optional
2
4
-
Standard Carrier Alpha Code
GR211 is the stack train operation.
GR2-12
Interchange Train Identification
String (AN)
Optional
1
10
-
Train identification (free-form)