Downloads

Here you can download some of my code for the OpenVMS operating system as zip files. All the utilities are freeware and come with full source code, although a standard license and disclaimer applies.

I would be very interested in hearing feedback about any of this code. Bug reports are always welcome at http://bugs.eight-cubed.com/.

Note that most of these programs either are internals code or require privileges on the system, so please, please, please understand what you are doing before running them with full privileges on a production box. If you don't understand the code, I recommend you do one of two things:

You have been warned.

ACLSearch

ACLSearch is a little program I wrote to search a disk for files that meet specific requirements by either having or not having a set of access control entries in their access control list. The syntax is similar to the VMS search command. Download ACLSEARCH.ZIP

Size2

Size2 is a program that will total the size of all files in a directory tree by reading the directory files and INDEXF.SYS. Additionally, the program reports the number of blocks in expired files. The "2" is on the end of the name as this was my second time writing this code. The first time has been lost to the bit bucket.

By itself, this program is not particularly useful. However, it's a nice example of how to read the file system directly. Download SIZE2.ZIP

WatchDir

A very small utility to take out the file serialization lock for a directory. When a file is written to the directory, the utility will notice the file system requesting the serialization lock and exit. This is useful for DCL command procedures that would otherwise poll the directory for new files. Download WATCHDIR.ZIP

Encrypt

This is a very old program that I originally submitted to the DECUS library over 13 years ago. The code itself is even older, dating to about 1982. It's nearly embarrassing to publish it now, but then again, why not? Just recently on the Usenet newsgroup comp.os.vms, someone asked for a utility like this, and before I could point out a link to the DECUS library, someone else had. You never know where your source will end up. Download ENCRYPT.ZIP

DBM

This program uses multiple kernel threads doing Fast I/O to a non-file structured disk to get a basic measurement of that disk's performance. Download DBM.ZIP

RRV

This zip file contains source code for a function that analyzes the metadata of an RMS indexed file to count the number of record revectors (created by bucket splits). With knowledge of the application, these figures can be useful to determine the frequency that converts should be performed on the file. Download RRV.ZIP

DCX

This MACRO-32 code uses the DCX$ routines to compress and expand files. Download DCX.ZIP

ALMF

This C and macro code uses the LIB$TABLE_PARSE() routine to analyze the output from the LICENSE LIST/FULL command with the object of finding license violations. Download ALMF.ZIP

MATH

A Bison based infix calculator supporting all the one argument double precision C math functions. The calculator allows you to output local or global DCL symbols, and reads string representations of floating point numbers from DCL symbols on the right hand side. Download MATH.ZIP

Blackjack

And a little bit of fun, a program that plays the card game of blackjack, written in MACRO-32. Download BLACKJACK.ZIP


Artistic Style

I assist in the porting and testing of Artistic Style, a source code indenter, formatter, and beautifier for the C, C++, C# and Java programming languages. As of version 1.21, Artistic Style is officially supported on OpenVMS. You can download the kit at the product's Sourceforge page.

The kits that were previously located on eight-cubed.com have been removed.