From: Mir L. A. <mi...@sa...> - 2002-11-29 23:01:25
|
Hi Alain Instead of waiting till Monday for support, I am writing the easy answer. You need to use /format=bin when you load the binary extract file. That is, mupip load /format=binary /tmp/ZUMENU. Currently GT.M cannot automatically decide the load file format. Default is ZWR, so it gave error when you tried to load binary format as ZWR format. Hope this helps. Thanks. Layek -----Original Message----- From: Alain Descamps [mailto:ala...@ma...] Sent: Thursday, November 28, 2002 6:29 AM To: san...@li... Subject: [Sanchez-gtm-core] problem with mupip extract/load Hi people, Consider this : mumps -di GTM>w $zv GT.M V4.3-001B Linux x86 GTM>w $d(^ZUMENU) 0 GTM>s ^ZUMENU("test",0)=0 GTM>s ^ZUMENU("test",.9)=.9 GTM>h [root@dolce rou]# mupip extract -s=ZUMENU -fo=b /tmp/ZUMENU %GTM-I-RECORDSTAT, ^ZUMENU: Key cnt: 2 max subsc len: 17 max data len: 2 max rec len: 21 %GTM-I-RECORDSTAT, TOTAL: Key cnt: 2 max subsc len: 17 max data len: 2 max rec len: 21 [root@dolce rou]# mumps -di GTM>k ^ZUMENU GTM>h [root@dolce rou]# mupip load /tmp/ZUMENU WGDS BINARY EXTRACT LEVEL 320021128120908040960400004000GT.M MUPIP EXTRACT ZUMENU.. (here are some control characters i suppressed in this mail) %GTM-E-LOADFILERR, Error with load file When you do the same thing in the ZWR format, then everything goes well. Other globals seem to work well, too. However, we like to use the binary format, to backup huge globals as fast as possible. Am I doing something wrong ? Are there other people who have experiences with mupip extract -fo=b ? Thanks for any help, Alain Descamps ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ Sanchez-gtm-core mailing list San...@li... https://lists.sourceforge.net/lists/listinfo/sanchez-gtm-core *************************************************************************** This electronic mail transmission contains confidential and/or privileged information intended only for the person(s) named. Any use, distribution, copying or disclosure by another person is strictly prohibited. *************************************************************************** |