4. Section III Cache.dat Version Check and Upgrading Procedures

Unknown macro: {scrollbar}

After mounting the database and before adding the Global Mappings and Routine Mappings please check to see what version you are currently using. If you are using Cache Version 2009.1.0.446.0 no upgrade is needed, skip this page and go to the next section, section V to add Global Mappings and Routine Mappings. If you are currently using a version greater than 2009.1.0.446.0, please follow the Upgrading Procedures below to upgrade your current cache.dat version. Once the upgrade is complete, continue on to the Global Mappings and Routine Mappings section (Section V step1).
To upgrade the cache.dat file to versions greater than 2009. 1 located, and right click your cache cube short cut and open a terminal session.

At the USER> prompt change to the %SYS namespace by typing the following command ZN "%SYS".
1. Once you have entered the %SYS you should
Type: Do $SYSTEM.OBJ.UpgradeAll("c") to upgrade
Press enter to continue
This option upgrades the cache.dat file to be compatible to the later version of cache that you are installing.

After performing the upgrade, we need to recompile the routines and globals. So at your %SYS prompt (or USER> see image below) we will type the following ZN "VOS".

2. At the namespace prompt, type: D ^%RCOMPIL to recompile
Press enter to continue
This option recompiles all VistA routines and must be performed after upgrading.
3. At the Routine(s): prompt type: ***
Press enter to continue
At the next Routine(s): prompt (press enter only, see image below)
At this point, this process will pause here for 3-5 minutes. Please wait.

4. At the Display syntax errors? Yes =>type: NO
Press enter to continue
Press enter for three prompts until the auto recompile begins.

At this time, the user will see all routines being recompiled. Once this action is complete, press ^ (shift 6) to return to the VOS> namespace prompt.

Note: Once you have completed the above steps, you may continue to the Global Mappings and Routine Mappings Section (see Section V step 1)