Is there a way to use IRIS from command line (eg: batch file), the same way as it can be done in CACHE ?
We recently migrated to IRIS. Before, the CACHE.EXE executable could be invoked from a batch file directly :
C:\InterSystems\Cache\bin\cache.exe -s C:\InterSystems\Cache\mgr -U %SYS
This will display the following in console :
Node: DESKTOP-8H4B321, Instance: CACHE
USER>
Additionally, the pipe instruction can be used to redirect some commands directly
echo write 50 | C:\InterSystems\Cache\bin\cache.exe -s C:\InterSystems\Cache\mgr -U %SYS
I am looking for the same thing in IRIS. If I do the same command line with IRIS executable, I got an error :
Invalid argument to IRIS : -s
I have looked into documentation and the following can be used but it's not the equivalent :
IRIS.exe run IRIS
IRIS.exe console IRIS
IRIS.exe terminal IRIS
EDIT : I found a similar question here