CIF Header: Difference between revisions

From Open Rail Data Wiki
Jpl (talk | contribs)
Created page with "<code> HDTPS.UDFROC1.PD1503060603152151DFROC1RDFROC1QUA060315050316 </code> {|class ="wikitable" ! Field !! Format !! Length !! Example Value !! Comments |- | Record Identity..."
 
Jpl (talk | contribs)
mNo edit summary
Line 1: Line 1:
== Record Format ==
A Header record occurs only once, at the beginning of the file.
<code>
<code>
HDTPS.UDFROC1.PD1503060603152151DFROC1RDFROC1QUA060315050316
HDTPS.UDFROC1.PD1503060603152151DFROC1RDFROC1QUA060315050316
</code>
</code>


== Record Fields ==
{|class ="wikitable"
{|class ="wikitable"
! Field !! Format !! Length !! Example Value !! Comments
! Field !! Format !! Length !! Example Value !! Comments

Revision as of 00:08, 14 March 2015

Record Format

A Header record occurs only once, at the beginning of the file. HDTPS.UDFROC1.PD1503060603152151DFROC1RDFROC1QUA060315050316

Record Fields

Field Format Length Example Value Comments
Record Identity String 2 HD Always HD
File Mainframe Identity String 20 TPS.UDFROC1.PD150306
Date of Extract Date (DDMMYY) 6 060315
Time of Extract Time (HHMM) 4 2151
Current File Reference String 7 DFROC1R The last character increments from A through to Z. The file reference remains unique for a maximum of 26 extract files.
Last File Reference String 7 DFROC1Q
Update Indicator U/F 1 U U = Update Extract, F = Full Extract
Version Char 1 A
User Start Date Date (DDMMYY) 6 060315
User End Date Date (DDMMYY) 6 050316
Spare String 20 (empty space)