发布新帖

查找

问题
· 九月 26, 2017

Task Manager failed executing RunLegacyTask

Recently, we scheduled two tasks (1008 and 1009) within Task Manager. Task ID 1008 is set to run after Purge Tasks (%SYS-ID:3), and Task 1009 is set to run at 7:00:00 each day.

In attempt to provide as much detail as possible, each of the tasks are as follows:

  • Task 1008 WHILE (($p($h,",",2) < $ZTH("10:00 PM")) && ($P($g(^Task.1008(+$h,$j)),"^",1) = +$h)) { J ^ROUTINE, ^ROUTINE2 D SUB^ROUTINE3 H 5 }
  • Task 1009 WHILE (($p($h,",",2) < $ZTH("10:00 PM")) && ($P($g(^Task.1009(+$h,$j)),"^",1) = +$h)) { d ^ROUTINE4, ^ROUTINE5 J SUB^ROUTINE6 }

The two tasks both reach an UNDEFINED error, which seems rather odd. The following are the email messages I receive from Caché with the subject line, "Scheduler process - failed".

Scheduler process Task 1008 - 1008 Scheduled for 2017-09-23 12:03, failed Executing Code %SYS.Task.RunLegacyTask at 2017-09-25 06:56 <UNDEFINED>zexecuteCode+4^%SYS.Task.RunLegacyTask.1 *Status

Scheduler process Task 1009 - 1009 Scheduled for 2017-09-24 07:00, failed Executing Code %SYS.Task.RunLegacyTask at 2017-09-25 06:55 <UNDEFINED>zexecuteCode+4^%SYS.Task.RunLegacyTask.1 *Status

How do I go about fixing the UNDEFINED error that is being encountered so that this does not occur every day? We end up having to manually start the tasks each day.

4 Comments
讨论 (4)2
登录或注册以继续
问题
· 九月 19, 2017

DC: Improvement Ideas (NOT OFFICIAL)

Hello all.

I think the forum experience is great as whole, but it could improve even more if we had somewhere to share our ideas. So that's why I'm creating a thread dedicated for that purpose. Maybe this way someone from InterSystems could catch something good?


Now let me begin.

 

  1. Reduce reply shrinking ratio. Shrinking too much can make the reading experience a pain on mobile devices as the discussion goes on. Even normal browser can suffer with this layout if a single post gets more than 5 replies.
  2. Allow a single reply to be selected as the answer. You'll notice that the first WYSIWYG you get is to REPLY the OP, and replies don't support answer checks.
  3. Set a sticky note that advices the user to choice an answer so that he won't forget.
  4. Allow the user to update it's Answer choice.
  5. This one is related to no 3, instead of showing the reply editor right from the beginning, hide it untill the user clicks on Add new comment. This way, the first editor the user will see is for answering.
  6. Drafts should be versionable if the user wants to, this is probably the hardest feature to implement, but long posts would really appreciate it. The amount of versions could be limited though.
  7. Tutorial tag? Seriously... there'are sufficient tutorial threads to deserve a tutorial tag. I wouldn't consider Online Learning the same as tutorial.


Anyone else for a follow-up?

Thank you for your patience.
 

11 Comments
讨论 (11)1
登录或注册以继续
文章
· 九月 12, 2017 阅读大约需 3 分钟

The wizards of stored computer program and the next generation of programmers


Introduction

Have you noticed that what ever the model and data structure in databases we cannot escape from the fundamental principle of managing data allocation space with references, i.e. pointer based logic, memory addressing ? Isn’t this the fundamental mechanism of programming languages too ? The problem I see with all these modern NoSQL databases, especially graph databases is that they provide a higher level abstraction for the end developer but they hide and lock completely the access to the low level storage and retrieval mechanism including indexes. Even in key-value stores you cannot see or understand the sorting of indexes, you cannot easily reference data values in permanent storage locations.

Transparent operations

Transparency in computer science is a huge issue. The wizards and pioneers of computer hardware and software, have created multiple abstraction layers. They have hidden a lot of detail but at the same time they prevented access to low level mechanisms. And here comes the next generation that is asked to program the machine without understanding what is going on underneath. And even if there is such a desire, from the developer’s point of view, the operating system environment, the language and the debugging tools, not to mention the market, do not help us towards this direction. There have been few exceptions and one of them has been MUMPS (Massachusetts General Hospital Utility Multi-Programming System). I found astonishing the fact that M was developed by Neil Pappalardo, Robert Greenes, and Curt Marble during 1966 and 1967. A reputable and established company in operational database market, Intersystems Cache, has taken over, expanded, and continued their effort on our days.

A programming language with a built-in database

Cache ObjectScript does make the difference from many aspects. Here I would like to emphasize its strong characteristic of a built-in database with sub-scripted arrays and multi-dimensional keys similar to the variables used by most programming languages to access main memory. Let me repeat this, you get a programming language with a built-in multi-model database. I think this is a fundamental aspect that software pioneers have been missing when they invented new programming languages or new sql databases. They are missing the innate common characteristic that both databases and programming languages share, which is the pointer, reference based logic. What do you think ?

Epilogue

So I believe it’s time to return back and fix this for new generation multi-model databases AND post-modern programming languages too. We have already made a good start and we believe M will make history again in database management and modeling with our Associative Semiotic Hypergraph Engine that will be built on top of Intersystems Cache powerful global data structure and accompanied with a popular and easy to program client API in Python for data analytics.

We build powerful meaningful relationships easily

© HEALIS - Athanassios I. Hatzis, April 2017
 

5 Comments
讨论 (5)2
登录或注册以继续
问题
· 九月 11, 2017

Live streaming of Global Summit?

Will any of this week's Global Summit be live-streamed for the benefit of those of us unable to attend?

if so, what's the link?

2 Comments
讨论 (2)2
登录或注册以继续
问题
· 九月 6, 2017

Can you call something that is non-interactive that will clean out any globals in ^CacheTempUser.* ?

These Globals are usually cleared out as part of the startup/shutdown processes. If your server never reboots how would you clean these out?

5 Comments
讨论 (5)0
登录或注册以继续