Appending.vbs
Legacy, no longer used
This script supersedes the previously used batch file Appending.bat
What does it do
This is a batch file that automates the process of converting batch sent CSV files to TXT, while also moving these "batch sent" CSV files from the Regional Server to Data Processors computers' local hard drive. This is done in preparation in preparation for Data Appending Process or uploading files into the master Critical Care TMSX or Medicine MedTMS data repository.
Where exactly does it move if FROM and TO
FROM:
- Regional Server/Output/<all locations' directories>
TO:
- "M" to: C:/ MedPDAdnld/Import Ready
- "C" to: C:/ CritPDAdnld/Import Ready
- Uses the program prefixes set out in Sent files naming conventions the batch file copies all data output files according to their prefix:
How often is is done
- Once per week or more if required
Where is script for batch file stored
The script is located in C:\ccmis_backup on the main data processing computer. A backup copy is located in X:\ccmis_backup\Copy of batch files on Pagasa C drive.
Implementation/change log
2014-Apr-24
Pagasa ID that there was an error message for the last month when running this program but she did not let anyone know because it is minor. She noted that any of the MD sent csv files that are move from Output folder on Regional Server to MedTms\Import Ready folder are not changed from CSV to TXT. The CC one are okay. Tina had a look and made some minor edits and ran test and things seemed to work. Trish Ostryzniuk 18:46, 2014 April 24 (CDT)
- Plan: Pagasa to write down the error message with the LINE number so we can look at which line in the vbs script things may be getting hung up in.Trish Ostryzniuk 18:46, 2014 April 24 (CDT)
2012-SEP-17
- Implemented script on Data Processor's PC. Explained functionality and ran through a test to demonstrate how the script works. No problems in the production environment.--Fschumacher (talk) 13:52, 2012 September 17 (CDT)
- - Pagasa Torres & Trish Ostryzniuk 14:57, 2012 December 14 (EST)