go to post Robert Cemper · Oct 27, 2024 .MAC and much more .INT are an almost 1:1 image of the runtime .OBJ code they get implicitely compiled by ZSAVE command while any .CLS gets first stored with a lot of internal parameters where XML is faster than UDL then it's translated to .INT(at least) including all extra params, and inherited pieces and other features for comfort and then compiled as any other .INT for the final .OBJ So comparing .CLS to .MAC/.INT is like comparing a goat to the final cheese you buy.
go to post Robert Cemper · Oct 22, 2024 So you have a local instance of Caché as well. Check with WRC if Cachè 13 is supported on Windows 11. local access needs no firewall in Win
go to post Robert Cemper · Oct 21, 2024 A few questions: my local IPv4 address in the ODBC connection in ODBC you have to specify the IP address of the Caché server there you create the connection FROM YOUR local server by default there's no connection outgoing from Caché No need for your local IP - eventually for some firewalls enabling remote access if you have username + PW from Caché you should have access only some firewalls on server or client may block you more important: what OS do you run on server and client ? and what type of connection do you try to establish ? Web, SuperServer, Terminal, ... ?
go to post Robert Cemper · Oct 21, 2024 To get the property position dynamically by program you may use this ClassMethod ClassMethod PropSeq(classname As %String = "", propname As %String = "") As %String [ SqlProc ] { if classname="" set classname=..%ClassName(1) set pos=0 &sql( SELECT SequenceNumber INTO :pos FROM %Dictionary.CompiledProperty WHERE transient=0 AND parent=:classname AND name=:propname ) if SQLCODE set pos="-1;"_SQLCODE quit pos }
go to post Robert Cemper · Oct 20, 2024 a somewhat 'dirty' approach select ID, Name_GivenName from Demo.DemoPatient where FOR SOME %ELEMENT(Demo.DemoPatient.Aliases) ($LISTFIND(%value,'Twain')>0) advantage - no need to know the structure of your serial classrisk - false positives for unexpected coincidences. eg. Washington, John, ...
go to post Robert Cemper · Oct 20, 2024 the example builds on the fact that the storage structure of the serial object is known Storage Default { <Data name="serItemState"> <Value name="1"> <Value>Subject</Value> </Value> <Value name="2"> <Value>Change</Value> </Value> <Value name="3"> <Value>Color</Value> </Value> </Data> <State>serItemState</State> <StreamLocation>^rcc.IC.serItemS</StreamLocation> in this case color is #3 in serial storage ==>> $list(%Value,3) So you need to know the position of FamilyName in HS.SDA3.Name (e.g.7 ?)then you can use $list(%value,7) = 'Twain' as condition 7 is just a guess as I don't have any HS* classes at hands
go to post Robert Cemper · Oct 20, 2024 This article is focused on indexing, though it shows the principle of the SQL queryEffective use of Collection Indexing and Querying Collections through SQL
go to post Robert Cemper · Oct 8, 2024 BIG THANKS!That soved the problem It's a shame that the owner of the package didn't react to the ISSUE on Github or OEX for 3 months
go to post Robert Cemper · Oct 2, 2024 run USER > zn "%SYS" %SYS > ZLOAD JOURNAL %SYS > Print in WebTerminal you just get NOTHINGin normal terminal and iterm you see the code
go to post Robert Cemper · Oct 2, 2024 @Mario Sanchez Macias You missed the point.The essential functionality is to have a total autonomous partition to work in.It was never named so, but it is the real Shell for ObjectScript and its predecessors for >50 years !
go to post Robert Cemper · Sep 26, 2024 simple case:write some lines of ObjectScript in TERMINAL with Functions, ....NO need to compile it, no INT, no MAC, no traces.Just DO it:---or load some INT., apply your changes, run it, forget it no save, no recompile, ...WebTerminal is based on Xecute and compiled codeSame in Studio.
go to post Robert Cemper · Sep 25, 2024 Overall a nice idea.the package still needs some polishing to convince suggestion1: fix issue to build clean dockersuggestion2: re-enable Start+Stop message so uses see it was movingsuggestion3: show which class you check , kind of work logsuggestion4: also step into sub-packages e.g. not just rcc but also rcc.unittests. codeinspector could be a good startsugesstion5: allow also MAC, INT, INC code to be checked
go to post Robert Cemper · Sep 23, 2024 it would be great if the issues in building Docker container would be fixed.so we can touch it and reduce frustration of evaluators firstActually it is broken, Issues pending since some days
go to post Robert Cemper · Sep 23, 2024 is there anywhere a working example using the template ? or a hint of how to apply it ?