go to post Robert Cemper · Apr 13 For testing I'd suggest to try an IRIS Community version Latest IRIS 2024.1 runs fine on Win11the testing effort for that archaic code would be the same either for IRIS or latest Cachéthe gap to bridge is about 2 decades in any case
go to post Robert Cemper · Apr 11 you describe 2 different record layouts that reside within the same storage #1 - just a name#2 - a name + a "transferred" property depending on the situation you use either layout #1 or layout #2 for INSERTreading might be OK for layout #2 in both cases. Caché once had a somewhat similar sample with Personand Employee extending Person. available here: https://docs.intersystems.com/iris20241/csp/docbook/Doc.View.cls?KEY=ASAMPLESthis Repo:https://github.com/intersystems/Samples-Data/tree/master/cls/Sample
go to post Robert Cemper · Mar 22 eventually better to check for longer lists USER>s x=$lfs("Purple,Black,Yellow,Pink") USER>s y=$lfs("Red,Green,Orange,Yellow") USER>f z="y","x" f i=1:1:$ll(@z) i $i(dif($li(@z,i))) USER>zw dif dif("Black")=1 dif("Green")=1 dif("Orange")=1 dif("Pink")=1 dif("Purple")=1 dif("Red")=1 dif("Yellow")=2 looping with $o() over dif() allows programmatic check
go to post Robert Cemper · Mar 16 CLOSING / SOLVED I bought a new box with an N100 processor I got a Win11 Pro included for free Installed a new Docker Desktop version (48.0) And all the necessary infrastructure around 5 hrs later the fresh IRIS 2014.1 runs inside and outside Docker ¡ with some 100$ invested at the right time you can solve a lot of problems !
go to post Robert Cemper · Feb 27 Once upon a time ... there was an operating system named VMS running on computers named VAX and ALPHA The syntax to access a file was drive:[directory] it's the same structure used by RSX-11/M, RSX-11/D, RSX-11/S on PDP-11 processors So on drive DUA1 you refer to director TEST3
go to post Robert Cemper · Feb 15 same using USE 0:(:"/ECHO=0"") and USE 0:(:"/ECHO=1"") orUse 0:(":"S") and Use 0:(:"N") for "silent" and "normal"more docs
go to post Robert Cemper · Feb 12 my private hack for this situation: ClassMethod MyMethodPost() As %Status { $$$LOGINFO("JobId: "_$JOB) kill ^%kurro set ^%kurro(0)=$JOB for {hang 20 break quit:$get(^%kurro) } #; just hang around until ^%kurro =1 ..... Quit $$$OK }
go to post Robert Cemper · Feb 5 You can map PACKAGE [aka. SQL Schema] to another Namespasce (not a single table)e.g. Bna.Utils to namespace %ALL or just to a specific namespaceso you have Table and Class (= the code) available. If you want to share also DATA you need to map also the related Global
go to post Robert Cemper · Jan 19 ChatGPT is just stupid and has no idea of IRIS / CachéA TABLE will by default never have the same name as the GLOBAL that stores the content>>>> HS.IHEX.RecordHistory and the global ^HS.IHEX.RecordHistory <<<<<HS.IHEX.RecordHistory is definitely not a handcrafted table.
go to post Robert Cemper · Jan 19 Hi @Daniel Aguilar for every DB you have a default collation that is tied to DB:you can see it in SMP System > Configuration > Local Databases > Database Properties this is the standard.If the collation of your source server is Spanish, German, Fench, , .... the DB may have used this national collation as default.On your target serve you need to have this collation to be installed.in SMP System > Configuration > Locale Definitions you see what is installed on your Caché instance You may need to add the missing collation table to your Caché instance:
go to post Robert Cemper · Jan 15 iristerm does NOT support ssh you need to run ( + install ?) a SSH service in your Linux SUSE 15 VM next, you connect from Win10 over any SSH terminal client (e.g. Putty, ...) to your SuSe VM console command line there you can run iris session ........... (the Linux equivalent of iristerm) Just as described in your question
go to post Robert Cemper · Jan 3 there is a basic misunderstanding: inside the <CSP:WHILE...> block you are in HTML contextbut you issue instead JavaScript >>>> which just prints it out.To illustrate this see this simple example:But changing to JS_context solved my simple demo with alert(); <csp:WHILE CONDITION="resultSet.Next()"> <!-- xValues.push(#(resultSet.Get("StatsDate"))#) yValues.push(#(resultSet.Get("Value"))#) --> <p>#(resultSet.Get("StatsDate"))#<br>#(resultSet.Get("Value"))#</p> <script LANGUAGE="JavaScript"> alert(#(resultSet.Get("StatsDate"))#+'>>>'+#(resultSet.Get("Value"))#); </script> </csp:WHILE>
go to post Robert Cemper · Nov 22, 2023 I just learned here that "NAMED PIPE" is significantly different in UNIX/Linux where it is just a kind of file structure and Windows where it offers the duplex feature I was looking for So my workaround (by accident) turns out to be better for my needs than the Linux FIFO featureas I'm able also to read partial lines and don't need newlines or similar as separators. it was kind of Lucky Punch
go to post Robert Cemper · Nov 6, 2023 the correct syntax ccontrol [ run OR console OR cterminal ] <instance name> Runs Caché in programmer mode with [ no-device OR console OR cterminal ] for $Principal
go to post Robert Cemper · Nov 2, 2023 try this dirty hack: create your JSON object using "_" Property "client._id" As %Integer [ Required ]; Property "client_firstName" As %String [ Required ]; Property "client_lastName" As %String [ Required ]; create your JSON_body = { "details":{ ....} } before sending use $TRanslate(JSON_body,"_",".")
go to post Robert Cemper · Oct 26, 2023 n i f i=1:1:20 w !,$$save(file,glob) s id=^TEST zw id it looks like magic and the issue is independent of Global namefor testing, I would suggest this extension to the loop.zw also shows any $Lb() in readable format6, 7, seem to break sometimes ??
go to post Robert Cemper · Oct 21, 2023 you are not quite correct: abstract class %CSP.Stream is a base class for class %CSP.CharacterStream extends %GlobalCharacterStream, %CSP.Stream class %CSP.BinaryStream extends %GlobalBinaryStream, %CSP.Stream you decide which one to useWhere is the problem ?