Cognos data import
This page explains how to get data from the Cognos EPR Report into CCMDB.accdb and rolled out to collectors.
Process
Tina receives the data in a scheduled, automated email from Chastity every morning as early as possible, usually before 8. The data is then imported into CCMDB.accdb master on Regional server and provided to collectors via regular roll-out and news and backup.
Outlook Rule in Tina's profile to get data to Pagasa
Decision Support Services sends a report to Tina. The report needs to go to Pagasa so we can schedule the automated import on a machine that sits on WRHA network at all times. So, there is an outlook rule "Cognos to Pagasa" in Tina's Outlook profile to forward the email to Pagasa from Chastity.
Process if the email does not arrive
Generally the email from Chastity arrives around 7:40 +/-1hr. This can be delayed if the ETL that feeds the process is delayed. If the email has not arrived by 9:30, contact Chastity.
Importing and rolling out to Data Collectors
Expand this for the scheduled task process that we used to run and hope to run again |
Before the main office moved to work from home, we had a task scheduled on the Data Processor PC to take care of the import and roll-out process as soon as the data arrived. With work from home we can no longer rely on a PC being available to run this task so it is done manually for now. |
Steps to import and roll out
Each morning the Data Processor or Database Manager runs LoadCognos.bat (if the .bat isn't visible, it is the file of type "Windows Batch File"). If the data collector is unavailable, the Process Analyst does this. Anyone who has the requisite email in their mailbox would be able to run this, but for now only Lisa receives it as a final fall-back.
What happens in the process
This information is only relevant for troubleshooting and should not usually be done manually. |
Fallback process The import can also be manually run on any computer that has CCMDB.accdb using the Cognos2_Service_Starter#Cognos_Import_Button and the data can be manually sent out to collectors following the same process as Rolling out changes. When run on Tina's computer the process will roll out any current changes in the local file; if anything was changed, update log saying it has been rolled out! |
Newly encountered units or services
If a unit or service is part of the import that is not already in our reference tables, an email will be sent to Tina and Lisa. Lisa will inform Tina what the new unit/service is about and Tina will add it to the master version of CCMDB.accdb accordingly.
Newly encountered units
Newly encountered units need to be added to the s_Cognos_Units table, see more info there about what the fields mean.
If the unit is one we collect then Level of care hierarchy needs to be determined (discuss with the Statistician if not clear) and entries need to be added to Boarding Loc and s_level_of_care table.
Newly encountered services
Newly encountered services need to be added to the s_Cognos_Services table, see more info there about what the fields mean.
If the service is one we collect then it needs to be added to Service tmp entry options.
Known problems with data import
The task requires the user be logged in. If Shared Health re-boots the computer over night, the task won't run until Pagasa logs on.
CFE or TISS28.accdb left open on Pagasa's PC
CFE and TISS28.accdb needs to be closed at the end of the work day on Pagasa's computer. The update process needs to download the newest version of CCMDB.accdb from the Regional Server before it runs so that it doesn't overwrite the master version with an older version from Pagasa's PC. This download of the newest version is blocked when CFE is open.
Problem Log
The VBA logs its progress to a log file \\ad.wrha.mb.ca\wrha\REGION\Shared\ICU_DATA_COLLECTION\Maintenance\ccmdb_log.txt
- 2021-03-04 - Pagasa provided screen shot of error "Error in sub notify_about_new_Congos: The operation failed. The messaging interfaces have rerutned an unknown error. If the problem persists, restart Outlook. - -2147467259"
- This happened when PC was rebooted at the end of the day before, locked in and then left like that over night.
detailed log |
|
Related articles
Related articles: |