Questions tagged [vms]

VMS is any operating system of the VMS family: OpenVMS, VAX/VMS, and VAX-11/VMS which run on the VAX, Alpha, and Itanium-based families of computers. Note: This tag should not, as a rule, be used for Virtual Machines (VMs).

(Open Virtual Memory System), previously known as VAX-11/VMS (1975-1980), VAX/VMS (1980s), and OpenVMS (since 1992) is a computer operating system that runs on VAX, Alpha and Itanium-based families of computers.

VMS was developed specifically for 32-bit processing in 1974, based on RSX-11 for PDP-11 computers. VMS simultaneously supports realtime, interactive, and batch operations. Its API is uniquely distinct from other operating systems, though a high degree of compatibility is available when development targets the C language runtime libraries.

Since the 1990s, an -based GUI is available on workstations.

is the command shell and batch language of VMS.

Note: This tag should not, as a rule, be used for Virtual Machines (VMs).

Reference:

63 questions
2
votes
2 answers

Random record selection - VMS / RDB

I have been asked for a SQL statement to retrieve an arbitrary number of rows, randomly selected, from a data table in a database hosted on Oracle RDB on VMS. In MS SQL, it would simply be: SELECT TOP 5 * FROM MyTable ORDER BY NEWID() But I…
Wesley Long
  • 1,708
  • 10
  • 20
2
votes
4 answers

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?
Jason
  • 681
  • 1
  • 9
  • 19
2
votes
5 answers

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

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…
Luc M
  • 16,630
  • 26
  • 74
  • 89
2
votes
3 answers

How to access debug information in a running application

I was wondering if it is possible to access debug information in a running application that has been compiled with /DEBUG (Pascal and/or C), in order to retrieve information about structures used in the application.
Peter Hofman
  • 673
  • 4
  • 17
2
votes
3 answers

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?
hawkeye
  • 34,745
  • 30
  • 150
  • 304
1
vote
2 answers

Can VMS filenames combine logical names and subdirectories?

I wonder about an apparent limitation to the flexibility of using filenames and logical names (~ filename aliases in this context) on VMS. You can have names like [dir]name or [.subdir]name and you can combine them with a device like dskxy:[dir]name…
1
vote
2 answers

Code generator for CLI based on CLD file

Although programming using the CLI$ routines is not very hard, it would be nice if there were a code generator for the basic stuff based on the CLD file. Does anyone have something like that, or is there anyone interested in it?
Peter Hofman
  • 673
  • 4
  • 17
1
vote
4 answers

Read file fast (stream_lf format)

Looking for a way to speed up reading and processing a large text file (basically csv; stream_lf). Should I bypass RMS? Solution may be asynchronous or synchronous. Current implementation is synchronous, but is too slow. Implementation is in HP…
Peter Hofman
  • 673
  • 4
  • 17
1
vote
1 answer

Simulate VMS FTP on Windows

All, Just wondering if it was possible to simulate the VMS functionality of FTP in Windows? VMS supports/ed versioning of files that are uploaded to a server using FTP. For example, if you upload a file mytextfile.txt three times, you would end up…
Andez
  • 5,588
  • 20
  • 75
  • 116
1
vote
3 answers

How to convert char pointer into char in C Open VMS

This is to convert from char pointer into char. I followed the codes from another topic but it seems like it's not working to me. I am using Open VMS Ansi C compiler for this. I don't know what's the difference with another Platform. main(){ char *…
user692121
1
vote
3 answers

How to assign the output of a program to a variable in a DCL com script on VMS?

For example, I have a perl script p.pl that writes "5" to stdout. I'd like to assign that output to a variable like so: $ x = perl p.pl ! not working code $ ! now x would be 5
Jason
  • 681
  • 1
  • 9
  • 19
1
vote
0 answers

SFTP: How can I retrieve a specific version of multiple files with same name?

I'm programming a C# .NET console application to retrieve files from an SFTP server. The host posts a new file every day, with 7 days of files in the same directory. The problem is that they use the exact same file name every day (perhaps they're on…
Mark Petereit
  • 341
  • 2
  • 15
1
vote
1 answer

Automating Data Entry into VMS with E-Term32

I've been asked to figure out a way to do this, so please fill me in on whether this is even possible or if it shouldn't be done. The goal is to automate data entry into VMS (we use E-Term32 for connecting to VMS). Things that have been discussed…
cbailey
  • 13
  • 4
1
vote
1 answer

HP Basic anomaly in Print Using

As I understand it, the following statement: print using "<0>#,##", 1234 outputs: 1,234 which makes sense; leading zeros (of which there are none) and five characters available for the five characters we want to output. Another statement which I…
user146043
1
vote
2 answers

DCL information between process and subprocess

I'm trying to pass information between main process and subprocess ( learning how this all works in the process) I need to get information from the subprocess, in this case the value of g_start. This is the way i seen online to handle this, if…
user1943219
  • 396
  • 2
  • 5
  • 19