Written by

Question Jeff Alfini · Nov 1, 2016

Connect Cache client to GT.M database

Does anyone know how to connect a Cache client to a GT.M database?  I recently installed Osehra VistA on my PC and it uses GT.M, but we're supposed to use Cache Studio to develop.  I tried adding a server to Cache (specifying 2222 as the port) and I get an "access denied" error.  Port  2222 is the correct port which I use for for VirtuaBox and I have no problem connecting to VistA.  I also tried going into the Management Portal to set up a local connection but this isn't working.  There are some sites that say the products 'nodem' or 'node.js' are necessary, but I'm not sure how these fit in with Cache.  Any assistance would be greatly appreciated!

Thanks!

Jeff

Comments

Sergei Shutov · Nov 1, 2016

Cache Studio will only work with Cache database. It will not work with GTM. If you want to develop in Studio, you need to install Vista to your Cache instance.

0
Jeff Alfini  Nov 2, 2016 to Sergei Shutov

Thank you.  I was getting the feeling that Cache & GT.M were not compatible.

0
George James · Nov 2, 2016

Jeff

You can use Serenji instead of Studio for editing and debugging on GT.M.

To keep this thread on topic you can also use Serenji as an excellent alternative to Studio for debugging on Cache and Ensemble.

George

0
Jeff Alfini  Nov 2, 2016 to George James

Thanks.  Serenji debugger does not sound like a bad idea,  but we need to use Cache.  It looks like I'll need to convert  my GT.M database to Cache.  

0
Mark Sires · Nov 4, 2016

Studio is an Intersystems provided tool to edit routines/classes/xml/ etc. used in Caché systems, it isn't a general purpose editor.

If you have a valid Caché system, you could pull up the GT.M routine in a linux editor like pico/nano, copy the entire routine into the clipboard, then paste into a new .MAC routine in Studio for editing, then when done, copy/paste back into nano and save.  A lot of effort that doesn't add any value.

I highly recommend Serenji if you are going to edit/manage M systems on multiple vendor platforms, it is very good.

Mark

0