go to post Robert Cemper · Aug 10, 2019 you operate not on document object but on zenPage objectsee docs: Client Side Functions, Variables, and Objects at the beginning >>>zen(id)Find a Zen component by id value. Returns the object that matches the input id.The zen(id) JavaScript function is equivalent to the following client-side JavaScript method call on the page object:zenPage.getComponentById(id)You can use the zen(id) function wherever JavaScript syntax is appropriate;
go to post Robert Cemper · Aug 9, 2019 but that way USER>f a=0.8:.1:2.2 w a,?7,a\1+(a#1>0*1),?10,! .8 1 .9 1 1 1 1.1 2 1.2 2 1.3 2 1.4 2 1.5 2 1.6 2 1.7 2 1.8 2 1.9 2 2 2 2.1 3 2.2 3
go to post Robert Cemper · Aug 8, 2019 In namespace %SYS you have the utility ^JRNDUMP which displays the content of journal files in "readable" text format.You may need to adapt it to your requirements.Journal: c:\intersystems\cache\mgr\journal\20190808.004 Address Proc ID Op Directory Global & Value=============================================================================== 131088 6600 S c:\intersystems+ %SYS("SERVICE","ECPCluster") = 0 131152 6600 S c:\intersystems+ %SYS("LASTSESSIONGUID") = "5ª"_$c(9)_"+ 131224 6600 BT 131240 6600 ST c:\intersystems+ %SYS("SERVICE","ECPSessionVersion") = 2 131316 6600 CT 131644 10960 S c:\intersystems+ SYS("LastLicenseKey") = "LicenseCapaci+ 132620 2600 S c:\intersystems+ SYS("Security","UsersD","unknownuser") 132692 10960 K c:\intersystems+ SYS("CLMANAGER") 132740 10960 S c:\intersystems+ SYS("CLMANAGER") = 1 132792 10960 S c:\intersystems+ SYS("CLMANAGER",1) = $c(127,0,0,1,15)_+ 132848 10960 S c:\intersystems+ SYS("CLMANAGER",1,"started") = 1Depending on your activities in the DB this may take many many GB !I'd suggest examining the content first from Mgmt Portal to see if this is what you expect.
go to post Robert Cemper · Aug 8, 2019 did you verify if par2 is really "0912" (leading zero) and not just 912
go to post Robert Cemper · Aug 7, 2019 the class documentation has a special warning:The table for this class should be manipulated only through object access,the published API's or through the System Management Portal.It should not be updated through direct SQL access.As Security is a sensitive subject I think any other approach could cause serious damage or at least a risk.
go to post Robert Cemper · Aug 7, 2019 <ZSOAP> is just a summary not more meaning than "there was an error"for the details, I'd suggest to analyze variable %objlasterroreg. set detail=$system.Status.GetErrorText(%objlasterror)set fault.detail="<mymessage>"_detail_"</mymessage>"
go to post Robert Cemper · Aug 7, 2019 An upgrade from Caché to Ensemble is not foreseen. Install ENSEMBLE in parallel to Caché and include your Caché Databases to Ensemble as you need. Attention: Ensemble is always running in Unicode!
go to post Robert Cemper · Aug 7, 2019 You find it in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Intersystems\Cache\Servers\<YourServer>I found it by searching some Webserver Port with regedit.exe
go to post Robert Cemper · Aug 5, 2019 Suggested approach:Create a namespace %ALL which is visible to all other namespaces and map the common class/table into it.with global, package, routines whatever is related to it. See Mapping Data to All Namespaces link
go to post Robert Cemper · Jul 31, 2019 - - - " let's print only one number or word per line, " - - - That was my trigger. Thanks @Eduard Lebedyuk for the hint
go to post Robert Cemper · Jul 31, 2019 c'mon - it even works with text files: USER>s file="fizzbuzz.txt" USER>o file:"WNS":0 W $t 1 USER>u file f i=1:1:100 w:i#3=0 "Fizz" w:i#5=0 "Buzz" w:'$x i w ! USER>c file USER>$type fizzbuzz.txt 1 2 Fizz 4 Buzz Fizz 7 8 Fizz Buzz 11 Fizz 13 14 FizzBuzz
go to post Robert Cemper · Jul 31, 2019 it doesn't show numbers at end if you run it as single line command in a standard Caché terminal supporting $X,$Y.newline sets $x=0, $i($Y) USER>f i=1:1:100 w:i#3=0 "Fizz" w:i#5=0 "Buzz" w:'$x i w ! 1 2 Fizz 4 Buzz Fizz 7 8 Fizz Buzz 11 Fizz 13 14 FizzBuzz 16 17 Fizz 19 Buzz Fizz 22 23 Fizz Buzz 26 Fizz 28 29 FizzBuzz 31 32 Fizz 34 Buzz Fizz 37 38 Fizz Buzz 41 Fizz 43 44 FizzBuzz 46 47 Fizz 49 Buzz Fizz 52 53
go to post Robert Cemper · Jul 31, 2019 53 bytes raw f i=1:1:100 w:i#3=0 "Fizz" w:i#5=0 "Buzz" w:'$x i w !
go to post Robert Cemper · Jul 30, 2019 if you can't use the required version of $ZF(-100.....)you still may try CPIPE as described here Execute Server Commands from Caché / Ensemble / IRIS
go to post Robert Cemper · Jul 30, 2019 Your problem is that "pwd" is not a valid command in WINDOWS !!! use instead "echo ^%cd^%"ref: https://stackoverflow.com/questions/921741/windows-equivalent-to-unix-pwdthis works: USER>s a=$zf(-100,"/SHELL","echo %cd%") d:\database\www17\user
go to post Robert Cemper · Jul 21, 2019 I stated:name your config SMP<port> that is SMP57772 or just 57772then the config name reflects the SMP port
go to post Robert Cemper · Jul 20, 2019 on WIN the config name is burned into the registry Computer\HKEY_CURRENT_USER\Software\InterSystems\Cache\Configurations\......UNIX/Linux has some structure simulating Win_Registry. Support experts will know the details.