Written by

~~ retired but not tired ~~
MOD
Question Robert Cemper · May 20, 2020

Wanted : IRISsession for Windows

In Cache for Windows (x86-64) 2018.1.3 (Build 414U) I found something very useful

%installdir%\bin\Csession.exe

I miss something similar in my IRIS for Windows (x86-64) 2020.1 (Build 215U)

neitherIRISsession.exe  nor iris session ... nor similar

is available.

And YES,   I know irisdb.exe -s ..\mgr comes close to it.
So I wrote my own IRISsession.bat to cover my disappointment.

:: IRISsessin.bat
:: rcc's fake for the missing irissession.exe in Windows distribution
irisdb.exe -s ..\mgr %*

or did I miss something ?

For me, it looks now the ~same for Linux/UNIX and Windows

>> C:\InterSystems\IRIS\bin>irissession -U %SYS JOBEXAM

Not a big thing, nevertheless boring to distribute it to all installations.

Comments

Stefano Cairoli · May 25, 2020

Buongiorno Robert,

Indeed "iris session" doesn't exist (yet) in the Windows world, but it will probably come at some point in the future.

The "InterSystems IRIS Adoption Guide" happens to have been updated recently to clarify this point, suggesting the use of the terminal/console/run options instead.

Your example could look as follow:

iris terminal IRIS JOBEXAM %SYS

HTH

0
Robert Cemper  May 25, 2020 to Stefano Cairoli

Molte grazie @Stefano Cairoli !
 È sempre lo stesso problema : è scritto da qualche parte.
Ma dove ?
Migliori saluti da Vienna! E state tutti sani!

Robert 

0
Katherine Reid · May 26, 2020

Please avoid using irisdb.exe -s ..\mgr if at all possible.  Calling the executable directly doesn't work in some particular cases, and using irisssession is how you're supposed to do this to avoid those issues.  Please look into how you can get irissession if you need it instead of using a wrapper like this.

0
Pat McGibbon  Sep 24, 2020 to Katherine Reid

Hi Katherine, 

What do you mean by "please look into how you can get irissession"?

It's not available afaict.

That is why people are being forced to find workarounds like this.

Is there a slated release when it will be available do you know?

regards,

Pat.

0