Dmitry Maslennikov · Nov 18, 2016 go to post

cconsole.log, it is a server's main log, where logged start/stop and some crash errors. You have an error when communication was terminated from the server side, in this case, I may expect that process which worked on it was crashed unexpected, and it should be logged there.

Dmitry Maslennikov · Nov 18, 2016 go to post

Needs some more details.

You tagged post both ODBC and JDBC, but it is different. For ODBC as I know you can set logging in DSN settings. For JDBC, you can set it with JDBC connection URL

Then, how long this query usually takes. I see that you query just 10 rows, but anyway.

Also, you should look, at all levels logging cconsole.log and Application error logs, for any errors, at the same time.

Unfortunately, I don't know about the difference between HSBUS and HSREG, and can't say something useful about it.

Dmitry Maslennikov · Nov 16, 2016 go to post

System Administration -> Configuration -> System Configuration -> Local Databases

select database, uncheck mark, and Save

Dmitry Maslennikov · Nov 15, 2016 go to post

You should look at this page in the documentation.

so, you should do this, in your %SYS namespace

Set ^SYS("Security", "CSP", "AllowClass", 0, "%MW.Web") = 1
Dmitry Maslennikov · Nov 14, 2016 go to post

The title says, removal tool for System Methods. While such methods appeared only in JSON classes, like %DynamicObject which you mentioned. But this tool scans all code in all classes, for using these methods, and change it.

Dmitry Maslennikov · Nov 10, 2016 go to post

Caché does not have any such limitations, please provide more information (update you post), how you use to load files to Caché, and how you check size for saved file after that.

Dmitry Maslennikov · Nov 10, 2016 go to post

Well, you have a version 2012.1, and this version was a last one where we have a limit for memory per process something about 48MB, while by default just only 16Mb. But beginning from 2012.2, by default we have about 260Mb and this value can be increased, but I would not recommend doing so.

Really, do you want to retrieve data from another database and show it with CSP ?

Well, it still possible, but needs more details. You can do it by creating some connection via JDBC or ODBC or in any other ways to this particular database, and call queries to get needed data. But it means you should know, how to connect to this database. Can you say, which database you should connect to? And maybe you can describe reasons why you should do so?

What do you mean by without creating a link to a particular table? You can create CSP with any of your ways to get table name which it should return.

It doesn't matter what you have on server side you connect for. 

And it does not work, just because this server did not get what it is expected. And you should know exactly what it expect, you can update your post and add some examples from fiddler, so we can see what you want to achieve with Caché.

This issue is not with with emoji. As you can see in html source for your post, you will see an IMG tag. And post just was splitted in wrong place, automatically. I fixed it by manually inserting separator. 

Ok, it was known that on non-Windows systems, used more then one write daemon. But why 8, and is it configurable somehow ? And as I know mgstat, shows activity of writedaemon, I understand and know how it looks like on Windows, but how it will looks like on Linux ? I think we need more information, about multiple write daemons, how they works.

And also, I forgot to mention about method CreateDirectoryChain in %File class. And you should use it, if you want just create a folder.

But back to $zf, can you try this command ?

set cmd="mkdir e:\Sample\new" > output.log 2> output.log"
set res=$zf(-1, cmd)

and what will be in res variable, and in output.log file which you can find in database folder for your namespace.

I would recommend to use $zf instead of pipes, in this way you can get errorlevel. But in any way you can redirect error output to some file, to see what's going wrong. I suppose, that your E disk is a network disk, or you don't have e:\Sample path, where will be possible to create folder new

In Caché you can't do so, without any external tools. And anyway, most of beautifiers works only in some IDEs, you can just copy output and beautify in VisualStudio Code as example.

I think it depends what you want to achieve. This method just logout all users, or particular ones. But you should do something in your application. You should look at logout callback, to know where user is logged out. Or at every request, check if user logged in, if not, redirect to some authentication page. But I think, you should already have the same mehanizm. 

No, in this case it will be just a list of tags, not a tag cloud. The same idea should be for block Browse by member. But looks like after some latest update it was broken, and sort people in some strange way, or even not show some useful persons.

Yes, you right, but you should also remember, that your file can also be in another property, like `Content`. 

I think that you want to set some limit, for file which is available to upload to server. And in this case, this file will be uploaded at the server any way. And I would recommend to use FileAPI on client side, and you can check file size before loading it to the server.

Sorry, that I'm confused you. I'm edited a bit your post, and fixed image, which had a big white useless space, and link to old design instead of new.

I'm not sure where it is in a documentation.  But you can use mask search here, where * is any number of symbols and ?. So, you can try this string, Provider * Status, and it should find any files, where will be found line with this two words in the same order

By default in latest versions, when you create new namespace, it should be activated as Ensemble enabled. But you can do it manually at any time, with method EnableNamespace in class %Library.EnsembleMgr.

do ##class(%EnsembleMgr).EnableNamespace($namespace)
Dmitry Maslennikov · Oct 31, 2016 go to post

What do you mean ?

To get this task running every hour every day, you should use Daily, and set every 60 minutes or 1 hours, and set a limit for this task in days time, like working only in business hours. And you can also use Weekly and Monthly schedule, with working every hours. It means that you can set task to work only in working days at business hours every hour.

And OnDemand tasks, will run only by manual, and will be run only once after start.