In Cache for Windows (x86-64) 2018.1.3 (Build 414U) I found something very useful
Posts that relate to discussions on utilizing the Terminal tool.
Posts that relate to discussions on utilizing the Terminal tool.
In Cache for Windows (x86-64) 2018.1.3 (Build 414U) I found something very useful
Hey ISC Community!
For a small automation feature I would like to login to the IRIS shell non-interactively, skipping the whole username and password prompts, providing the credentials through other means. Something in the fashion of "iris session <instance-name> --user myuser --pass mypass" would be great, but the session tool itself doesn't seem to be capable of doing this.
Does anyone know a way to accomplish this? It need not be through "iris session", any way that can be automated would be fine. Disabling authentication for the terminal is not an option, though.
Hello community!
I am trying to set up Startup Tag^Routine field for the UnknownUser as follows:

And my simple routine is the next:
Calling do ZitRoStart^ZitRo in the terminal prints "Hello", but when opening Caché Terminal it results with the next:
And the terminal closes.
// Cache for Windows (x86-64) 2016.2 (Build 636U) Wed Apr 13 2016 20:58:35 EDT
What am I doing wrong in setup?
Thank you very much!
This post is originally posted on GitHub.
This discussion is open to anyone who use or know about WebTerminal project. It is a result of a long story of the project development, testing and maintaining.
While WebTerminal greatly improves user experience by enhancing standard terminal with additional features, there are numerous issues (#77, #92, #81, #87 and others) showing that it performs not as expected in some cases, and does not support some very basic things (like $ZA/$ZB variables).
Can someone help me understand what type of user error (?) is going on here please?
One one system, I write out a group of $c() values and get the expected results:
USER>for i=250:1:260 { write i," ", $c(i),! }
250 ú
251 û
252 ü
253 ý
254 þ
255 ÿ
256 Ā
257 ā
258 Ă
259 ă
260 Ą
USER>w $zv
IRIS for Windows (x86-64) 2023.1.4 (Build 580U) Fri Apr 19 2024 11:16:07 EDT
USER>On another system, I get some unexpected results:
USER>for i=250:1:260 { write i," ",$c(i),! }
250 ú
251 û
252 ü
253 ý
254 þ
255 ÿ
256 Ā
257 Ä
258 Ä‚
259 ă
260 Ä„
USER>w $zv
IRIS for Windows (x86-64) 2025.1.1 (Build 308U) Thu Jul 10 2025 16:00:01 EDT
USER>I want to determine what service (eg. %Service_Console) is used for current process.
I can probably use some workarounds, i.e.
But is there any centralised way to get current service?
Hello Community
I was running code in the terminal and attempted to interrupt its execution. During that process, I encountered an application error with a log entry dated 01/06/1841, the date seems unusual..png)
Error <INTERRUPT>ErrST+6^%ETN occurred within %ETN itself. Detailed information cannot be logged.
Atelier Users:
Has anyone found an Eclipse plug-in that provides the capability to connect to a Caché server and give the user a way to write SQL queries using the tables from that server? I'm picturing something like a "WinSQL"-client built as an Eclipse plugin.
I've found and tried the following, but I couldn't get it to connect to my local Caché instance.
http://eclipsesql.sourceforge.net/
I do a lot of SQL query building with the SQL tool on the Management Portal or $system.SQL.Shell() from terminal before moving the queries into my COS code.
I entered the irissession SERVER command and got the prompt PROMPT>
Now I want to exit this and return to the generic aix prompt $
I try q, quit, e, exit... none of these work.
Let's say I want to execute this cache script (saved as test.txt) from OS terminal:
zn "USER" write 1 zn "%SYS" write 2 halt
Executing the following command in a terminal:
csession cache < test.txt
Would yield this output:
Is there a better way to run these scripts?
Currently I have two problems:
As for 1 there are two solutions I found:
Hi folks!
When I start IRIS in docker every time I do the following:
$ docker-compose up -d --build $ docker-compose exec iris iris session iris USER>zn "NAMESPACEINEED"
Is it possible to have an open terminal command connect to a particular namespace?
I need to perform additional checks before Cache user logins (let's say in a terminal for simplicity) and allow access only to those, who passed them. How do I do it?
As stated in title, I want to log everything I type/get in the terminal to a log file, is there a setting like this somewhere?
Preferably I'd like to enable it once and that's it.
Hi, folks!
Do you know the option/mode when I can feed multiline code into a terminal?
E.g.
for i=1:1:100 {
/// do one line
///do something else}Hello all,
I know it is perhaps too vague question, but anyway:
Do you have experience from running a thick (preferably .NET) application in any of these modes - client installed locally, Terminal Server, Citrix ? Say, there are around 300-400 concurrent users using application.
Can you share your observations / opinions?
Thank you!
Dan Kutac
Hello everyone, I'm trying to run a cache terminal script from cmd/ batch.
I run it like this C:\MyCache\bin#cterm.exe C:\Users\Me\Desktop\cache_scrip.scr
The command opens a terminal, but nothing happens, no title present, no log file written, no output, it's just stucked.
Here is my script:
case match: off title MyTitle ; wait for the terminal to initialize and ask for our identification echo: on wait for:Username send: MeUser<CR> wait for:Password send: mepass<CR> logfile: C:\Users\Me\Desktop\cache_script.log pause:10 send: znspace "ME_NAMESPACE"<CR> wait for:ME_NAMESPACE> send: do ##class(Me.MeMethod).UpdateRecordForCustomerId(1)<CR> pause:30 send: do ##class(Me.MeMethod).UpdateRecordForCustomerId(2)<CR> pause:30 send: do ##class(Me.MeMethod).UpdateRecordForCustomerId(3)<CR> pause:30 ; finish the session send: <CR> closelog ; finished terminate
I try to run a small test routine (guessing a random number) in WebTerminal but the result looks broken.
in IRISterminal:
.png)
in WebTerminal:
I think it relates to backspace.
Is there some special setting required?
The code:
a
s q=".......... guess [0..9]: "
f i=1:1 d b if p w ! w $c(9),"thank you",! q
q
b
w !,i,$c(9),q
f r v#1 q:(v?.1n) w " !no number",$c(8,8,8,8,8,8,8,8,8,8,8,8)
w " "
s r=$R(10),p=$s(v="":1,v=r:"!",v>r:"<",1:">")
s x=q,$e(x,r+1)="*",$e(x,v+1)=$s(v=r:"!",v>r:"<",1:">")
q:p w $c(13),$c(9),x s p=v=r q
hi
I want to create one class and add one method in it, and then invoke it from terminal. I find this
http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY…
But there is only examples for adding property.
Anyone can help me? Thanks
hi, everybody!
i wanna connect to a remote server through Terminal.
after i add a server in [Preferred Server] and click the server name( [Remote System Access]->[Terminal] -> server name)
i got an Error dialog telling me that:
Failed to establish security context.
Reason:(-2146893042, 0x8009030e)No credentials are available in the security package
so do i miss some configuration?
Grateful for your help!
Hi Community!
How can I know the port of management portal e.g. from terminal?
The one which looks like
localhost:port/
in browser?
Simple problem:
Is there any way to force terminal to the foreground after current command ends?
This is Windows with cterm/iristerm although Putty/Kitty solution would also be nice.
Hi, I just installed the TRYCACHE 2016.2.1 preview release into a 16.04 Ubuntu VM. The install is dirt simple. Very nice. I've installed Eclipse Neon and used your update site link to get Atelier. Also very simple and nice. Thank you!
I see there is a January update coming. Will it be possible to include a license that lets developers launch one terminal session while connected to the TRYCACHE instance via Eclipse?
When I try to do this, I'm exceeding the TRYCACHE license limit.
thanks!
I'm working with IRIS for Health. I need to abort all messages currently in the queue via the command line (IRIS terminal). is there any easy way?
How could I log out from Cache terminal (connected through csession) and back to the system shell?
Thanks.
Hello community!
After reading a lot near InterSystems's Jobs and Terminal I/O documentation sections multiple times, I still does not understand one concept.
Maybe this question will be kind of incorrect, but please take it as is: is it possible to change the current device to be terminal device?
Let me explain what I want to achieve.
I have a jobbed process, which current/principle device is //./nul:6932, and which is spawned by TCP device |TCP|1972|936 And for the jobbed process I want almost-everything to behave exactly the same way as it behaves for Caché TERM.
Is it possible to make the cache terminal available over a mirrored vip address for a healthshare mirrored environment? So that connecting to a terminal for a mirrored environment will always connect to the Live Node?
I'm looking to write a Powershell script to run against the system and need to connect to the Live Node in a mirrored setup. Is this possible or am I going to have to log onto each node to establish which is Live. Or does this even matter?
When deploying IRIS in a container, what are recommendations for permitting users terminal access? There is docker exec -it, but that does not work from a user's workstation where - in the old deployment model - they would connect to the server over ssh using Putty and open a terminal session from there.
Hello, how are you?
First of all thanks for your time reading this question.
We are investigating how to validate the indexes of a global. We have read:
https://docs.intersystems.com/irisforhealth20251/csp/docbook/DocBook.UI…
And:
https://docs.intersystems.com/irisforhealth20251/csp/documatic/%25CSP.D…
We want to validate the inxedes of the global titled "Ens.Util.LogD". We have executed on the ObjectScript terminal, on the desired namespace:
ESBSSCC>set tSC = $SYSTEM.OBJ.
What types of solutions are out there for terminal based applications to output reports to a PDF document? This is a roll-and-scroll application that has its own scripts for generating reports.
In times past, terminal emulations have supported the concept of slave printing which seems like it should still be a viable solution. I know that in previous lives I have been able to do slave printing with software such as ProComm+ by Symantec (not available anymore).
Hi Everybody,
I'm trying to restore database to a 2016.2.2.853 caché version but i've some problems ...
Into my backup file, i've 6 namespaces. After use the Do ^DBREST and configure all namespace into the portal, I can only reach 2 of 6.
when I write zn "blabla" into the terminal, i've got this error message :
ZN "blabla"
^
<DIRECTORY> *r:\data\blabla
Of course, Database and namespace are correctly define.
I've try this on a previous version of caché (2015.2.2.811) and it's working fine.
So, do you already got this kind of issue with your caché server ?
Tanks a lot for your help!
Sam