Main content
Programming
[20-Dec-2011]
New examples:
A few new programming examples have been added to the site. They are for the following services: sys$get_arith_exception, sys$gettim_prec, and sys$power_control. (24 words, 0 comments, 0 pings)
[16-Aug-2011]
IOSB status for GETxxI calls:
Did you know that the status value in the I/O status block for most of the get information calls is a longword? What this means in practice is that you should be testing and returning the full longword rather than just the word for calls such as $GETSYI(W), $GETJPI(W), $GETQUI(W), etc.
(346 words, 1 comments, 0 pings)
[19-Nov-2010]
C++ expert help required:
As you may know, I help port Artistic Style, a code formatter, to OpenVMS. During the last porting effort, I was completely baffled by a change in behaviour that was only apparent on the OpenVMS port. The port was straightforward as it always has been (except when the maintainer decided to allow the software to process multiple files in one command - that was a significant effort) but nearly any input file now results in the truncation of the output file. Complex input produces control characters in the output!
While I'm pretty good at C, I'm frustrated when it comes to file iterator classes built on sstream, etc. If anyone can offer me a hand debugging this problem I'd be most grateful. It would certainly be good news to get the latest version of Astyle ported. Access to my development environment can be arranged if necessary. (146 words, 1 comments, 0 pings)
[15-Jul-2010]
Universal symbol deletion:
Quite some time ago, I assisted the company I now work for to do a port of their in-house ERP system from Alpha to Itanium. As expected, some of the source code was missing when I got around to attempting to compile the entire system. Unfortunately, one of the bits that was missing was the source code to the large screen handling library that the application used. (533 words, 0 comments, 0 pings)
[29-Jun-2010]
MATH X01-04:
A new version of the MATH utility is available on the MATH download area. This corrects a bug with DCL symbol naming. (101 words, 0 comments, 0 pings)
[11-Dec-2009]
CMS API documentation:
The documentation for the CMS API is in drastic need of a review. And have I found a significant memory overrun in the API? You bet I have. (429 words, 2 comments, 0 pings)
[25-Nov-2009]
Logging verses debugging:
Ian Cartwright wrote an interesting piece calling for banning the debugger in the late stages of a development project. He says that "This usually leads to a big upswing in the amount of logging and it's logging we know helps to fix issues". Previously in the same article he implies that a single exception and its stack trace are not enough information to locate the problem. I don't agree with either of these positions. (368 words, 1 comments, 0 pings)
[20-Nov-2009]
MMS dependency files:
Recently, I've been asked to retrofit a build dependency system, a source versioning system, and redo the code promotion scripts for a rather large code repository. The obvious choice here is the CMS and MMS tools from the DECset product. I thought I'd start with the dependency stuff, as I can then use it to test the checkout and checkin, rebuilds, and promotion stuff. (242 words, 0 comments, 0 pings)
[26-Sep-2009]
Callable copy:
Here's how to copy a file using the Convert API in COBOL. (100 words, 0 comments, 0 pings)
[07-Sep-2009]
MATH X01-02 released:
A minor irritant bug in the MATH package was squashed today moments after it reared its ugly head. (80 words, 0 comments, 0 pings)
Older Entries
- [26-Aug-2009]
Passing COBOL strings to C (264 words, 0 comments, 0 pings)
- [24-Aug-2009]
Batch performance issues (125 words, 0 comments, 0 pings)
- [16-Aug-2009]
Nice try (0 words, 0 comments, 0 pings)
- [27-Jul-2009]
Capturing OPCOM messages with a program (85 words, 3 comments, 0 pings)
- [17-Jun-2009]
WatchDir X01-05 (145 words, 0 comments, 0 pings)
- [13-Jun-2009]
CMKRNL and /DEBUG (362 words, 3 comments, 0 pings)
- [01-Apr-2009]
MATH utility (583 words, 1 comments, 0 pings)
- [22-Mar-2009]
Test cases for examples (82 words, 1 comments, 0 pings)
- [23-Feb-2009]
Artistic Style 1.23 released (100 words, 0 comments, 0 pings)
- [11-Feb-2009]
App goes live (128 words, 0 comments, 0 pings)
- [13-Jan-2009]
C compiler optimization tricks (228 words, 0 comments, 0 pings)
- [06-Jan-2009]
COBOL cross platform difference? (216 words, 4 comments, 0 pings)
- [22-Dec-2008]
Déjà vu all over again (100 words, 0 comments, 0 pings)
- [02-Dec-2008]
AEST and performance, part 2 (103 words, 0 comments, 0 pings)
- [19-Nov-2008]
AEST and performance (386 words, 1 comments, 0 pings)
- [10-Oct-2008]
Warning: dodgy example (115 words, 0 comments, 0 pings)
- [09-Oct-2008]
Logical name quagmire (245 words, 2 comments, 0 pings)
- [16-Sep-2008]
Alignment fault in batch but not in interactive? (185 words, 0 comments, 0 pings)
- [02-Apr-2008]
Artistic Style 1.22 released (99 words, 0 comments, 0 pings)
- [24-Mar-2008]
It's (nearly) always your fault (40 words, 2 comments, 0 pings)
- [05-Dec-2007]
Common file qualifier routines (71 words, 0 comments, 0 pings)
- [16-Oct-2007]
Debugging tricks, part 2 (260 words, 0 comments, 0 pings)
- [15-Oct-2007]
Debugging tricks, part 1 (305 words, 0 comments, 0 pings)
- [16-Sep-2007]
PCRE for VMS (41 words, 2 comments, 0 pings)
- [25-Jun-2007]
Artistic Style 1.21 (74 words, 0 comments, 0 pings)
- [30-May-2007]
Compression/Expansion Routines (79 words, 0 comments, 0 pings)
- [25-May-2007]
Analyzing RMS indexed files (84 words, 2 comments, 0 pings)
- [08-Mar-2007]
gen.com (732 words, 0 comments, 0 pings)
- [24-Feb-2007]
Another version of Artistic Style released (69 words, 0 comments, 0 pings)
- [10-Feb-2007]
Fortran compiler (40 words, 0 comments, 0 pings)
- [08-Feb-2007]
Artistic Style 1.20.1 (110 words, 1 comments, 0 pings)
- [09-Jan-2007]
Where is errchk.h? (67 words, 0 comments, 0 pings)
- [31-Jul-2006]
Artistic Style 1.19 (102 words, 0 comments, 0 pings)
- [29-Jun-2006]
Python 2.5 for OpenVMS released (46 words, 0 comments, 0 pings)
- [11-Jun-2006]
Artistic Style 1.18 (38 words, 0 comments, 0 pings)
- [06-Jun-2006]
Looking for info on VT terminals? (48 words, 1 comments, 0 pings)
- [26-May-2006]
Artistic Style (85 words, 2 comments, 0 pings)
- [07-Apr-2005]
He's talking about gremlins, right? (68 words, 0 comments, 0 pings)
- [17-Feb-2005]
SIZE2 X01-04 released (153 words, 0 comments, 0 pings)
- [15-Nov-2004]
Watchdir X01-03 released (116 words, 0 comments, 0 pings)
- [21-Jul-2004]
Password policies (304 words, 1 comments, 0 pings)
- [05-May-2004]
Python on OpenVMS (132 words, 0 comments, 0 pings)
- [24-Mar-2004]
Programming FAQ (45 words, 0 comments, 0 pings)
- [22-Jan-2004]
Porting code (184 words, 1 comments, 0 pings)
- [30-Dec-2003]
Path switches (67 words, 0 comments, 0 pings)
- [26-Nov-2003]
Weekly wrapup (129 words, 0 comments, 0 pings)
- [25-Sep-2003]
Example code (101 words, 0 comments, 0 pings)
- [18-Sep-2003]
PITA (87 words, 1 comments, 0 pings)
- [31-Mar-2003]
WatchDir X01-02 (98 words, 0 comments, 0 pings)
- [23-Mar-2003]
Serialization lock (177 words, 0 comments, 0 pings)
- [13-Mar-2003]
Forced rapid releases (53 words, 0 comments, 0 pings)
- [10-Mar-2003]
DBM X01-05 (52 words, 0 comments, 0 pings)
- [18-Feb-2003]
DBM X01-04 (19 words, 0 comments, 0 pings)
- [08-Feb-2003]
DBM X01-03 (45 words, 0 comments, 0 pings)
- [02-Feb-2003]
DBM X01-02 (52 words, 0 comments, 0 pings)
- [02-Feb-2003]
Benchmarking disk subsystems (134 words, 0 comments, 0 pings)
- [21-Nov-2002]
OpenVMS condition values (332 words, 0 comments, 0 pings)
- [03-Nov-2002]
Return Status (293 words, 0 comments, 0 pings)
- [13-Jun-2002]
ACLSEARCH X01-02 released (41 words, 0 comments, 0 pings)
- [11-Jun-2002]
SAN Futures (198 words, 0 comments, 0 pings)