go to post Robert Cemper · Nov 21, 2023 CPIPE ../WRITE works here https://github.com/rcemper/java-global-editor set cpipe="|CPIPE|1" ,cmd="cd /opt/irisapp/ && java gedi > g.log" open cpipe:(cmd:/WRITE) ;; later in loop use 0 read "?:",opt,! use cpipe write opt,! ;;; With NPIPE I just was lost , OPEN hangs or has timeout....no idea ; Could be the Ubuntu side in Docker was wrong.
go to post Robert Cemper · Nov 19, 2023 I did something similar a year ago in my WebCommand using CPIPE
go to post Robert Cemper · Nov 16, 2023 added clickable link https://www.intersystems.com/global-summit/
go to post Robert Cemper · Nov 11, 2023 You may take a look at my example. You can run ObjectScript as in a terminal and receive a reply.But it is invoked out of Python. external or embedded
go to post Robert Cemper · Nov 10, 2023 native-api template was broken since May I have fixed it for the contest with this Pull Request Build for Java is ok CLASSPATH is adjusted to the changed location in IRIS install Python is also available Node.js has some version and resource issues. It is out-commented now .NET is also somehow sick and breaks build. Also out-commented The rest builds and starts ok.
go to post Robert Cemper · Nov 10, 2023 Good point ! None of my machines fit. Ivy Bridge is not on your list.Would this mean IRIS 2023.* is the last version I can use without major investments in hardware?
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 30, 2023 the code fails already for start year 1924 <NULL VALUE>and is in principle wrong 🙁
go to post Robert Cemper · Oct 30, 2023 From my IBM-360-Assembly programming times in the late 60ties If your code is running hard,apply a switch to make it smart
go to post Robert Cemper · Oct 30, 2023 instead of strange constructs that are hard to follow,I would just take the pragmatical way and add a param SUPER=0 Class SubClass Extends MyClass { ClassMethod Foo(SUPER = 0 ) { if SUPER do ##super() quit . . . . . do ##super() // <---- } } The efficiency is evident also to less sophisticated programmers
go to post Robert Cemper · Oct 29, 2023 You may place a PRODLOG at WRC;And it might be changed in some future release.
go to post Robert Cemper · Oct 28, 2023 Are you sure the 2nd parameter of the stored procedure is of type %String(MAXLEN="") without length limit?
go to post Robert Cemper · Oct 28, 2023 ERROR: - OK which error ?? pls. be specific with all detailshint for SQL Escapingbut test in SQL Shell shows no problem USER>do $system-.SQL.Shell() SQL Command Line Shell ---------------------------------------------------- The command prefix is currently set to: <<nothing>>. Enter q to quit, ? for help. USER>>select 'HbA1cTests.sort(''testDate'',false)[0].resultValue' 1. select 'HbA1cTests.sort(''testDate'',false)[0].resultValue' HostVar_1 HbA1cTests.sort('testDate',false)[0].resultValue 1 Rows(s) Affected statement prepare time(s)/globals/lines/disk: 0.0002s/5/166/0ms execute time(s)/globals/lines/disk: 0.0002s/0/385/0ms cached query class: %sqlcq.USER.cls117 --------------------------------------------------------------------------- USER>>