Home
Name Modified Size InfoDownloads / Week
caOBJ_Tech.pdf 2013-05-24 440.6 kB
_class.RTN 2013-05-24 7.5 kB
README.TXT 2012-04-02 3.1 kB
caTEMP.GLB 2012-04-02 1.9 kB
caOBJMV1.RTN 2012-04-02 6.5 kB
CaOBJ.rsa 2011-12-11 5.3 kB
Totals: 6 Items   464.9 kB 0
                   
                            HOW TO MIGRATE InterSystems-CACHE  DATABASE  TO   MumpsV1.56
                            ============================================================



1. Export Globals/Routines from InterSystems CACHE
--------------------------------------------------

CACHE side export routines :
Output - DTM format
         Stream data
** CACHE Export Error : some +blank line inserted !!! Check It !

CACHE side export globals  :
Output - Cache Format
         Stream data
General - 
  File format -
    Character Set - UTF8
** NullSubscript TERMINATE the %RR utility !!!
Import this files to MumpsV1 database UCI, ^%RR (routines) , ^%GR (globals)...



2. Runing Object conversion on CACHE side
-----------------------------------------

CACHE ##class(...  change to  $$^%class(... syntax & property & query syntax change ...
The ^%class object manipulation utility on MV1 100% compatible as CACHE persistent object usage .
The ^%class object manipulation utility written in STANDARD MUMPS !!!
The ^%class (StandardMumps) working/compatible more M platform :
GT.M , CACHE , MSM , DSM , MiniM ,....

Login CACHE & runing the ^caOBJ routine :
Object CDL definition convert to caOBJECT Technology
** program generate 2 globals:
   ^caOBJ  - Object definitions
   ^caOBJM - Object methode/function/SQLquery M code
Export this 2 globals :
Output - Cache Format
         Stream data
Import MV1 selected UCI with ^%GR utility
More information see.: caOBJ_Tech.PDF on website...



3. Import the caOBJECT syntax definition global
-----------------------------------------------

Import the ^caTEMP global with %GR utility
(Check It !!)
In the "RTN" node specify , the author information include the first section of source(s)
In the "cpro" node define the non-Standard CACHE syntax change to StandardMumps


4. Genetare the UTF-8 codepage definition global
------------------------------------------------
For full Linux/Ubuntu UTF-8 support , need generate the codepage definition table on MV1
Runing : D MAKE^CPUTF
This utility generate the ^CPUTF global cross/definition table
(Check It !!)
Otherwise , for ISO compatible change the Linux standard codepage !



5. Runing caOBJCVT utility for full caOBJECT syntax
---------------------------------------------------

This ^caOBJCVT utility convert all/or selected routine(s) source code
from CACHE object syntax , to caOBJECT Standard-Mumps syntax
Usage:
1 or selected routine   : D ^caOBJCVT
all off routine convert : D ALL^caOBJCVT
This utility make NEW output Standard Mumps source in ^ROUTINE global
(Check It !!)
Change the old CACHE source to NEW StandardMumps-caOBJECT source : D RC^caOBJCVT
(MERGE ^$R=^ROUTINE)



*************************************************************************************************

For more information , please visit : www.cais-system.weebly.com
For more FREE!! CaIS(c) application : www.caisys.weebly.com
Bug or error reporting e-mail       : cais.system@gmail.com
Direct contact (Skype Me!)          : cais28
Forum discussion                    : www.mumpster.org  (nick:cais28)

MV1 = Fast & Easy ;)
Enjoy !
Source: README.TXT, updated 2012-04-02