Greg --

As you can see below, the GT.M ZWR extract format makes it trivially
easy to write a snippet of M code to import a global extract.  The
routine export format is an M standard (I think Cache may refer to it as
the DSM format).

Watch out for line breaks introduced by e-mail programs in the example
below.

-- Bhaskar

-----------------------------------------------------------------
GTM>K ^X F I=0:1:15 F J=0:1:15 S ^X(I)=$G(^X(I))_$C((16*I)+J)

GTM>h
sh-3.00$ rm mumps.zwr
sh-3.00$ mupip extract mumps.zwr
%GTM-I-RECORDSTAT, ^X:    Key cnt: 16  max subsc len: 6  max data len:
16  max rec len: 25
%GTM-I-RECORDSTAT, TOTAL:         Key cnt: 16  max subsc len: 6  max
data len: 16  max rec len: 25
sh-3.00$ cat mumps.zwr
GT.M MUPIP EXTRACT
09-JAN-2006  12:16:28 ZWR
^X(0)=$C(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15)
^X(1)=$C(16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31)
^X(2)=" !""#$%&'()*+,-./"
^X(3)="0123456789:;<=>?"
^X(4)="@ABCDEFGHIJKLMNO"
^X(5)="PQRSTUVWXYZ[\]^_"
^X(6)="`abcdefghijklmno"
^X(7)="pqrstuvwxyz{|}~"_$C(127)
^X(8)=
$C(128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143)
^X(9)=
$C(144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159)
^X(10)=" ¡¢£¤¥¦§¨©ª«¬­®¯"
^X(11)="°±²³´µ¶·¸¹º»¼½¾¿"
^X(12)="ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏ"
^X(13)="ÐÑÒÓÔÕÖרÙÚÛÜÝÞß"
^X(14)="àáâãäåæçèéêëìíîï"
^X(15)="ðñòóôõö÷øùúûüýþ"_$C(255)
-----------------------------------------------------------------

On Mon, 2006-01-09 at 08:53 -0800, Greg Woodhouse wrote:
> --- Marc Krawitz <[EMAIL PROTECTED]> wrote:
> 
> > Once I get a gtm-based VistA installation configured to my
> > satisfaction, is
> > it possible to move the entire installation to a Cache-based system? 
> > Or do
> > I need to start over?
> > 
> > Thanks,
> > 
> > Marc
> > 
> 
> I've never tried to do this, but writing a program to import the
> routines shouldn't be too hard. I don't know what format GTM uses for
> globals, but that's probably straightforward, too. Utilities to copy
> configurations from GTM to Cache (and vice versa) would certainly be
> useful.

[KSB] Greg, as you can see from the example below, 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to