Skip to main content

Found a new file in D3 that you need to keep an eye on: DM,ERRORS,END. This file gets an entry every time you END a phantom job from TCL. A friend of mine had a VME crash because there were over a million items in that file. If you END a lot of phantoms from TCL, you're probably headed in the same direction. Best solution is to turn off the logging to do that, you'll need to set up a config item in the DICT of the DM,ERRORS, file and fix a bug in one of our subroutines. The bug has been reported and will be fixed in a later release of D3.

First the subroutine: DM,BP, END.SUB:

You need to flip lines 63 and 64:

063 end
064 if logit = 0 then outNoLog = 1

should be:
 
063  if logit = 0 then outNoLog = 1
064 end

Then COMPILE DM,BP, END.SUB (O

Then create this item in the DICT DM,ERRORS, file:
   config.end
001
002
003 logging=off

This will turn off logging. You can now do a CLEAR-FILE DM,ERRORS,END and get on with your life.



------------------------------
Brian S. Cram
Principal Technical Support Engineer
Rocket Software
------------------------------

Found a new file in D3 that you need to keep an eye on: DM,ERRORS,END. This file gets an entry every time you END a phantom job from TCL. A friend of mine had a VME crash because there were over a million items in that file. If you END a lot of phantoms from TCL, you're probably headed in the same direction. Best solution is to turn off the logging to do that, you'll need to set up a config item in the DICT of the DM,ERRORS, file and fix a bug in one of our subroutines. The bug has been reported and will be fixed in a later release of D3.

First the subroutine: DM,BP, END.SUB:

You need to flip lines 63 and 64:

063 end
064 if logit = 0 then outNoLog = 1

should be:
 
063  if logit = 0 then outNoLog = 1
064 end

Then COMPILE DM,BP, END.SUB (O

Then create this item in the DICT DM,ERRORS, file:
   config.end
001
002
003 logging=off

This will turn off logging. You can now do a CLEAR-FILE DM,ERRORS,END and get on with your life.



------------------------------
Brian S. Cram
Principal Technical Support Engineer
Rocket Software
------------------------------

I do not find that file on our system. Here's what I did to try to locate
it & do a count on it:

:who
8 dm dmv
:count errors
[407] 4282 items counted out of 4282 items.
:sort only errors, end
[202] 'end' not on file.
[401] no items present.
:sort only errors,end
[13] The data level descriptor (file-name in dictionary) is missing.

What am I doing wrong?

MW

On Thu, Jun 20, 2024 at 12:13 PM Brian Cram via Rocket Forum <
Mail@forum.rocketsoftware.com> wrote:

> Found a new file in D3 that you need to keep an eye on: DM,ERRORS,END.
> This file gets an entry every time you END a phantom job from TCL. A
> friend... -posted to the "Rocket D3 | mvBase" forum
> Invite your colleagues to join the Rocket Forum and grow our expert
> network.
> ------------------------------
> [image: Rocket Software] <https: community.rocketsoftware.com="">
> D3 and mvBase
> <https: community.rocketsoftware.com/forums/forum-home/digestviewer?communitykey="7cdcd1ff-6009-4df2-8b8c-e5ea4293200b">
> Post New Message Online
> <http: community.rocketsoftware.com/participate/postmessage?groupid="55&ListKey=365735ee-5669-4857-ac99-8f7ea2cb2c9d">
> Invite your colleagues to join the Rocket Forum and grow our expert
> network. Share this link. <https: community.rocketsoftware.com/register="">
> Error Logging When You END a Phantom in D3
> <https: community.rocketsoftware.com/discussion/error-logging-when-you-end-a-phantom-in-d3#bm4a7f20f1-202f-4c90-b854-2e0809a41516="">
> Reply to Group Online
> <https: community.rocketsoftware.com/forums/all-discussions/postreply?messagekey="4a7f20f1-202f-4c90-b854-2e0809a41516&ListKey=365735ee-5669-4857-ac99-8f7ea2cb2c9d"> Reply
> to Group
> <rocket_d3andmvbase_4a7f20f1-202f-4c90-b854-2e0809a41516@connectedcommunity.org?subject=re:+error+logging+when+you+end+a+phantom+in+d3>
> [image: Brian Cram]
> <https: community.rocketsoftware.com/network/members/profile?userkey="12bb05f9-486d-4acf-93d3-6ac050875652">
> Jun 20, 2024 1:14 PM
> Brian Cram
> <https: community.rocketsoftware.com/network/members/profile?userkey="12bb05f9-486d-4acf-93d3-6ac050875652">
>
> Found a new file in D3 that you need to keep an eye on: DM,ERRORS,END.
> This file gets an entry every time you END a phantom job from TCL. A friend
> of mine had a VME crash because there were over a million items in that
> file. If you END a lot of phantoms from TCL, you're probably headed in the
> same direction. Best solution is to turn off the logging to do that, you'll
> need to set up a config item in the DICT of the DM,ERRORS, file and fix a
> bug in one of our subroutines. The bug has been reported and will be fixed
> in a later release of D3.
>
> First the subroutine: DM,BP, END.SUB:
>
> You need to flip lines 63 and 64:
>
> 063 end
> 064 if logit = 0 then outNoLog = 1
>
> should be:
>
> 063 if logit = 0 then outNoLog = 1
> 064 end
>
> Then COMPILE DM,BP, END.SUB (O
>
> Then create this item in the DICT DM,ERRORS, file:
> config.end
> 001
> 002
> 003 logging=off
>
> This will turn off logging. You can now do a CLEAR-FILE DM,ERRORS,END and
> get on with your life.
>
>
> ------------------------------
> Brian S. Cram
> Principal Technical Support Engineer
> Rocket Software
> ------------------------------
> *Reply to Group Online
> <https: community.rocketsoftware.com/forums/all-discussions/postreply?messagekey="4a7f20f1-202f-4c90-b854-2e0809a41516&ListKey=365735ee-5669-4857-ac99-8f7ea2cb2c9d">*
> *View Thread
> <https: community.rocketsoftware.com/discussion/error-logging-when-you-end-a-phantom-in-d3#bm4a7f20f1-202f-4c90-b854-2e0809a41516="">*
> *Forward
> <https: community.rocketsoftware.com/forums/all-discussions/forwardmessages?messagekey="4a7f20f1-202f-4c90-b854-2e0809a41516&ListKey=365735ee-5669-4857-ac99-8f7ea2cb2c9d">*
> *Flag as Inappropriate
> <https: community.rocketsoftware.com/discussion/error-logging-when-you-end-a-phantom-in-d3?markappropriate="4a7f20f1-202f-4c90-b854-2e0809a41516#bm4a7f20f1-202f-4c90-b854-2e0809a41516">*
> *Post New Message Online
> <http: community.rocketsoftware.com/participate/postmessage?groupid="55&ListKey=365735ee-5669-4857-ac99-8f7ea2cb2c9d">*
>
>
>
>
> You are subscribed to "D3 and mvBase" as mark.wright@eastexcrude.com. To
> change your subscriptions, go to My Subscriptions
> <https: community.rocketsoftware.com/preferences?section="Subscriptions">.
> To unsubscribe from this community discussion, go to Unsubscribe
> <https: community.rocketsoftware.com/higherlogic/egroups/unsubscribe.aspx?userkey="6f0c56e5-43df-490c-a7fc-85f0631a299e&sKey=KeyRemoved&GroupKey=365735ee-5669-4857-ac99-8f7ea2cb2c9d">
> .
>

Found a new file in D3 that you need to keep an eye on: DM,ERRORS,END. This file gets an entry every time you END a phantom job from TCL. A friend of mine had a VME crash because there were over a million items in that file. If you END a lot of phantoms from TCL, you're probably headed in the same direction. Best solution is to turn off the logging to do that, you'll need to set up a config item in the DICT of the DM,ERRORS, file and fix a bug in one of our subroutines. The bug has been reported and will be fixed in a later release of D3.

First the subroutine: DM,BP, END.SUB:

You need to flip lines 63 and 64:

063 end
064 if logit = 0 then outNoLog = 1

should be:
 
063  if logit = 0 then outNoLog = 1
064 end

Then COMPILE DM,BP, END.SUB (O

Then create this item in the DICT DM,ERRORS, file:
   config.end
001
002
003 logging=off

This will turn off logging. You can now do a CLEAR-FILE DM,ERRORS,END and get on with your life.



------------------------------
Brian S. Cram
Principal Technical Support Engineer
Rocket Software
------------------------------

I also dont have that file in my system

D3 10.2 Linux
and i wanted !! haha its a good way to track jobs that have being ended



------------------------------
Alberto Leal
System Analyst
Millano Distribuidora de Auto Pecas Ltda
Varzea Grande MT BR
------------------------------

I also dont have that file in my system

D3 10.2 Linux
and i wanted !! haha its a good way to track jobs that have being ended



------------------------------
Alberto Leal
System Analyst
Millano Distribuidora de Auto Pecas Ltda
Varzea Grande MT BR
------------------------------

Alberto and Mark, I saw your comments and have determined that the ERRORS,END stuff was introduced in 10.3, possibly for mvBase compatibility, but unsure.



------------------------------
Brian S. Cram
Principal Technical Support Engineer
Rocket Software
------------------------------

Alberto and Mark, I saw your comments and have determined that the ERRORS,END stuff was introduced in 10.3, possibly for mvBase compatibility, but unsure.



------------------------------
Brian S. Cram
Principal Technical Support Engineer
Rocket Software
------------------------------

i dont mind if a patch is release for that



------------------------------
Alberto Leal
System Analyst
Millano Distribuidora de Auto Pecas Ltda
Varzea Grande MT BR
------------------------------

Found a new file in D3 that you need to keep an eye on: DM,ERRORS,END. This file gets an entry every time you END a phantom job from TCL. A friend of mine had a VME crash because there were over a million items in that file. If you END a lot of phantoms from TCL, you're probably headed in the same direction. Best solution is to turn off the logging to do that, you'll need to set up a config item in the DICT of the DM,ERRORS, file and fix a bug in one of our subroutines. The bug has been reported and will be fixed in a later release of D3.

First the subroutine: DM,BP, END.SUB:

You need to flip lines 63 and 64:

063 end
064 if logit = 0 then outNoLog = 1

should be:
 
063  if logit = 0 then outNoLog = 1
064 end

Then COMPILE DM,BP, END.SUB (O

Then create this item in the DICT DM,ERRORS, file:
   config.end
001
002
003 logging=off

This will turn off logging. You can now do a CLEAR-FILE DM,ERRORS,END and get on with your life.



------------------------------
Brian S. Cram
Principal Technical Support Engineer
Rocket Software
------------------------------

Brian,

thank You for the finding.

In my search i found DM,ERRORS,END file in D3 Windows 10.3.4 and in D3 Windows 10.4.0; in D3 Windows 10.3.3 it is not present.

Thank You

Stefano



------------------------------
Stefano Maran
Senior programmer
GTN SpA
Tavagnacco IT
------------------------------

Brian,

thank You for the finding.

In my search i found DM,ERRORS,END file in D3 Windows 10.3.4 and in D3 Windows 10.4.0; in D3 Windows 10.3.3 it is not present.

Thank You

Stefano



------------------------------
Stefano Maran
Senior programmer
GTN SpA
Tavagnacco IT
------------------------------

On your 10.3.3 system, please launch a phantom, like Z SLEEP 600. Then LIST-JOBS, find that phantom, and END ### <userID> where ### is the phantom PIB and <userID> is your user. Then look and see if the DM,ERRORS,END file was created. Thanks.



------------------------------
Brian S. Cram
Principal Technical Support Engineer
Rocket Software
------------------------------

On your 10.3.3 system, please launch a phantom, like Z SLEEP 600. Then LIST-JOBS, find that phantom, and END ### <userID> where ### is the phantom PIB and <userID> is your user. Then look and see if the DM,ERRORS,END file was created. Thanks.



------------------------------
Brian S. Cram
Principal Technical Support Engineer
Rocket Software
------------------------------

Have since determined that this appears to have been introduced in 10.3.4, currently researching why.



------------------------------
Brian S. Cram
Principal Technical Support Engineer
Rocket Software
------------------------------