You could also use a Command Pipe (docs) and read directly from your OS using "../bin ccontrol list" or similar
You just do the usual OPEN + USE and READ whatever comes back.
- Log in to post comments
You could also use a Command Pipe (docs) and read directly from your OS using "../bin ccontrol list" or similar
You just do the usual OPEN + USE and READ whatever comes back.
Check performance log and activity on your ESX or whatever your VM is running on.
It looks like a performance problem of the virtual disk.
this information is stored in ^|"%SYS"|SYS("Security","ApplicationsD")
you could extract it by MERGE ^mySAVE=^|"%SYS"|SYS("Security","ApplicationsD")
and then do any export of the global
Thanks!
One headache less in the discussion about the "right" way to write code.
+a tiny piece for "creative freedom".
![]()
Procedureblock =1
means ALL local variables except call parameters and %variables move to stack
and return when you return from your method (=procedure)
see Summary on Local Variable Scoping for more
this memory operation is not free but nothing to get a headache upon
Of course, if your utility classes are all ABSTRACT it is pure code. As any .MAC, just easier to read.
OREF is just a special data type (object pointer) and not better or worse than any other variable.
I 'd guess variable scoping and procedure block has much more (microscopic) influence on performance.
My personal preference is to have only code tightly related to stored date in "object"-classes.
Anything else outside that is not only related to this class.
Use PuTTY instead
As IClassID seems to be numeric, did you try to force a pure numeric comparison ?
eg. if +lClassID '= +rs.GetData(5) {
or if (lClassID - rs.GetData(5)) {
setting your terminal width to 132 will show the rest
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
BTW you can see the Content of Journal also from System Mgmt Portal
In namespace %SYS there is the utility JRNDUMP that you may take as template
from terminal run DO ^JRNDUMP and see the content
It 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.
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"
if it's grey your local instance on Windows is not started.
There is no cube on *X as far as I know
if installed without security it is sys or SYS depending on version
$system.SQL.DAYOFWEEK(dateexp) is probably easier to use
dateexp
An expression that is a logical %Library.Date value, %Library.TimeStamp, %Library.PosixTime, or an $Horolog value.
Journal is definitely a valuable source.
BUT: It documents Global changes. It doesn't know about objects nor rows in tables.
Kevin
You 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 routine
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)
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 like
So it's nothing ready and YOU have to write some code and manage it.
DeepSee does nothing for you.
right.
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
In your class method XMLSchema inherited by %XML.Adaptor
in combination with class %XML.Schema may be your friend.
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.
eXecute command is sensible to variable scoping
in addition control of allowed operates is required.
this small method gives you an easy to maintain code.
.
and you are free to use any naming of your operator you allow ( & , $ , @, GOOFY, DAISY, DUFFY, DONALD, .. )
Assuming you create your Output by WRITE variable
the 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.
![]()
![]()
![]()
That's it, Alex is right
I recently had a problem with a provider not allowing PASV anymore. without notice
Just a guess