Greetings
I installed the new scripts today and have started receiving a check files error.
When I go into the logs, it shows the following:
10:34:47 --- Starting script psCheckFiles.ps1
10:34:47 File Dates.csv. Record count: 1525
Dates.csv. Row count - must be at least 2 (header and at least one date) - OK
Dates.csv. First row (file header) should be 'Date' - OK
Dates.csv. All but first row (header) should be in format YYYY-MM-DD - OK
Dates.csv. Minimum date in file should be configured MinDate - OK (2014-12-31)
Dates.csv. Maximum date in file should be today - OK (2019-03-03)
Dates.csv. Dates should be unique - OK
10:34:47 File Dates.csv check completed. No issues found.
10:34:47 File Quotes.csv. Record count: 2874
Quotes.csv. Row count - must be at least 2 (header and at least one record) - OK
Quotes.csv. First row (file header) should be 'Date Close Symbol' - OK
Quotes.csv. Each row should have exactly two column separators (' ') - ERROR. Bad records bellow:
But then there is a huge blank area, and then it continues with
Quotes.csv. All rows should have 'Date' column in format YYYY-MM-DD - OK
Quotes.csv. Minimum date in file should be after configured MinDate - OK (2014-12-31)
Quotes.csv. Maximum date in file should be today or before - OK (2019-03-01)
Quotes.csv. Date+Symbol should be unique - OK
10:34:48 File Quotes.csv check completed. Errors found - please review
10:34:48 File Dividends.csv. Record count: 2
Dividends.csv. Row count - must be at least 1 (header) - OK
Dividends.csv. First row (header) should be 'PayDate DividendPerShare Symbol' - OK
Dividends.csv. Each row should have exactly two column separators (' ') - OK
Dividends.csv. All rows should have 'PayDate' column in format YYYY-MM-DD - OK
Dividends.csv. Minimum date in file should be configured MinDate - OK (2014-12-31)
Dividends.csv. Maximum date in file should be today or before - OK (2014-12-31)
Dividends.csv. Date+Symbol should be unique - OK
10:34:48 File Dividends.csv check completed. No issues found.
10:34:48 File CurrencyConv.csv. Record count: 1642
CurrencyConv.csv. Row count - must be at least 1 (header) - OK
CurrencyConv.csv. First row should be 'Date ExchRate CurrencyFrom CurrencyTo' - OK
CurrencyConv.csv. Each row should have exactly three column separators (' ') - OK
CurrencyConv.csv. All rows should have 'Date' column in format YYYY-MM-DD - OK
CurrencyConv.csv. Minimum date in file should be configured MinDate - OK (2014-12-31)
CurrencyConv.csv. Maximum date in file should be today or before - OK (2019-03-01)
CurrencyConv.csv. Date+CurrencyFrom+CurrencyTo should be unique - OK
10:34:48 File CurrencyConv.csv check completed. No issues found.
10:34:48 --- Finished. Duration: 2 sec.
Any thoughts?
Thanks
Comments
Download v2.4.09 (2019-Mar-02): External data Download and Management script set (for majority of users).
Thank you for your help