go to post Robert Cemper · Apr 9, 2023 from docs:If you are using a UNIX® or Linux system, you can provide a list of alias definitions which the Terminal will set automatically at the start of every session. Define these aliases (one per line) in a file named .iris_init in the home directory.never tried this. I rarely work on *X
go to post Robert Cemper · Apr 9, 2023 Do ##class(Security.Users).UnExpireUserPasswords("*") or set Prop("Password")=NewPassword set tSC=##class(Security.Users).Modify(Username,.Prop) Classref1 Classref2
go to post Robert Cemper · Apr 8, 2023 USER>:? :<number> Recall command # <number> :? Display help :py Do $system.Python.Shell() :mdx Do $system.DeepSee.Shell() :sql Do $system.SQL.Shell() :tsql Do $system.SQL.TSQLShell() :alias Create/display aliases :clear Clear history buffer :history Display command history :unalias Remove aliases HTH
go to post Robert Cemper · Apr 8, 2023 Thanks a lot!So team working in the actual contest has to be organized differently
go to post Robert Cemper · Apr 7, 2023 I'm invited as ADMIN and I acceptedbut the Deployment remains on PENDING with no access. I seem to miss something essential. ????????????????????????????????????????
go to post Robert Cemper · Apr 7, 2023 I just saw this. if accepted tenantnow it's clear what is expected processand now my deployments are visible, FIXED.
go to post Robert Cemper · Apr 7, 2023 I invited him but then ???I send you an invitation so you see.
go to post Robert Cemper · Apr 6, 2023 ??? looks like Move to End only works once after Open not sure after Rewind
go to post Robert Cemper · Apr 6, 2023 instead of %File, I'd suggest to use %Stream.FileCharacterit has a method MoveToEnd() that's what might solve your append issuemore
go to post Robert Cemper · Apr 1, 2023 if Sifra is the IDKEY of Material what is the differencebetween Material (which is the ID already) and Material->Sifra ???
go to post Robert Cemper · Apr 1, 2023 While %FromJSON() accepts a String or a character Stream as Inputyou have in IRIS also %FromJSONFile() that allows direct input from fileand shortcuts the creation of a Stream.But for both cases take care of encoding (I'm burned)NOTE: RFC 7159 specifies that the default encoding for JSON values uses UTF-8
go to post Robert Cemper · Mar 30, 2023 SQL type TEXT maps correctly to %Stream.GlobalCharacter,- anyhow this gets not granted on the way from ADO to IRIS- it would be useful to check if the behavior is the same with a normal ODBC tool.I tested recently the opposite direction from IRIS to WinSQL and that was OK.Since transmitting streams always requires some chopping and assemblingat both ends not to break the buffers, it is important if the error persists outside ADO.
go to post Robert Cemper · Mar 30, 2023 just a minor part:Is it possible while sending an insert/Update to database via the ado driver for iris, that this SQL is executed without creating a cached query?NO:In IRIS and also the latest of Caché / Ensemble every query is cached. real non-cached queries date back by ~ 10 years. It wasn't just that visible. As you describe it, it seems the LONGVARCHAR or LONGVARBINARYare not honored correctly when coming from ADO. pls. Check the related class definition.And be aware that once created as VARCHAR it can't be changed dynamically to LONGVARCHAR on the fly. This type is a static definition.
go to post Robert Cemper · Mar 28, 2023 I see you disliked my previous reply and retitled your article.so again: Could be, I misunderstand the purpose of the example.Before LOAD DATA was available with IRIS this was the still valid approach I opened my CSV in EXCEL Connected by the EXCEL DSN over SQL Gateway using ODBC and did the import. %XML.Adaptor does the rest. If required at all. And was done before my breakfast coffee became even lukewarm.And not a single line of code was required! Sorry, where is the advantage? And personally, I prefer to work with well trained qualified engineersinstead of a guess & try a program somewhere whether for Py or COS or anything else.