go to post Robert Cemper · Jan 20, 2021 As an add on:If you also want to get back the result of your command you may use CPIPE device.See my article and the related example in OEX and this fresh one for Python
go to post Robert Cemper · Jan 19, 2021 Ahh!Studio debugger is based on ZBREAK command.old style BREAK is only useful for interactive debugging in the terminal and ignored in backgroundI always tried not to mix it up. Not sure if this is the reason. I think it's suspicious.
go to post Robert Cemper · Jan 19, 2021 I've seen such behavior during debugging when I fell into some deployed system code (.obj only)A similar effect happened to me when I touched some customized command, function, variable from ZLANG***[which I tried to debug !!!] I could gain control again by some <SHIFT><F11> until returning to some code covered by .intAs Studio stores a lot of info in the Windows registry just killing Studion might cause some confusion.
go to post Robert Cemper · Jan 14, 2021 Could you pls. be a little more precise about what you expect:heavy & complex & simple is quite ambiguous.
go to post Robert Cemper · Jan 14, 2021 Caché has a nice example in namespace SAMPLES how to upload a stream of any length: /csp/samples/upload.csp.
go to post Robert Cemper · Jan 13, 2021 If it's just pure import / export the .TIF you may access it as %Stream.FileBinary But if you need some more sophisticated processing and have some working method (eg. in Python)you may use it in some near future with the promised embedded Python [@Bob Kuszewski ] Until then you may take a look to my example in OEX about using Python methods & classes over CPIPE
go to post Robert Cemper · Jan 13, 2021 Is there a way or tool available to take the source files and create an XML file which can be used for deployment to Ensemble? YES: $system.OBJ.Export(....)$system.OBJ.Load(...)docs & details This works on Caché/Ensemble not just IRIS
go to post Robert Cemper · Jan 13, 2021 your code is : Set classname = mobj.FindClassName(SchemaName_"."_TableName) Set mgr.TableName = SchemaName_"."_TableName Set mgr.ClassName = classname The class to Export: Class Persistent.PersonBackup Extends %Persistent BUT you call it: do setupExportImport^uTask12440("Export","PERSISTENT","PERSONBACKUP") There is no class PERSISTENT.PERSONBACKUPTry instead: do setupExportImport^uTask12440("Export","Persistent","PersonBackup") So the generator can find your class
go to post Robert Cemper · Jan 11, 2021 Oh, dear!I saw something similar ~'86 running on VAX/VMS (or was it RSX-11/M ?) with some specialised keyboard
go to post Robert Cemper · Jan 11, 2021 @Sergei.Shutov $e(112345678) prevents you to pass N>9 1 121 12321 1234321 123454321 12345654321 1234567654321 123456787654321 12345678987654321 123456781087654321 123456781187654321 123456781287654321 123456781187654321 123456781087654321 12345678987654321 123456787654321 1234567654321 12345654321 123454321 1234321 12321 121 1 @Julius Kavay similar issue, but limit is 16 My interpretation was N>9 is any number >9
go to post Robert Cemper · Jan 10, 2021 UTC: 2021-01-10 21:39:34 N<=9 : 73 chr f i=1:1:N w ! f j=1:1:i,i-1:-1:1 w !?N-j f l=1:1:j {w l} f r=l-1:-1:1 w r N>9 : 78 chr f i=1:1:N w ! f j=1:1:i,i-1:-1:1 w !?N-j f l=1:1:j {w l#10} f r=l-1:-1:1 w r#10 eg: N=14 1 1 121 1 1 121 12321 121 1 1 121 12321 1234321 12321 121 1 1 121 12321 1234321 123454321 1234321 12321 121 1 1 121 12321 1234321 123454321 12345654321 123454321 1234321 12321 121 1 1 121 12321 1234321 123454321 12345654321 1234567654321 12345654321 123454321 1234321 12321 121 1 1 121 12321 1234321 123454321 12345654321 1234567654321 123456787654321 1234567654321 12345654321 123454321 1234321 12321 121 1 1 121 12321 1234321 123454321 12345654321 1234567654321 123456787654321 12345678987654321 123456787654321 1234567654321 12345654321 123454321 1234321 12321 121 1 1 121 12321 1234321 123454321 12345654321 1234567654321 123456787654321 12345678987654321 1234567890987654321 12345678987654321 123456787654321 1234567654321 12345654321 123454321 1234321 12321 121 1 1 121 12321 1234321 123454321 12345654321 1234567654321 123456787654321 12345678987654321 1234567890987654321 123456789010987654321 1234567890987654321 12345678987654321 123456787654321 1234567654321 12345654321 123454321 1234321 12321 121 1 1 121 12321 1234321 123454321 12345654321 1234567654321 123456787654321 12345678987654321 1234567890987654321 123456789010987654321 12345678901210987654321 123456789010987654321 1234567890987654321 12345678987654321 123456787654321 1234567654321 12345654321 123454321 1234321 12321 121 1 1 121 12321 1234321 123454321 12345654321 1234567654321 123456787654321 12345678987654321 1234567890987654321 123456789010987654321 12345678901210987654321 1234567890123210987654321 12345678901210987654321 123456789010987654321 1234567890987654321 12345678987654321 123456787654321 1234567654321 12345654321 123454321 1234321 12321 121 1 1 121 12321 1234321 123454321 12345654321 1234567654321 123456787654321 12345678987654321 1234567890987654321 123456789010987654321 12345678901210987654321 1234567890123210987654321 123456789012343210987654321 1234567890123210987654321 12345678901210987654321 123456789010987654321 1234567890987654321 12345678987654321 123456787654321 1234567654321 12345654321 123454321 1234321 12321 121 1
go to post Robert Cemper · Jan 8, 2021 in your ClassMethod you operate on Server side. the equivalent to zenPage on Client side is %page on Server side.And methods on Server side all start with %.. and strings use double quotes.It is ISOS/COS not JS ! try: set ref=%page.%GetComponentById("clinic") https://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?&LIBRARY=%25SYS&CLASSNAME=%25ZEN.Component.abstractPage#%25GetComponentById
go to post Robert Cemper · Jan 5, 2021 Ahh! never seen before! seems to be in $$$IFDEFAULTHLTAGS in %IFinclude.inc: /// BDB666: default highlighting tags#define IFDEFAULTHLTAGS "<b>,<font color=""red"">"
go to post Robert Cemper · Jan 2, 2021 Ah! you look for isolated "ABC" and exclude it in context.So you might need a ClassMethod as SQL Procedure to get the exact & isolated occurrence instead of $LENGTH().Probably requiring some Regular Expression or plain looping on $FIND() and checking the borders
go to post Robert Cemper · Jan 2, 2021 try to extend your SQL statement like this SELECT SUM(count) (SELECT $LENGTH(TEXT,'ABC')-1 as count, Text FROM Post WHERE %ID %FIND search_index("TextIndex",'ABC') )