MuckMoses

Reading File Contents

Discussion created by MuckMoses on Jun 22, 2017
Latest reply on Jun 23, 2017 by MuckMoses
Hi

We have a system that runs and outputs files to a shared folder on Windows that MAY contain error messages.  Currently these are checked every day manually.  Now I know the correct way would be to fix the system to be more sensible but in the short term we'd like to use Automic.

I've written a script the lists all the folders for today, lists all the .csv files, reads the contents and checks the relevant column(s) but we have a filesize isssue as below:-

21/06/2017 15:22:51 -  U00010030 Runtime error: Report/file could not be transferred correctly: '\\537016-PDAPC07\caseflow\Live\Logs\Scheduler\21-06-2017\461043\2_STB Closures Process_STB Output.csv'
21/06/2017 15:22:51 -  U00011000 'LFL.SOFTWARECONFIG.AAMCHECKS.JOBS.WIN.AAMCHECK' (RunID: '0001177625') could not be started on 'AE_SERVER_01'. See next message.
21/06/2017 15:22:51 -  U00010030 Runtime error: Report/file could not be transferred correctly: '\\537016-PDAPC07\caseflow\Live\Logs\Scheduler\21-06-2017\461043\2_STB Closures Process_STB Output.csv'
21/06/2017 15:22:51 -  U00029007 Not all blocks (Limit '120') have been transferred from file '\\537016-PDAPC07\caseflow\Live\Logs\Scheduler\21-06-2017\461043\2_STB Closures Process_STB Output.csv'.

TIA

Outcomes