go to post Robert Cemper · Mar 15, 2021 There is no explicit type Byte . In IRIS it's just an %Integer <256.The equivalent to a byte[] array is a String of data type %Binary To access the Byte values of the "array" use $A(your_binstring, position) Attention: position starts with 1
go to post Robert Cemper · Mar 14, 2021 Thanks for the inspiration for this articleUsing ClassQueries() as Tables
go to post Robert Cemper · Mar 12, 2021 It is not meant to replace one of the queries:do #1 or #2 or do both by UNION
go to post Robert Cemper · Mar 12, 2021 maybe a misunderstanding:I call both Class Queries as Tables and join them with UNIONwithout modifying the existing class queries
go to post Robert Cemper · Mar 12, 2021 Using Class_Queries like a table the SQL Statement may look similar to this example: select 'Q1' as Qry ,ID,name,SSN from sample.SP_sample_by_name() where name %startswith 'A' UNIONselect 'Q2','--',SSN,name from sample.employee_byname() where name %startswith 'K' with this result:
go to post Robert Cemper · Mar 11, 2021 DisplayToLogical converts external input to internal format.if you have an object everything is internal already.what would you expect to convert? DisplayToLogical is just not involved in that process.You may eventually look for LogicalToStorage - [a rare case]
go to post Robert Cemper · Mar 10, 2021 You are correct. I can confirm it.I was part of the process when DeepSee V1 was prepared.
go to post Robert Cemper · Mar 10, 2021 I'm full with you.And if you aren't under time pressure you get a close look at things that have become obsolete over time but never were removed.
go to post Robert Cemper · Mar 8, 2021 I'm not sure what the first 2 bytes are but $ZCVT(anystring,"O","UTF8") should do the conversionand this works for strings up to ~3,6 MB with Long-String enabled in your installation for $ZCVT: https://docs.intersystems.com/iris20201/csp/docbook/DocBook.UI.Page.cls?KEY=RCOS_fzconvert
go to post Robert Cemper · Mar 8, 2021 in OEX there is a series of various Websocket Clients I produced:The internal is just available in IRIS.Half Externals (eg. CSP based, using JavaScript ) might fit also for Caché 2015 as for IRIScheck WebSocketClient CSP based
go to post Robert Cemper · Mar 8, 2021 You mention: web application configuration information, task plans, sql gateway, etcNamespace %SYS was always excluded from MIRROR since most of the information iseither static (SYSLIB) or server-specific (eg. journal)
go to post Robert Cemper · Mar 8, 2021 @Alexey MaslovI had a similar experience with "InPlace".This may work if your applications are as simple as in SAMPLES:[ "nome est omen" SAMPLES => Simple]Just a few $ZU() or other %z* stuff may break you, or file references containing *CACHE*.Or some $ZF() functions with c-binding, ....Therefore I designed my "2 worlds" approach using ECP as a data bridge: Using ECP across IRIS and Caché
go to post Robert Cemper · Mar 6, 2021 Definitions might be wrapped into some $$$macro that calls the .INT directly.Similar to some compiled class . Deployed classes provide more comfort.
go to post Robert Cemper · Mar 5, 2021 hi @Сергей Марушко it is done. Using ECP across IRIS and Caché
go to post Robert Cemper · Mar 5, 2021 if the deployment is sensitive distribution happens a pure *.OBJ
go to post Robert Cemper · Mar 5, 2021 example 1 can't work.WHERE Cidade = 'Cidade 1' AND Cidade = 'Cidade 2'it is 1 value or the other but not both (AND) at the same time