Appending.vbs: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
TOstryzniuk (talk | contribs)
mNo edit summary
m Text replacement - "S:\MED\CCMED" to "S:\MED\MED_CCMED"
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
''this script supersedes the previously used batch file [[Appending.bat]]
Legacy, no longer used


Pagasa uses it during the [[Data Appending Process]] to collect the files sent by collectors from the regional server, rename them as necessary, and copy them to the import directory and their backup locations.
''This script supersedes the previously used batch file [[Appending.bat]]


Please reference the script itself for details.  
==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.


== Location of script ==
==Where exactly does it move if FROM and TO==
*located on the Main Data processing computer in '''C:\ccmis_backup'''
FROM:  
*a backup copy is on - X:\ccmis_backup\Copy of batch files on Pagasa C drive
*[[Regional Server]]/Output/<all locations' directories>


TO:
*"'''M'''" to: C:/[[MedPDAdnld/Import Ready | MedPDAdnld/Import Ready]]
*"'''C'''" to: C:/[[CritPDAAdnld/Import Ready | 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''':


[[Category:Data processing batch files]]
==How often is is done==
[[Category: Batch Files]]
*Once per week or more if required
[[Category: Data Processing]]
 
[[Category: IT Instructions]]
==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 '''{{S:\MED\MED_CCMED}}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. [[User:TOstryzniuk|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.[[User:TOstryzniuk|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.--[[User:Fschumacher|Fschumacher]] ([[User talk:Fschumacher|talk]]) 13:52, 2012 September 17 (CDT)
*-[[User:PTorres | Pagasa Torres]] & [[User:TOstryzniuk|Trish Ostryzniuk]] 14:57, 2012 December 14 (EST)
 
[[Category:Legacy_Data_Processing]]

Latest revision as of 00:12, 30 June 2025

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:

TO:

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 S:\MED\Med_CCMED\S:\MED\Med_CCMED\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)