go to post Robert Cemper · Jan 15, 2024 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, 2024 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 ?
go to post Robert Cemper · Oct 19, 2023 #1) Subscript > 511 chars is not allowed #2) your browser broke the CSPCHD token for some CSP page
go to post Robert Cemper · Oct 15, 2023 Thanks @Bob Kuszewski !Sniffing through System Globals and Journals I found ^oddPYTHON and more:I'm convinced it works as before
go to post Robert Cemper · Oct 15, 2023 Thanks @Bob Kuszewski !Sniffing through System Globals and Journals I found ^oddPYTHON and more:I'm convinced it works as before
go to post Robert Cemper · Oct 10, 2023 check Network Coding and Character Coding (Sorry example just in German)
go to post Robert Cemper · Oct 10, 2023 <ROLLFAIL> rollback of any transaction crashed by <FILEFUL> your DB or JOURNAL can't be expanded Check available disk space
go to post Robert Cemper · Oct 3, 2023 I suggest to have globals and routines in separate databases.Keep the routines always local and only use Global DB over ECP for shared access.The price is you have routines to maintain in 2 instances.
go to post Robert Cemper · Sep 28, 2023 So I assume an id of 1 will suffice. WRONG ^DocM.DocumentImageD(1,1) =indicates that the id is "1||1"therefore afterAVCWS>Set obj = ##CLASS(DocM.DocumentImage).%OpenId(1)write obj shows it is NOT and <OREF>and obj.ID fails as a consequence:But this is all visible in the class definition of DocM.DocumentImage.cls
go to post Robert Cemper · Sep 5, 2023 SMP > System Operation > Databases shows the size o your DB 8192 is the default you have to match te blocksize of your backup source /usr/lib/iris/mgr/ is IRISSYS or the HS equivalent a direct restore may destroy your running installation. restore it in a parallel DB and import only uncritical parts. in SMP > System Adnin > Config > Sys Config > Local DB you can set the Blocksize of the DB before creation: Blocksize might be hardwired in Community Distribution
go to post Robert Cemper · Aug 26, 2023 Hi @Lorenzo Scalese I guess you are looking for class(%Utility).FormatString() USER>set lb=$lb(1,"Lorenzo",2023,"RCC"_$c(13,10)) USER>write lb LorenzoçRCC USER>zzdump lb 0000: 03 04 01 09 01 4C 6F 72 65 6E 7A 6F 04 04 E7 07 .....Lorenzo..ç. 0010: 07 01 52 43 43 0D 0A ..RCC.. ;;;;; this is it USER>set viewlb=##class(%Utility).FormatString(lb) USER>write viewlb $lb(1,"Lorenzo",2023,"RCC"_$c(13,10)) USER>zwrite viewlb viewlb="$lb(1,""Lorenzo"",2023,""RCC""_$c(13,10))"
go to post Robert Cemper · Aug 23, 2023 Your transformation produces a YYYY-MM-DD HH:mm:SS stringin contradiction Property DOB As %Date; expects an Integer similar to +$h The error is reported during Validation before %Save() of your record either you change Property DOB As %String; or use '$zdateh(source.DOB,7,,,,,,,,"")' then ##class(%Date).IsValid(...) is happy
go to post Robert Cemper · Aug 16, 2023 add this line to your method OnPreHTTP() set %response.Headers("Content-Disposition")="attachment; filename=""your-file-name.some"""
go to post Robert Cemper · Aug 14, 2023 With JOB you start an independent process in background.You can pass any variable you may need.But you can't pass the connection to the CSP page with all its settings.the connection stays with the foreground job.