OpenVMS Undocumented Features

This is the most complete collection of undocumented features we can find for OpenVMS. Some of these have been around since the time when it was called VMS while others are more current and have been added to OpenVMS V8.n. These features:

  • Are NOT documented (if they were, they wouldn't belong here)
  • Are NOT supported by PARSEC Group or HP
  • Are NOT guaranteed to work
  • May NOT exist in all versions of OpenVMS; past, present and future
  • Are subject to change, removal, enhancement or being documented at the whim of OpenVMS engineering
  • May be fun to know the next time you play OpenVMS trivial pursuit
  • May help you get your job done easier and faster
  • May help you impress your boss with your knowledge of the obscure

Data compression with BACKUP

The BACKUP utility has the ability to compress data it places in a saveset. This is enabled using the /DATA_FORMAT=COMPRESS qualifier.

$ directory /size /total *.com

Directory $22$DKA300:[WILLIAMS]

Total of 82 files, 6983 blocks.
$ backup *.com my_com.bck /save
$ backup *.com my_com_compressed.bck /save /data_format=compress
%BACKUP-I-COMPRESS, data compressed by 83%
$ directory /size my_com*.bck

Directory $22$DKA300:[WILLIAMS]

MY_COM.BCK;1                                 7938   9-MAY-2007 14:13:38.07
MY_COM_COMPRESSED.BCK;1                      1410   9-MAY-2007 14:14:30.22

Total of 2 files, 9348 blocks.

Fixing file attributes on BACKUP savesets

The /REPAIR qualifier to the BACKUP command will fix the characteristics of a backup save set. In the example, a backup saveset was copied to another node using FTP in binary mode. This corrupted the file characteristics of the saveset. The /REPAIR qualifier was used to repair this.

$ backup/list x.bck/save_set
Listing of save set(s)

%BACKUP-E-POSERROR, error positioning $22$DKA300:[WILLIAMS]X.BCK;3
-RMS-F-IOP, operation invalid for file organization or device
%BACKUP-E-READERRS, excessive error rate reading $22$DKA300:[WILLIAMS]X.BCK;3
-BACKUP-E-BLOCKCRC, software block CRC error
%BACKUP-I-OPERASSIST, operator assistance has been requested

$ backup/list x.bck/save_set/repair
Listing of save set(s)

%BACKUP-I-REPAIRED, saveset attributes changed to RFM=FIX, MRS=32256
Save set:          X.BCK
Written by:        WILLIAMS
UIC:               [000007,000006]
Date:               9-JUL-2007 10:55:42.63
Command:           BACK LOGIN.COM X.BCK/SAVE
Operating system:  OpenVMS Alpha version V8.3
BACKUP version:    V8.3
CPU ID register:   80000000
Node name:         _CLASS2::
Written on:        _$22$DKA300:
Block size:        32256
Group size:        10
Buffer count:      1238

[WILLIAMS]LOGIN.COM;56                                      4  30-APR-2007 16:00

Total of 1 file, 4 blocks
End of save set

Format argument to F$DELTA_TIME

The F$DELTA_TIME lexical function accepts two absolute time values and returns as a delta time the difference between them. A third, undocumented, argument to the function determines the formating of the returned value. Specifying, or defaulting, the format to ASCTIM causes the delta time to returned in a standard delta time format of dddd Specifying the format of DCL causes the time to be returned in a format that is acceptible in DCL commands, with leading spaces removed.

$ write sys$output f$delta_time ("boot", "login")
   9 19:14:38.86
$ write sys$output f$delta_time ("boot", "login", "asctim")
   9 19:14:38.86
$ write sys$output f$delta_time ("boot", "login", "dcl")

First  Previous  Page 4 of 15  Next  Last

Please enjoy these features at your own risk. If you are aware of other features in OpenVMS which are currently undocumented, you may use our inquiry form to inform us. We may then add it to our list.

Cookie Manager

We use cookies to enhance the features of our web site. We don't set optional cookies unless you enable them. Using this tool sets a cookie on your device to remember your preferences. For more detailed information about the cookies we use, see our Cookies page.

Necessary Cookies

Necessary cookies enable core functionality such as security, network management, and accessibility. You may disable these by changing your browser settings, but this may affect how the website functions.

Preference Cookies

Preference cookies enable this site to remember information that changes the way the website behaves or looks.

Statistics Cookies

Statistic cookies help us to understand how visitors interact with the site by collecting and reporting information anonymously.

Marketing Cookies

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.