Questions tagged [openvms]

For questions that are specific to the OpenVMS (AKA VAX/VMS) operating system. If your question has nothing to do with OpenVMS APIs or OpenVMS-specific behavior then do not use this tag. This tag is appropriate for any software running on OpenVMS.

163 questions
0
votes
1 answer

Need to give option Y or N in DCL scripting

My requirement is -- I need to give two options(yes or no) to users. So whenever user enters other than Y or N then system should throw an error. I created the below piece of code, but it is not giving the expected output. $ Y:== y $ N:== n $…
0
votes
4 answers

How to read a Executable(.EXE) file in OpenVMS

When am trying to open any .EXE file am getting information in encoded form. Any idea how to see the content of an .EXE file ????
0
votes
1 answer

Debugging Alpha BASIC for OpenVMS

I am trying to take over some projects involving DEC BASIC, A.K.A. VAX BASIC, A.K.A. Alpha BASIC. I am really hoping to run into someone with experience here. I have been through the user manual for VAX/Alpha BASIC through and though but I can't…
0
votes
0 answers

DCL, OpenVMS --> Error during running an Executable

I am trying to run an executable file using --> @NH1060.COM and the NH1060.com contains the below code: SET PROCESS/NAME = "Watch" RUN R2_EXE:NH1060.EXE But when am running the NH1060 Com, the com is neither giving any errors nor the executable is…
0
votes
2 answers

DCL Programming - Remote connections

First, I am a total newb, and shouldn't be allowed around a keyboard. That said, I am trying to write a DCL .COM file that will allow a user to connect to a remote device by selecting it from a list. All I want to do is allow them to pick a…
DCL Newb
  • 3
  • 2
0
votes
0 answers

Simh networking on openbsd?

I've setup OpenVMS 7.3 on simh under OpenBSD 5.8 (running as a vm under virtualbox). I have tcp working using a bridge on OpenBSD and I can access tcp services on simh from within the OpenBSD host vm. But I can't access simh from anywhere else on…
Matt Morrow
  • 71
  • 1
  • 9
0
votes
0 answers

PHP copy() from NFS results in trash at end of file

Situation: Ubuntu 16.04 PHP 7 NFS share from an OpenVMS host Trying to copy a file from the NFS share to a local directory. The PHP copy() function copies the file, but the resulting local file has a bunch of junk at the end of it. I suspect it's…
David Patterson
  • 1,780
  • 3
  • 17
  • 40
0
votes
0 answers

Preserve file permissions in sftp from VMS to Unix?

I am trying to copy a file from VMS machine to Unix machine using SFTP. I want to preserve the file permissions. Or atleast change them once I copy using sftp. As options like "chmod","umask" and "put -P" are not allowed, What is the solution for…
0
votes
2 answers

CXX-E-UNDECLARED, identifier "exec" is undefined

I am familiar with Oracle PL/SQL and C/C++ language, and I can write code that pulls data from a database and outputs result to console/command/output stream/etc. However, I am not familiar with openVMS development. But I was able to verify that the…
Ahmad
  • 12,336
  • 6
  • 48
  • 88
0
votes
1 answer

How to have Geany create backup files with OpenVMS Files-11 style file names with version numbers?

Will Geany create backup files using the OpenVMS Files-11 version naming? For example, x.txt.3 for the third version of x.txt
CW Holeman II
  • 4,661
  • 7
  • 41
  • 72
0
votes
2 answers

openvms f$search lexical impacting performance

i am using lexical f$search in many of my DCL scripts but never faced any problem until there were around 10k files in a directory for the DCL to search from...now in this case the f$search goes slow in searching from huge number of files and i…
0
votes
1 answer

The protocol field for curl is empty

I tried to build my own curllib.olb for openVMS with source 7.47.1 and using the build_vms.com script provided here: https://github.com/curl/curl/blob/master/packages/vms/build_vms.com The build goes fine. However, the protocol field seems to be…
xerocool
  • 113
  • 2
  • 10
0
votes
2 answers

Check to see if file is open in OpenVMS before FTP/Append

I have a jobm in SAG Natural, that creates workfiles. After they are created I want to append if there are multiple and then ftp them. The append/ftp would be run independently of the job that creates them. This poses the problem of trying to…
Joey
  • 3
  • 3
0
votes
3 answers

Running a program with parameters in DCL and saving the output

I'm trying to run a program and get the output value in DCL. In Linux platform script like below result=$(./tool -e $parameter1 $parameter2 ) echo "result:" $result I try to do the same script in HP openVMS platform but fail. Could anyone provide a…
0
votes
2 answers

Curl usage on openvms again

This is a follow-up to my previous question - Curl Usage on OpenVMS. So I got everything working OK on my smallish 39Mbyte file. I then changed my command file to try and deal with the proper target file which is just over 8Gig. I have 9 curl…
user2699504
  • 195
  • 1
  • 4
  • 18