Ciaran Mooney · Sep 20, 2018

How to Open Terminal In Caché Mac OS


I am a newbie so excuse my basic questions.

I have installed Caché on Mac Os High Sierra 10.13.6 and have started the ObjectScript tutorial but I cannot open Terminal in Caché.

The instructions provided on the tutorial don't appear to be for Mac OS as there is no cube icon:

n order to begin practicing using ObjectScript, you need to start the Terminal. Click the Caché cube iconin the task bar and select Terminal from the menu. This brings up the terminal window, and you can see from the prompt that we are in the USER namespace. Namespaces are logical directories, containing routines (programs) and globals (data).

So my question is how do I open the terminal window in Caché, I have navigated to the user and samples  directory in Terminal window but the ObjectScript commands  are not recognised :



2 0 10 573




and execute there

csession cache

Very handy, will have a look

@Dimitry do i need to uninstall my current version of cache to install project cube for Mac OS?


I have installed the but it cant detect my local cache installation, any ideas?

I am using Mac High Sierra.


Hi Ciaran,

Please try below mentioned steps.

1. open mac "Terminal"

2. Need know Cache is running or not. (When you shutdown mac Cache automatically shutdown) Check the status and <InstanceName> enter below command in mac terminal. 

 $ ccontrol list

Configuration 'CACHE'
        directory: /usr/cache
        versionid: 2015.1.2.607.2.16979
        conf file: cache.cpf  (SuperServer port = 1972, WebServer = 57772)
        status:    running, since Wed Sep 19 06:04:37 2018
        state:     ok

3. if not, start the Cache, 

 $ ccontrol start <instancename>

after start check the status of Cache instance.(step 2)

4. Enter command after cache start 

 $ csession <instancename>

Cache Terminal start with default  namespace USER> .


I was not sure if it works, but looks like it does not work anymore. You can try  to fill issue, and maybe author will repair it.

Thanks, I have emailed the author directly.

Hi Ciaram,

I hope that´s not too late..

I´m using high Sierra too (with IRIS) and a Windows version. There are some differences between those platforms and mainly on terminal use as I could figure out. Despite some differences between IRIS and CACHE their approach are very similar.

To start for maintenance (restore database for example) or emergency:

open mac terminal after a stop on your instance.

type: sudo iris start "YOUR CACHE NAME" EmergencyId="your mac user","your mac user password"

Note: iris command=ccontrol (i guess in cache). Replace with appropriate command in cache. Be careful to type you mac user exactly the way you do in you machine. You user must be an administrator.

go to your cache installation dir /bin (cd ...)- I not sure that this is necessary in mac... it´s not a problem

start a session:

irissession "YOUR CACHE NAME"

Note: irissesion - Replace with appropriate command in cache

Then you are ready to launch you commands like "DO ˆBACKUP"  or ZN etc

Recently I already mentioned project Cube for macOS, which can be used to easily get access to Management Portal and terminal