vms

Is there a reasonable way to implement a cd command on VMS?

I would like to be able to say things like cd [.fred] and have my default directory go there, and my prompt change to indicate the full path to my current location. ...

Is there a good freeware clone of the VMS editor EDT for unix or the pc?

I would like to have the same editor available on all of the platforms I frequent. Emacs and Vi are not desired solutions. ...

Why vim doesn't work correctly into a telnet session ?

Hello, I use vim (7.1) on OpenVMS V7.3-2. I connect to VMS trough a telnet session with SmartTerm, a terminal emulator. It works fine. But when I start a telnet session from a VMS session (connected via SmartTerm) to another VMS session, some keys doesn't work properly. |--------------| telnet |-------------| telnet |-----------...

Get dimensions of JPEG in C++

Hi, I need to get at the image dimensions of a JPEG in C++. I'm looking for either a fairly simple way to do it, or a smallish library that provides that functionality. I'm working in C++ on OpenVMS, so any external libraries may have to be adapted to compile on our systems - so please don't post me links to big, closed source libraries...

How can I script the body of a VMS mail?

I have a script that addresses and sends an email but I need a body in the message without creating a file and then inserting the file with the standard MAIL commandline. How can I do that? ...

Java on OpenVMS?

We run batch files on our OpenVMS Alpha and Integrity servers. Up until now they have been written in COBOL. As you can imagine there are many reasons why will not be able to maintain that process. At the same time we have a team of developers that use Eclipse and know Java very well. Is there away to use Eclipse with OpenVMS? ...

Error handling on sockets in SAS under OpenVMS

I'm using SAS 9.2 on OpenVMS to connect to an external data source over a socket specifed with a filename statement: filename extsrc SOCKET "extserver:port" recfm=v; data foo; infile extsrc; input; .... some statements to read stuff ...; run; This works (as it should) 99% of the time. However, once in a while the program that is supp...

VMS EDIT - How to select the complete content of the file?

I have been using VMS EDIT for a while. I would be editing/ replacing large number of lines in the text files and saving it as a different version. As for as I am aware, the only way to delete the characters in the text file is pressing delete key. This process is quite slow, as on one press, only one character is deleted. Hence I want...

What is Linux for $DECK and $EOD?

In VMS DCL one may embed data in a command file using $DECK and $EOD. What is Linux for this? ...

What is Linux for SET FILE/ERASE_ON_DELETE?

In VMS one may tell the file system to write junk over the existing contents of a file when it is deleted. Here is the DCL command to identify the file for this kind of treatment: $ SET FILE/ERASE_ON_DELETE SAMPLE.TXT This allows the policy to be set at one point in time then later users of the file do not have to handle that detail ...

Linux editor with VMS EDT like direction mode.

VMS editor EDT allows one to use the keypad to control most of ones editing commands. One of the rather nice features is that the direction of operation can be set to "up" or "down". This then effects commands like "move to next character" and "move to start of line". Another feature is that there are "character", "word" and "line" buffe...

fatal: function name previously defined

For the listing below, I get an error: fatal: function name `myprint' previously defined $3 > 0 { myprint ($3) } function myprint(num) { printf "%6.3g\n", num } ...

Moving from VMS to Unix

Dear Stackoverflow, Once upon a time, a team of guys sat down and wrote an application in C, running on VMS on a VAX. It was a rather important undertaking and runs a reasonably important back-end operation at LargeCo. This whole shebang works so well that twenty-five years later it's still chugging along and doing it's thing. Time pa...

Getting a driver for VMS to connect to SQL Server 2005

I want to connect from a COBOL/VMS system to an SQL Server 2005 instance. Could someone point me to a driver that works well? ...

How can I copy a file from VMS to Windows and back again?

I am trying to copy C source files from a vms alpha to a windows machine to allow easier editing of the code. (VMS editor is just a text editor and it would be nice to have syntax highlighting etc) I can copy this across using Exceed FTP and this handles the issue of duplicate filenames with version suffix that vms has: File.c;1 F...

Is there a Perl module that produces VMS like error messages?

VMS style command line user interface messages have standard format. For example: $ PRINT SOMEFILE.DAT %PRINT-E-OPENIN, error opening DKA2:[MYDIR]SOMEFILE.DAT; as input -RMS-E-FNF, file not found Component name: PRINT, RMS. Severity level: Success, Information, Warning, Error, and Fatal. Message identifier: OPENIN, FNF. Message text...

files opened by a process on VMS

I have a DCL script on VMS which calls a perl script. Is there a VMS/DCL command I can use that will tell me every file handle opened by the perl script? ...

EDT editor - a modern approach?

I used the EDT editor on VMS very long time ago. Is there modern implementation of this excellent text editor available? If so, are there source codes? Maybe it is circumvented by Emacs and Vim? Thank you ...