Archive

Posts Tagged ‘REACT command’

REACT^STU1 routine ALternative

April 9th, 2009

REACT^STU1 routine woks fine on cache version 5.21 (Linux). but surprisingly the command does not work in the cache 2007.x and cache 2008.x for Linux the command works fine for the windows version of cache but did not work accordingly in the Linux. This command is used to refresh the cache.cpf files changes in the cache without restarting the cache instance. for example if you change cache.cpf file programmatically and want cache to reflect those changes without restart you need to run the REACT^STU1 command on previous version of cache for Linux(5.21) but in cache 2007 and 2008 you need to add the following command before that command.

do ##class(Config.Configuration).CPFImport($p($zu(86),”*”,1))
and then write the following command
REACT^STU1($p($zu(86),”*”,1),0,2,1)
this will solve your problem .

Cache , , , , ,