This is a valid Atom 1.0 feed.
This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-us" xml:base="http://www.eight-cubed.com/">
<title type="text">e i g h t - c u b e d . c o m</title>
<subtitle type="text">A day in the life of an OpenVMS systems specialist. Articles and tutorials on Systems Management and Programming for OpenVMS.</subtitle>
<id>https://www.eight-cubed.com/blog/</id>
<link rel="alternate" type="application/xhtml+xml" href="https://www.eight-cubed.com/blog/" />
<link rel="self" type="application/atom+xml" href="https://www.eight-cubed.com/blog/index.atom"/>
<author>
<name>James F. Duff</name>
<uri>http://www.eight-cubed.com/</uri>
</author>
<generator uri="http://www.sixapart.com/movabletype/" version="3.34">Movable Type</generator>
<icon>http://www.eight-cubed.com/favicon.ico</icon>
<updated>2024-10-08T21:44:12Z</updated>
<entry>
<title type="text">GnuCash price updates</title>
<summary type="html" xml:lang="en">Changes to the way I update the price database in GnuCash every day.</summary>
<content type="html"><![CDATA[<p>I've used <a href="https://www.gnucash.org/">GnuCash</a> for a long time to track my finances. As I have a few shares and other investments, I previously used a cron job on my main Linux desktop machine to pull in pricing data about these each day. As the Australian Stock Exchange finishes trading at 4pm, and I'd usually be working on my computer until 5pm, this wasn't an issue. The machine would be powered on, and the cron job would execute in the background.</p>
<p>Things changed when I retired.</p>]]></content>
<category term="/linux" scheme="https://www.eight-cubed.com/blog/archives/" label="Linux" />
<id>https://www.eight-cubed.com/blog/archives/001298.html</id>
<link rel="alternate" href="https://www.eight-cubed.com/blog/archives/001298.html?from=atom" type="application/xhtml+xml" hreflang="en" />
<published>2024-10-08T20:05:36Z</published>
<updated>2024-10-08T21:44:12Z</updated>
</entry>
<entry>
<title type="text">DCX X01-02</title>
<summary type="html" xml:lang="en">In eons past (in 1988), I wrote a program in MACRO-32 to call the DCX$ procedures to compress and expand...</summary>
<content type="html"><![CDATA[<p>In eons past (in 1988), I wrote a program in MACRO-32 to call the DCX$ procedures to compress and expand files. In response to a blog post from Hoff in 2007, I posted the source code for it to this blog.</p>
<p>And in 2010, Volker Halle pointed out a bug in the code with the map length parameter of the DCX$ routines, and sent me a correction.</p>
<p>It only took me 13 years to update the zip file on website. Thanks Volker!</p>]]></content>
<category term="/site_news" scheme="https://www.eight-cubed.com/blog/archives/" label="Site News" />
<id>https://www.eight-cubed.com/blog/archives/001297.html</id>
<link rel="alternate" href="https://www.eight-cubed.com/blog/archives/001297.html?from=atom" type="application/xhtml+xml" hreflang="en" />
<published>2024-01-16T00:05:11Z</published>
<updated>2024-10-08T03:20:29Z</updated>
</entry>
<entry>
<title type="text">Some more changes to the examples</title>
<summary type="html" xml:lang="en">As I mentioned in the previous post, I used to own an AlphaServer 800 as my workhorse VMS machine at...</summary>
<content type="html"><![CDATA[<p>As I mentioned in the previous post, I used to own an AlphaServer 800 as my workhorse VMS machine at home, but after it had a fatal hardware issue after a staggeringly good run of over 20+ years of continuous use, I retired it and relied on access to machines at work to answer questions that I get about VMS via this web site.</p>
<p>One of the issues with retiring the Alpha and not replacing it was that I lost access to DTM - Digital Test Manager, which is a regression test tool that's part of the DECSet product, as we didn't use it at work.</p>]]></content>
<category term="/programming" scheme="https://www.eight-cubed.com/blog/archives/" label="Programming" />
<id>https://www.eight-cubed.com/blog/archives/001296.html</id>
<link rel="alternate" href="https://www.eight-cubed.com/blog/archives/001296.html?from=atom" type="application/xhtml+xml" hreflang="en" />
<published>2023-11-23T00:08:39Z</published>
<updated>2024-01-15T06:15:37Z</updated>
</entry>
<entry>
<title type="text">Examples updated</title>
<summary type="html" xml:lang="en">My venerable Alpha 800 was retired long ago, and I've been relying on resources at work to answer the regular...</summary>
<content type="html"><![CDATA[<p>My venerable Alpha 800 was retired long ago, and I've been relying on resources at work to answer the regular queries that I get about VMS and the code examples.</p>
<p>Now being retired however, it's well past due that I have a VMS machine at home again, and with the advent of the community license for x86_64, I've been able to get a virtual machine up and running OpenVMS 9.2-1 and updated the examples code.</p>]]></content>
<category term="/site_news" scheme="https://www.eight-cubed.com/blog/archives/" label="Site News" />
<id>https://www.eight-cubed.com/blog/archives/001295.html</id>
<link rel="alternate" href="https://www.eight-cubed.com/blog/archives/001295.html?from=atom" type="application/xhtml+xml" hreflang="en" />
<published>2023-08-09T00:54:36Z</published>
<updated>2024-01-15T06:15:37Z</updated>
</entry>
<entry>
<title type="text">And fixed</title>
<summary type="html" xml:lang="en">The examples are working again. This is what happens to you trying to maintain a hosted web site for multiple...</summary>
<content type="html"><![CDATA[<p>The examples are working again. This is what happens to you trying to maintain a hosted web site for multiple years... the hosting company will change out software from under you with no warning. Because my site is so old, this has happened a number of times over the years.</p>
<p>And when I uploaded the new version of the examples, it triggered off a script that contained a depreciated feature. At some stage I should see if I can export all this and import it into a modern CMS. Another project for another day.</p>]]></content>
<category term="/site_news" scheme="https://www.eight-cubed.com/blog/archives/" label="Site News" />
<id>https://www.eight-cubed.com/blog/archives/001294.html</id>
<link rel="alternate" href="https://www.eight-cubed.com/blog/archives/001294.html?from=atom" type="application/xhtml+xml" hreflang="en" />
<published>2023-08-08T23:28:23Z</published>
<updated>2023-11-22T06:35:40Z</updated>
</entry>
<entry>
<title type="text">Yes, I know the examples are broken...</title>
<summary type="html" xml:lang="en">I'm working on getting my dev->website pipeline going and I've broken something. I'll figure out what it is tomorrow. Apologies...</summary>
<content type="html"><![CDATA[<p>I'm working on getting my dev->website pipeline going and I've broken something. I'll figure out what it is tomorrow. Apologies for the inconvenience.</p>]]></content>
<category term="/site_news" scheme="https://www.eight-cubed.com/blog/archives/" label="Site News" />
<id>https://www.eight-cubed.com/blog/archives/001293.html</id>
<link rel="alternate" href="https://www.eight-cubed.com/blog/archives/001293.html?from=atom" type="application/xhtml+xml" hreflang="en" />
<published>2023-08-08T07:47:03Z</published>
<updated>2023-11-22T06:35:40Z</updated>
</entry>
<entry>
<title type="text">I'm officially retired</title>
<summary type="html" xml:lang="en">After what seems an eternity, the company I've worked for for nearly 15 years back here in Australia has finally...</summary>
<content type="html"><![CDATA[<p>After what seems an eternity, the company I've worked for for nearly 15 years back here in Australia has finally completed a phased migration of their business to a new system, making the VMS systems and my position redundant.</p>
<p>I've been expecting this to happen for a long time, but various delays with the new system pushed it back... and back... and back.</p>]]></content>
<category term="/personal" scheme="https://www.eight-cubed.com/blog/archives/" label="Personal" />
<id>https://www.eight-cubed.com/blog/archives/001292.html</id>
<link rel="alternate" href="https://www.eight-cubed.com/blog/archives/001292.html?from=atom" type="application/xhtml+xml" hreflang="en" />
<published>2023-07-25T07:11:29Z</published>
<updated>2023-08-07T13:40:47Z</updated>
</entry>
<entry>
<title type="text">My goodness, long time between posts</title>
<summary type="html" xml:lang="en"><![CDATA[<p>It's been over two years since I've posted anything here! The life of a VMS manager when the system they're managing is in maintenance mode and is being decommissioned is rather mundane, however I haven't forgotten VMS, and have updated the links to VSI's new documentation set in my examples.</p>]]></summary>
<content type="html"><![CDATA[<p>It's been over two years since I've posted anything here! The life of a VMS manager when the system they're managing is in maintenance mode and is being decommissioned is rather mundane.</p>]]></content>
<category term="/openvms" scheme="https://www.eight-cubed.com/blog/archives/" label="OpenVMS" />
<id>https://www.eight-cubed.com/blog/archives/001291.html</id>
<link rel="alternate" href="https://www.eight-cubed.com/blog/archives/001291.html?from=atom" type="application/xhtml+xml" hreflang="en" />
<published>2021-11-06T01:54:50Z</published>
<updated>2022-10-08T03:18:44Z</updated>
</entry>
<entry>
<title type="text">Bit tests in COBOL</title>
<summary type="html" xml:lang="en"><![CDATA[<p>It's been a long while since I've had anything interesting to post here. Mostly, my day to day occupation for the last couple of years has been maintaining the infrastructure, operating system, and ensuring business as usual continues for the company's primary application.</p>
<p>However, I got an interesting query from an old friend today, asking if there is a way to do bitwise tests in COBOL. This was an interesting challenge that made me think outside the box!</p>]]></summary>
<content type="html"><![CDATA[<p>It's been a long while since I've had anything interesting to post here. Mostly, my day to day occupation for the last couple of years has been maintaining the infrastructure, operating system, and ensuring business as usual continues for the company's primary application.</p>
<p>However, I got an interesting query from an old friend today, asking if there is a way to do bitwise tests in COBOL. This was an interesting challenge that made me think outside the box!</p>]]></content>
<category term="/programming" scheme="https://www.eight-cubed.com/blog/archives/" label="Programming" />
<id>https://www.eight-cubed.com/blog/archives/001290.html</id>
<link rel="alternate" href="https://www.eight-cubed.com/blog/archives/001290.html?from=atom" type="application/xhtml+xml" hreflang="en" />
<published>2018-06-29T01:43:58Z</published>
<updated>2020-04-28T11:08:46Z</updated>
</entry>
<entry>
<title type="text">Are we getting closer to the bug?</title>
<summary type="html" xml:lang="en"><![CDATA[In my previous post which was terrifyingly over six months ago, I again touched on the issue that I described way back in June 2014 about <a href="http://www.eight-cubed.com/blog/archives/001285.html">directory renames sometimes producing catastrophically incorrect results</a>. I thought I'd bring you up-to-date with what's happening...]]></summary>
<content type="html"><![CDATA[<p>In my previous post which was terrifyingly over six months ago, I again touched on the issue that I described way back in June 2014 about <a href="http://www.eight-cubed.com/blog/archives/001285.html">directory renames sometimes producing catastrophically incorrect results</a>. I thought I'd bring you up-to-date with what's happening...</p>
<p>Shortly after I published the update in late June 2015, Engineering got in touch with me to note that RMS has a process wide directory path cache, which gets invalidated on every directory remove operations (delete or rename). Cache invalidation is based on a directory sequence number contained in the <abbr title="Unit Control Block">UCB</abbr> of the disk involved. They suggested running some <abbr title="System Dump Analyser">SDA</abbr> commands to see if, when the problem occurred, the field was not being updated.</p>]]></content>
<category term="/openvms" scheme="https://www.eight-cubed.com/blog/archives/" label="OpenVMS" />
<id>https://www.eight-cubed.com/blog/archives/001289.html</id>
<link rel="alternate" href="https://www.eight-cubed.com/blog/archives/001289.html?from=atom" type="application/xhtml+xml" hreflang="en" />
<published>2016-01-14T00:24:06Z</published>
<updated>2016-08-18T04:11:18Z</updated>
</entry>
<entry>
<title type="text">Still rename weirdness</title>
<summary type="html" xml:lang="en">Long time between posts. My job has got very quiet due to my company aiming to replace the in-house written...</summary>
<content type="html"><![CDATA[<p>Long time between posts. My job has got very quiet due to my company aiming to replace the in-house written system running on VMS with an off-the-shelf <abbr title="Enterprise Resource Planning">ERP</abbr> system. With the inherent stability of the system running on VMS, I haven't had much to write about.</p>
<p>However, I wrote <a href="http://www.eight-cubed.com/blog/archives/001285.html">an article</a> over a year ago concerning a rare issue where a series of directory renames gets "confused". This issue has hit us twice in the last three days.</p>
<p>Perhaps now that the old team reassembled for VSI is back together, someone will be able to solve this.</p>]]></content>
<category term="/openvms" scheme="https://www.eight-cubed.com/blog/archives/" label="OpenVMS" />
<id>https://www.eight-cubed.com/blog/archives/001288.html</id>
<link rel="alternate" href="https://www.eight-cubed.com/blog/archives/001288.html?from=atom" type="application/xhtml+xml" hreflang="en" />
<published>2015-06-26T18:10:45Z</published>
<updated>2015-08-06T01:50:27Z</updated>
</entry>
<entry>
<title type="text">HP World in Sydney</title>
<summary type="html" xml:lang="en">HP World Tour is coming to Sydney on the 28th of August. I'm registered and attending if you anyone wants to catch up face to face.</summary>
<content type="html"><![CDATA[<p>HP World Tour is coming to Sydney on the 28th of August. I'm registered and attending if you anyone wants to catch up face to face.</p>]]></content>
<category term="/hewlett_packard" scheme="https://www.eight-cubed.com/blog/archives/" label="Hewlett Packard" />
<id>https://www.eight-cubed.com/blog/archives/001287.html</id>
<link rel="alternate" href="https://www.eight-cubed.com/blog/archives/001287.html?from=atom" type="application/xhtml+xml" hreflang="en" />
<published>2014-07-23T07:08:02Z</published>
<updated>2014-08-05T09:37:39Z</updated>
</entry>
<entry>
<title type="text">System logical name changes</title>
<summary type="html" xml:lang="en">Here's a command procedure that run daily, will provide you with a nice email listing additions, deletions, and modifications to the system logical name table.</summary>
<content type="html"><![CDATA[<p>Here's a command procedure that run daily, will provide you with a nice email listing additions, deletions, and modifications to the system logical name table.</p>]]></content>
<category term="/openvms" scheme="https://www.eight-cubed.com/blog/archives/" label="OpenVMS" />
<id>https://www.eight-cubed.com/blog/archives/001286.html</id>
<link rel="alternate" href="https://www.eight-cubed.com/blog/archives/001286.html?from=atom" type="application/xhtml+xml" hreflang="en" />
<published>2014-06-16T06:21:00Z</published>
<updated>2014-07-22T13:09:35Z</updated>
</entry>
<entry>
<title type="text">Rename weirdness</title>
<summary type="html" xml:lang="en">Sometimes a directory rename doesn't?</summary>
<content type="html"><![CDATA[<p>Consider the following directory structure:</p>
<pre>
$ dir my_disk:[top.branch...]
Directory MY_DISK:[top]
branch.DIR;1
Total of 1 file.
Directory MY_DISK:[top.branch]
archive.DIR;1 report1.rep;1 report2.rep;1
Total of 3 files.
Directory MY_DISK:[top.branch.archive]
20140611.DIR;1 20140612.DIR;1
Total of 2 files.
Grand total of 3 directories, 6 files.
</pre>
<p>During the day, a large number of reports are created in MY_DISK:[TOP.BRANCH].</p>
<p>The goal of the following set of DCL commands is to move these files to a directory called MY_DISK:[TOP.BRANCH.ARCHIVE.20140613]:</p>
<pre>
$ set prot=o:rwed my_disk:[top.branch]archive.dir
$ rename my_disk:[top.branch]archive.dir my_disk:[top]branch_archive.dir
$ set prot=o:rwed my_disk:[top]branch.dir
$ rename my_disk:[top]branch.dir my_disk:[top.branch_archive]20140613.dir
$ create/dir my_disk:[top.branch]
$ rename my_disk:[top]branch_archive.dir my_disk:[top.branch]archive.dir
</pre>
<p>Now imagine there are 80+ BRANCH.DIR directories (with different names of course) and we have that sequence of commands execute in parallel jobs, one for each directory.</p>
<p>The vast majority of the time, this works fine. However, on the odd occasion, the CREATE/DIR command says that the directory already exists, even though the preceding RENAME has returned a success status.</p>
<p>After the CREATE/DIR, the next RENAME also succeeds, however, right afterwards, the BRANCH.DIR directory has mysteriously gone missing! The directory is only then recoverable by performing an ANALYZE/DISK/REPAIR.</p>
<p>This is on I64 8.4 with UPDATE-V0800, FIBRE_SCSI-V0500, RMS-V0400, and SYS_V0300.</p>
<p>The underlying ODS-5 disk is a two member shadow set that a SET VOLUME/CACHE=NODATA has been issued against (the disk is 99.9% write) mounted on all nodes of a five member cluster.</p>
<p>I've logged a call with HP against this.</p>
]]></content>
<category term="/openvms" scheme="https://www.eight-cubed.com/blog/archives/" label="OpenVMS" />
<id>https://www.eight-cubed.com/blog/archives/001285.html</id>
<link rel="alternate" href="https://www.eight-cubed.com/blog/archives/001285.html?from=atom" type="application/xhtml+xml" hreflang="en" />
<published>2014-06-13T06:15:46Z</published>
<updated>2014-07-22T13:09:35Z</updated>
</entry>
<entry>
<title type="text">NRPE on OpenVMS</title>
<summary type="html" xml:lang="en">Trials and tribulations of making NRPE work on OpenVMS.</summary>
<content type="html"><![CDATA[<p>I have a pretty extensive <a href="http://www.nagios.org/">Nagios</a> setup here, that monitors everything from network links, OpenVMS services, Windows server availability, and Linux.</p>
<p>Because I haven't installed <abbr title="Nagios Remote Plugin Executor">NRPE</abbr> on Windows as I don't manage those boxes, some people in the Windows Team have recently been looking at Microsoft's SCOM product. I thought I better demo NRPE, at least on OpenVMS.</p>
<p>I got the <a href="http://nrpevms.dbaalacarte.com/">OpenVMS NRPE kit</a>, but this code seems to be fairly old (no IA64 references). But as all the code was there, it appeared to build just fine on IA64.</p>
<p>Unfortunately, there are a couple of "gotchas" in the kit, both in the documentation, and in the implementation. First, let's fix a bug in the code that of course only rears its head when you set the DEBUG flag in NRPE.CFG to 1 (which you want to do when you are initially configuring the service).</p>
<p>The bug is in the CUSTOM.C module. Replace this source:</p>
<pre>
void syslog(int priority, char *message, ...){
char buffer[MAX_INPUT_BUFFER];
va_list arguments;
va_start(arguments, message);
sprintf(buffer, message, va_arg(arguments, char *));
printf("%d: %s\n", priority, buffer);
va_end(arguments);
}
</pre>
<p>With this:</p>
<pre>
void syslog(int priority, char *message, ...){
char buffer[MAX_INPUT_BUFFER];
va_list arguments;
va_start(arguments, message);
vsprintf(buffer, message, arguments);
printf("%d: %s\n", priority, buffer);
va_end(arguments);
}
</pre>
<p>This prevents an access violation if there are no optional arguments (the result of a va_arg on nonexistent arguments is undefined in the C specification).</p>
<p>The other unfortunate bit is a combination of the documentation, that advises you to create logical names containing a dollar sign (which is <a href="http://h71000.www7.hp.com/doc/73final/4518/4518pro_003.html#4518_naming_con">generally not recommended</a>); and omissions in the configuration file.</p>
<p>Because the documentation tells you to create a logical containing a dollar sign, you have to specify command definitions that will be examined for macro substitution with an escaped dollar sign ($$) as the dollar sign is the macro introducer in Nagios.</p>
<p>If you look in the NRPE.CFG file supplied in the kit, you will see this is commands such as</p>
<pre>
command[check_test]=@nrpe$$scripts:check_test.com
</pre>
<p>But just below this is</p>
<pre>
command[check_cpu]=@nrpe$scripts:check_system.com CPU
</pre>
<p>which only supplies a single dollar sign. Because of this, the macro processor assumes you've carelessly left a trailing dollar sign off and supplies you with one. The command finally executed is</p>
<pre>
@nrpe$scripts:check_system.com CPU$
</pre>
<p>which doesn't work.</p>
<p>To fix, simply add the extra dollar sign in the NRPE.CFG file (or better yet, ignore the documentation and don't use a dollar sign in your logical names at all).</p>]]></content>
<category term="/systems_management" scheme="https://www.eight-cubed.com/blog/archives/" label="Systems Management" />
<id>https://www.eight-cubed.com/blog/archives/001284.html</id>
<link rel="alternate" href="https://www.eight-cubed.com/blog/archives/001284.html?from=atom" type="application/xhtml+xml" hreflang="en" />
<published>2014-04-30T06:14:11Z</published>
<updated>2014-05-15T07:30:54Z</updated>
</entry>
</feed>
If you would like to create a banner that links to this page (i.e. this validation result), do the following:
Download the "valid Atom 1.0" banner.
Upload the image to your own server. (This step is important. Please do not link directly to the image on this server.)
Add this HTML to your page (change the image src
attribute if necessary):
If you would like to create a text link instead, here is the URL you can use:
http://www.feedvalidator.org/check.cgi?url=http%3A//www.eight-cubed.com/blog/index.atom