go to post Robert Cemper · Sep 21, 2018 I use * X for linuX aiX uniX solaris and similar real OS.on Win* you just have to click on start caché in the cube
go to post Robert Cemper · Sep 21, 2018 BTW you can see the Content of Journal also from System Mgmt Portal
go to post Robert Cemper · Sep 21, 2018 In namespace %SYS there is the utility JRNDUMP that you may take as templatefrom terminal run DO ^JRNDUMP and see the contentIt is 800 lines hardcore COS.I wouldn't recommend it as you might not get what you are looking for if you aren't a very experienced COS system developer.
go to post Robert Cemper · Sep 21, 2018 Sorry Kevin,I concentrated on CPIPE.my code was Written for a FOR p=1:1:254 loop to find unused IP addresses in a specific subnet.in your case, ping might be something like set ping= "ipconfig"
go to post Robert Cemper · Sep 21, 2018 if it's grey your local instance on Windows is not started.There is no cube on *X as far as I know
go to post Robert Cemper · Sep 21, 2018 if installed without security it is sys or SYS depending on version
go to post Robert Cemper · Sep 20, 2018 $system.SQL.DAYOFWEEK(dateexp) is probably easier to usedateexp An expression that is a logical %Library.Date value, %Library.TimeStamp, %Library.PosixTime, or an $Horolog value.The returned values represent these days: 1 - Sunday, 2 - Monday, 3 - Tuesday, 4 - Wednesday, 5 - Thursday, 6 - Friday, 7 - SaturdayThe Caché default is that Sunday is the first day of the week.
go to post Robert Cemper · Sep 20, 2018 Journal is definitely a valuable source.BUT: It documents Global changes. It doesn't know about objects nor rows in tables.
go to post Robert Cemper · Sep 20, 2018 KevinYou can also use a Command Pipe (docs) and read directly from your OS using IPconfig (on Windows) or ifconfig (in Linux/ Unix)You just do the usual OPEN + USE and READ whatever comes back.As an example a handcrafted ping routinezping ; k empty s pipe="|CPIPE|" close pipe s ping="ping 10.10.12."_p open pipe:(ping):10 w $t," ",p,! for { use pipe read line use 0 set empty=$s($l(line):0,1:$i(empty)) q:empty>3 write:empty<2 line,! }
go to post Robert Cemper · Sep 20, 2018 you see the local installation.You have to set your preferred instance to your mac installation.(have no mac and no idea how your virtual box talks outside)
go to post Robert Cemper · Sep 20, 2018 with ^OBJ.DSTIME you get the registered changes.It is up to you to process it and to generate whatever format or style you prefer when and how often you likeSo it's nothing ready and YOU have to write some code and manage it. DeepSee does nothing for you.
go to post Robert Cemper · Sep 20, 2018 According to your explanation - the feature you are looking for is available in CachéFor the use with DeepSee there was a class parameter introduced to allow synchronization of tables.DSTIME = 1 creates a log in ^OBJ.DSTIME to trace INSERT, UPDATE and DELETE of rows / objects.see the general description and details on ^OBJ.DSTIME
go to post Robert Cemper · Sep 19, 2018 In your class method XMLSchema inherited by %XML.Adaptorin combination with class %XML.Schema may be your friend.
go to post Robert Cemper · Sep 19, 2018 This is a design feature.Ensemble was designed to work on a worldwide base independent of time zones, daylight saving nonsense and other local time deviations with a consistent monotone growing sequence of time.So the use of UTC is spread everywhere across the code and there is just no single place to switch it on or off.So if you want to see logs and other info in local time your only chance is to rewrite the pages or to modify the original code in ENSLIB without any guaranty for eventual unexpected side effects.My personal opinion: It's not worth the effort.
go to post Robert Cemper · Sep 17, 2018 eXecute command is sensible to variable scopingin addition control of allowed operates is required.this small method gives you an easy to maintain code. ClassMethod Operate(var1 = "", op As %String = "",var2 = "") As %Boolean { goto $case(op ,"<":lt ,">":gt ,"=":eq ,"<>":ne ,:fail )fail quit 0lt quit var1 < var2gt quit var1 > var2eq quit var1 = var2ne quit (var1 '= var2)}.and you are free to use any naming of your operator you allow ( & , $ , @, GOOFY, DAISY, DUFFY, DONALD, .. )
go to post Robert Cemper · Sep 17, 2018 Assuming you create your Output by WRITE variablethe most simple solution would be to change it to WRITE """"_variable_""""if your variable can contain quotes that need to be escaped WRITE """"_$REPLACE(variable,"""","""""")_""""may fit your needs.More sophisticated you may hide the quoting in some macro definition.
go to post Robert Cemper · Aug 29, 2018 That's it, Alex is rightUSER>set list=$lb(7,8 ,9)USER>zzdump list 0000: 03 04 07 03 04 08 03 04 09 .........USER>set $li(list,2,2)=$lb()USER>zzdump list 0000: 03 04 07 01 03 04 09 .......USER>zw listlist=$lb(7,,9)
go to post Robert Cemper · Aug 29, 2018 I recently had a problem with a provider not allowing PASV anymore. without noticeJust a guess