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
1
vote
1 answer

Openvms: Extracting RMS Indexed file t to Windows as a sequential flat file

I haven't used openvms for 20+ years. It was my 1st OS. I've been asked if it possible to copy the data from RMS files from openvms server to windows as a text file - so that it's readable. No-one has experience or knowledge of the record structures…
1
vote
2 answers

How can we eliminate junk value in field?

I have some csv record which are variable in length , for example: 0005464560,45667759,ZAMTR,!To ACC 12345678,DR,79.85 0006786565,34567899,ZAMTR,!To ACC 26575443,DR,1000 I need to seperate each of these fields and I need the last field which should…
lamwaiman1988
  • 3,729
  • 15
  • 55
  • 87
1
vote
2 answers

How can I convert an alphanumeric and use it for calculation?

I will read a sequential file which include some string such as "79.85", "1000", "212.34". I want to convert the alphanumeric into number in this format 00000.00 ? I will need to add up these numbers and move it to a field in the format 0000000.00…
lamwaiman1988
  • 3,729
  • 15
  • 55
  • 87
1
vote
0 answers

How to create a font alias if system doesn't support the font?

Currently running a program in OpenVMS on a Vax machine and sending it to a Windows 10 PC running Xming. I am having errors with the fonts. After research have found that the fonts I am having errors with are not supported on Xming (Type 1 fonts,…
lnm94673
  • 21
  • 1
1
vote
0 answers

Using Xming to show VMS display and receiving errors about fonts/color

I am trying something new to me and have not found much information on the subject... I am running Xming on a Windows 10 PC (this is on an isolated environment and cannot be connected to the internet) and sending a map program from VMS to it. The…
lnm94673
  • 21
  • 1
1
vote
2 answers

How to get command line arguments in OpenVMS Fortran?

I need to realize c-code in fortran 90 standard and stopped on next problem. How get and use command line arguments. I found GET_COMMAND_ARGUMENT getarg But it doesn't work in the openvms system with fortran 90 compiler. There is another way to…
Anton Golovenko
  • 634
  • 4
  • 19
1
vote
1 answer

Compiling for OpenVMS on Unix

Is it possible to cross-compile for OpenVMS(i64) on Unix host and just transfer the executable to OpenVMS server? If it is possible, how do you do it?
McKracken
  • 680
  • 8
  • 17
1
vote
2 answers

Convert a VMS HELP file to HTML

VMS uses a Help file format for user and code documentation. I have created a Help file for a library. Is there a command to convert a VMS Help file to HTML?
CW Holeman II
  • 4,661
  • 7
  • 41
  • 72
1
vote
1 answer

Connecting to two diffrent data bases using Pro* C code

how can we connect to two different databases using Pro* C code. I have entries in tnsnames.ora file. By default it is connection to one of the Databases using EXEC SQL CONNECT statement which I am not sure how it is connecting. I want to connect to…
rmkyjv
  • 35
  • 9
1
vote
2 answers

While updating the record in Sql using query...0(Zero) is getting omitted while storing in database

My requirement is -- Am trying to store the value entered by user into database (One of the Table in the database). But when am entering 0921 as department, then 0 (Zero) is getting ommitted and only 921 is getting stored in the database !! Which is…
1
vote
2 answers

How to Edit a text from the output in DCL -- OpenVMS scripting

I wrote the below code, which will extract the directory name along with the file name and I will use purge command on that extracted Text. $ sear VAXMANAGERS_ROOT:[PROC]TEMP.LIS LOG/out=VAXMANAGERS_ROOT:[DEV]FVLIM.TXT $ OPEN IN…
1
vote
2 answers

Openvms dhcp server

Ok so I have OpenVMS VAX running under simh. I am attempting to setup the dhcp server, but I'm unclear on some of the config. I tried following along with the online docs, but no go. My clients aren't getting dhcp leases. Any help is appreciated,…
Matt Morrow
  • 71
  • 1
  • 9
1
vote
1 answer

Shrink Oracle RDB database on OpenVMS

I have inherited a legacy OpenVMS system with an Oracle RDB database. Recently due to the backup size becoming stupidly large we have archived some of the older data out of the production database. Now we need to shrink the actual database files…
IKJ
  • 11
  • 2
1
vote
2 answers

stdint.h and C99

I read in the C99 standard that stdint.h is part of the C standard library. Do I read correctly that, if I test for C99 compliance, using: defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) that means stdint.h is supposed to be…
Cyan
  • 13,248
  • 8
  • 43
  • 78
1
vote
3 answers

How to store a result to a variable in HP OpenVMS DCL?

I want to save the output of a program to a variable. I use the following approach ,but fail. $ PIPE RUN TEST | DEFINE/JOB VALUE @SYS$PIPE $ x = f$logical("VALUE") I got an error:%DCL-W-MAXPARM, too many parameters - reenter command with fewer…
Y.C.
  • 77
  • 6