I've ran my CIF programs using the NRE (
http://opendata.nationalrail.co.uk/) dataset, RJTTF972, with apparent success. Apparent because I can't be certain which date the extract relates to;
- the MSN file (RJTTF972) has comment records at the top of file, which includes a Generated value;
/!! Start of file
/!! Content type: msnf
/!! Sequence: 972
/!! Generated: 06/04/2021
/!! Exporter: RjEhrTTT
- the Date of Extract field (specified as "Format ddmmyy defining the date that the BTD extract", Field 3, columns 23-28) in the header record of the MCA file, RJTTF972.MCA, is 190711? In the RDG file this field was always set as expected, i.e., the Friday date before the Saturday download. (However, I now notice from the RDG, 27/03/2021 dataset, ttis951, the Date of Extract field is 020421?)
I am fairly certain the extract date could be inferred from the sequence number, i.e., the last 3 digits of the dataset (eg., 951 in ttis951.zip, 972 from RJTTF972.zip) but I'm only guessing and certainly can't be sure, it's not in the spec or on the wiki (as far I'm aware). As I'll be using the NRE CIF dataset from now on, as advised, how can I be certain of the correct Date of Extract for it's MCA file and why is the value, apparently (I'm guessing it's not the timetables from 10 years ago!), not right ?