go to post Robert Cemper · Oct 13, 2019 As I see from code ^OPNLib.Game.CWLF is just a Global variable to maintain the actual state of the display structured by Worlds and Display lines.And it rebuilds the image in cyles. It has nothing to do with the class definition but is an independent structure.So you just see it in various methods.
go to post Robert Cemper · Oct 9, 2019 Honestly, I never saw an <INVALID OERF> related to a lack of memory. It typically happens if you do set obj=##class(MyClass).%OpenId(id,,.status) and do not check for success. https://cedocs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?PAGE=CLASS&LIBRARY=%25SYS&CLASSNAME=%25Library.Persistent#METHOD_%OpenId so if you miss if '$isobject(obj) { .... error processing using status....} or similar then the next access to obj.MyProperty will throw <INVALID OERF> Only checking the status will tell you if you really ran out of memory
go to post Robert Cemper · Oct 8, 2019 keyword RENAME TO is not supported by ALTER TABLE see docs. https://cedocs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=RSQL_altertable
go to post Robert Cemper · Oct 7, 2019 There are more chances to get a timeout, but this is the most probable reason.
go to post Robert Cemper · Oct 7, 2019 The management portal has various screens with update features. (e.g Job status) Íf IRIS service stops the update fails with a timeout. This is your alert.
go to post Robert Cemper · Oct 7, 2019 with &SQL(SELECT MAX(ID) FROM Cinema.Film) you eliminate the need of ORDER BY ... and save time
go to post Robert Cemper · Sep 23, 2019 Ok. Sorry, don't have it available anymore.WRC should have it.
go to post Robert Cemper · Sep 23, 2019 ERROR <Ens>ErrException: <METHOD DOES NOT EXIST>zCopyFrom+28^%Stream.TmpCharacter.1 *Rewind Pls. add Version. (I couldn't identify any REWIND in CopyFrom)
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