<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Is that KDP link something that is on the 2020, then? We only had
KL's, so anything like that would have gone through a DN20.<br>
<br>
I am not wholly surprised that <font size="4"><tt>VENTI::</tt></font>
needed a reboot; recall that we are clamping the value in <font
size="4"><tt>T1</tt></font> to <font size="4"><tt>65,535</tt></font>
Julian half-days, so anything that is playing with that or otherwise
paying attention is going to see a monotonically increasing value
that got pretty large wrap around to something close to the smallest
possible value (maybe even zero).<br>
<br>
For the seconds remainder in <font size="4"><tt>T2</tt></font>, if
this goes negative, then the same thing will happen (a clamp to 1
second), but since that is only monotonic by day, this shouldn't
matter.<br>
<br>
However, the code ignores <font size="4"><tt>T3</tt></font> (the
number of milliseconds), but if <font size="4"><tt>T2</tt></font>
goes negative, then so will <font size="4"><tt>T3</tt></font>.
This suggests that T3 needs to be clamped, as well. The following
code is a potential fix:<br>
<br>
<blockquote>
<pre><font size="4" face="Helvetica, Arial, sans-serif">At label NMXTIM + 9 lines, (Decimal) change</font></pre>
<pre><font size="4">
IDIVI T3,JIFSEC ;CONVERT TO NUMBER OF MILLISECONDS.</font></pre>
<pre><font size="4"> SKIPL T2 ;MAKE SURE WE HAVE A POSITIVE NUMBER OF SECONDS</font></pre>
<pre><font size="4"> TDNE T1,[XWD -1,600000] ;MAKE SURE NO DATE OVERFLOW</font></pre>
<pre><font size="4" face="Helvetica, Arial, sans-serif"> To:</font></pre>
<pre><font size="4"> IDIVI T3,JIFSEC ;CONVERT TO NUMBER OF MILLISECONDS.</font></pre>
<pre><font size="4"> MOVMS T3 ;Ensure milliseconds are always positive</font></pre>
<pre><font size="4"> MOVMS T2 ;Ensure seconds are always positive</font></pre>
<pre><font size="4"> TDZA T1,[XWD -1,600000] ;Ensure no Julian half day overflow</font></pre>
</blockquote>
The assumption here is still that the result in <font size="4"><tt>T1</tt></font>,
<font size="4"><tt>T2</tt></font> and <font size="4"><tt>T3</tt></font>
is only being used for logging which may not be correct.<br>
<blockquote type="cite"
cite="mid:001801d7d5d7$1efde680$5cf9b380$@com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";}pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}tt
{mso-style-priority:99;
font-family:"Courier New";}span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<hr width="100%" size="2"><tt><span
style="font-size:10.0pt;color:#1F497D">On 11/9/21 9:03 PM,
Robert Armstrong wrote:</span></tt><br>
<tt><span style="font-size:10.0pt;color:#1F497D"><br>
></span></tt><tt><span style="font-size:10.0pt">VENTI::</span></tt>
is offline, so I hope our patch didn't take it out of
commission...<br>
<span style="color:#1F497D"><o:p></o:p></span>
<p><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
Well that’s interesting. The system is still running, but
the KDP link has dropped for some unexplained reason. There
are no STOPCODEs nor any other error message on the console;
just a steady stream of hourly status reports going back a
couple of days.<o:p></o:p></span></p>
<p><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
I rebooted it and the KDP link came up immediately, and
DECnet appears to be working again. <o:p></o:p></span></p>
<p><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> Don’t
know. There may be some other glitch that occurs when the
time rolls over.<o:p></o:p></span></p>
<p><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Bob<o:p></o:p></span></p>
</div>
</blockquote>
</body>
</html>