CIF Header

The CIF Header record (HD) occurs at the start of the file and provides information such as when the file was generated and, for update extracts, the file reference of the last file that was processed. This is important, as CIF update extracts must be processed in order, as they are effectively set of changes since the last extract generated for a particular profile.

Record Format

HDTPS.UDFROC1.PD1503060603152151DFROC1RDFROC1QUA060315050316

Record Fields

FieldFormatLengthExample ValueComments
Record IdentityString2HDAlways HD
File Mainframe IdentityString20TPS.UDFROC1.PD150306
Date of ExtractDate (DDMMYY)6060315
Time of ExtractTime (HHMM)42151
Current File ReferenceString7DFROC1RThe last character increments from A through to Z. The file reference remains unique for a maximum of 26 extract files.
Last File ReferenceString7DFROC1Q
Update IndicatorU/F1UU = Update Extract, F = Full Extract
VersionChar1A
User Start DateDate (DDMMYY)6060315
User End DateDate (DDMMYY)6050316
SpareString20(empty space)
CIF
CIF HD (Header) ZZ (End of File)
TIPLOC TI (TIPLOC Insert) TA (TIPLOC Amend) TD (TIPLOC Delete)
Association AA (Association)
Location BS (Basic Schedule) BX (Basic Schedule Extended) LO (Location Origin) LI (Location Intermediate) CR (Change-en-Route) LT (Location Terminate)
This article is issued from Openraildata. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.