go to post Robert Cemper · Sep 23, 2019 If you don't have a similar drive you may need to update %installdir%\cache.cpf [Journal]AlternateDirectory=C:\InterSystems\Cache\mgr\journal\BackupsBeforePurge=2CurrentDirectory=C:\InterSystems\Cache\mgr\journal\DaysBeforePurge=2 if this isn't enough startup Caché in emergency mode as described : https://cedocs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GCAS_secmgmt#GCAS_secmgmt_emerg and run DO ^STURECOV from namespace %SYS it allows you to disable Journal Checking for the next startup.then restart Caché
go to post Robert Cemper · Sep 22, 2019 almost done do @aa But be aware that variables you pass to your method are either explicit as in your example or are variables in global scope. eg. %par1, %par2, ...
go to post Robert Cemper · Sep 16, 2019 WRC replied.The *ENSTEMP databases are just like normal databases (non-journalled). So they are not in-memory databases like IRISTEMP or CACHETEMP. Also note that transactions in *ENSTEMP will be journaled (like other non-journaled databases) but not like IRISTEMP. Special thanks to @Mario Sanchez Macias
go to post Robert Cemper · Sep 14, 2019 a solution with NO $TRANSLATE set str="aN d.ef123$eR=xx?,yWz" for i=1:1:$l(str) s:$e(str,i)'?1(1AN,1".",1" ",1",") $e(str,i)=" " aN d.ef123 eR xx ,yWz
go to post Robert Cemper · Sep 12, 2019 I fear there is no such utility by default. You may need to do it manually to see if it is a real problem or a side effect from parallel compiling.I just verify it by multiple runs on CompileAll to be sure. [ I'm just facing a list of ~100 including deployed classes ] If you have private %classes mapped ito %SYS then you have to compile them manually.compileAll doesn't include %SYS for good reasons.
go to post Robert Cemper · Sep 12, 2019 Grazie Luca,Ho trovato una soluzione usando ccontainermain -xprestart=.... -xstop=.... Sono soddisfatto adesso.Ciao da Vienna, Robert
go to post Robert Cemper · Sep 10, 2019 use instead.set ID=##Class(User.School).%OpenId(RollNo_"||"_Marks,,.sc)do $system.OBJ.DisplayError(sc)now you should see the reason why ID=""docs: https://cedocs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?PAGE=CLASS&LIBRARY=SAMPLES&CLASSNAME=%25Library.Persistent#%OpenId
go to post Robert Cemper · Sep 9, 2019 My actual solution. Just to complete this.I'm using ccontainermain as provided by @Dmitry Maslennikov /dur/ccontainermain -xprestart=/dur/dinit -xstop=/dur/dsave/all scripts are located in my durable volume I connect at container start.To make life easier all journals and WIJ and also all non-%SYS DBs are also located on durable volume.It is not foolproof but acceptable for test and development.
go to post Robert Cemper · Sep 6, 2019 Insert into LISDB.State (short,long)SELECT 'AL','Alabama'Union AllSELECT 'AK','Alaska'Union AllSELECT 'AZ','Arizona'Union AllSELECT 'AR','Arkansas'
go to post Robert Cemper · Sep 6, 2019 From docs.A host variable is a local variable that passes a literal value ....see: Host VariablesYou are using instead object property references.==> objSearch.StartIndex, .....Load your properties into local variables and it should work
go to post Robert Cemper · Sep 5, 2019 for details on variable scoping see Summary on Local Variable ScopingAs the SQL Code generator dates from times where ProcedureBlock was unknownany generated code for SQL access I've seen over decades just works with [ ProcedureBlock = 0 ]The 'automatic' you mention is the default if your class is set t to [ ProcedureBlock = 1 ] which is a default.By changing the variable name you found the best solution yourself.
go to post Robert Cemper · Sep 2, 2019 Thanks, Dmitry,I'm using it already based on your excellent guide Containerization Caché. { -xprestart looks fine. }
go to post Robert Cemper · Sep 2, 2019 I didn't expect an official feature. Of course. Rather a privat hack.As I don't look for a generic solution but a rater semi-static setupI probably just mimic the result by a handcrafted script.
go to post Robert Cemper · Aug 29, 2019 The TERMINAL is only available in the Windows installation. From the Cube menue. On other platforms you require csession command from your OS shell.see Connecting to a Caché Instance
go to post Robert Cemper · Aug 27, 2019 Alexey,you are perfectly correct. My intention was to demonstrate that the ancient approach of OPEN and USE command parameters dating from the previous millennium is still valid.$LB() is definitely the more general and flexible solution.
go to post Robert Cemper · Aug 26, 2019 Before you try a re-install ation of Caché emergency access could be your last chance.Follow the guide very strictly there is a high risk to cause unrecoverable damage.
go to post Robert Cemper · Aug 26, 2019 Herman I think you have it in COS since Strings became almost endless.Par #2) of my answer showed it:the traditional style you may know from Caché I/O Device Guide having also just 1 parameterdo ##class(my.pieces).method("/SERVER=127.0.0.1:/PORT=1972:/NAMESPACE=SAMPLES")and the method end: ClassMethod method(parameter as %String(MAXLEN="") { for par="SERVER","PORT","NAMESPACE" set @par=$P($P(parameter,par_"=",2),":") zw @par #; now do something ... } SERVER="127.0.0.1" PORT=1972 NAMESPACE="SAMPLES"
go to post Robert Cemper · Aug 24, 2019 Log In over Terminal as Privileged User and move to Namespace %SYS and fix your Security USER>ZN "%SYS" %SYS>DO ^SECURITY 1) User setup 2) Role setup 3) Service setup 4) Resource setup 5) Application setup 6) Auditing setup 7) Domain setup 8) SSL configuration setup 9) Mobile phone service provider setup 10) OpenAM Identity Services setup 11) Encryption key setup 12) System parameter setup 13) X509 User setup 14) Exit Option? 5 1) Create application 2) Edit application 3) List applications 4) Detailed list applications 5) Delete application 6) Export applications 7) Import applications 8) Exit Option? 2 Application to edit? ? Num Name Namespace 1) /api/atelier %SYS 2) /api/deepsee %SYS 3) /csp/samples SAMPLES 4) /csp/samples/docserver SAMPLES 5) /csp/user USER 6) /isc/studio/usertemplates %SYS 7) /TEST SAMPLES 8) /webShop USER 9) /csp/broker %SYS 10) /csp/docbook DOCBOOK 11) /csp/documatic DOCBOOK 12) /csp/sys %SYS 13) /csp/sys/bi %SYS 14) /csp/sys/exp %SYS 15) /csp/sys/mgr %SYS 16) /csp/sys/op %SYS 17) /csp/sys/sec %SYS 18) /isc/pki %SYS 19) /isc/studio/rules %SYS 20) /isc/studio/templates %SYS Application to edit? 12 /csp/sys Description? System Management Portal => Enabled? Yes => Yes CSP/ZEN Enabled? Yes => Yes DeepSee Enabled? No => No iKnow Enabled? No => No Inbound Web Services Enabled? Yes => Yes Require resource to use application? No => No Role to always add to application? New match role to add to application? Do you want to go back and re-edit any match roles or target roles? No => No Allow Not authenticated access? Yes => NO Allow Password authentication? No => YES Accept Login Tokens created by other CSP applications? No =>