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

How do i send an email via smtp from my COBOL program

Hi I am total beginner in cobol and need help in compiling this sendmail program. I need to send a mail to SMTP domain using COBOL program on OpenVMS. Can you please help me to fix this compilation error? COBOl Program identification…
0
votes
2 answers

dcl assignment from a command

I am new to DCL. I want to get the out put of a command in a variable and iterate result one by one. filePath=dir /since="time_now" [.SUBDIR]*.PNG/noheader/notrail
kbang
  • 694
  • 9
  • 25
0
votes
2 answers

OpenVMS - DELETE Line if TEXT like x

I have a batch script that is writing all files inclusive of path and version number to a TMP file for a physical device. This batch script then writes any lines that demonstrate a file version number greater than a provided variable. DIRECTORYX :=…
Marcus Culver
  • 305
  • 1
  • 4
  • 8
0
votes
1 answer

Java logging / openVMS

I've been working on a project with Java on openVMS. To get right to it, my program reads a file and calls some SOAP services. I implemented log4j like normal and here is where my problem begins. It appears when my log file is opened by my…
Danman06
  • 69
  • 9
0
votes
2 answers

Does anyone know how to issue a SUBMIT command to OpenVMS over an FTP session?

I am currently using windows telnet to submit files to the OpenVMS queue via a series of sendkeys/application waits through VBA. It works, up until the end-user shifts focus away from the telnet window. I would prefer to issue the SUBMITs using an…
user652411
  • 211
  • 3
  • 11
0
votes
1 answer

How do I declare a 2 digit integer with leading zero openvms

How do I declare a 2 digit integer with leading zero openvms Example: $month = 01 $month = month + 1 $write sys$output month I want month to now be 02.
0
votes
3 answers

Deleting first four lines in a file in openvms ---> Dcl scripting

Suppose i have a file name Trialcr.txt PAR875:FXOV003506A_02> typ trialcr.txt Classes in CMS Library DISK_FXOCMS:[fxo.CMS.LIBS.FXO_LIV.SRC] FXO_CR012123 "FXO_CR1232 : FXOME-sfsfsfsf dasdad " ABC.COM 2 PQ.BSQL 1 I want to delete the first…
tejas shah
  • 11
  • 2
0
votes
1 answer

Sending signals from DCL command line on OpenVMS

I'm trying to send a signal via the command line on an OpenVMS server. Using Perl I have set up signal handlers between processes and Perl on VMS is able to send Posix signals. In addition, C++ programs are able to send and handle signals too.…
Zeroshade
  • 463
  • 2
  • 8
0
votes
1 answer

Cannot delete a printer queue on OpenVMS

Im trying to delete a printer queue but I always receive the message: $> delete/que myprinter %DELETE-E-NOTDELETED, error deleting MYPRINTER -JBC-E-REFERENCED, existing references prevent deletion $> sh que/all/full myprinter Server queue MYPRINTER,…
0
votes
3 answers

Strings, gets and do while

I'm doing an exercise in C but I have a problem when at the and I want to repeat the cicle (do while), infact if I type 1 the programme starts again by the top, but it doesn't stop at the gets(testo); . I tried plenty of ways to solve the bug…
Mitro
  • 1,230
  • 8
  • 32
  • 61
0
votes
1 answer

Alphabetical order a 2d array

I'm doing an exercise in C with strings, I have to order some words taken by a text. #include #include main(){ int cch=0, cw=0, i, j, w=0, ord=0, f=0; //counter and index char testo[80]; char…
Mitro
  • 1,230
  • 8
  • 32
  • 61
0
votes
1 answer

Find the date/time a process was created in OpenVMS

I can't seem to find the date/time a process was created in OpenVMS V8.3-1H1. The sh proc/all PROCESS_NAME command does show a Connect time which at first I though it is the time since the process was created, but after a few tests I discovered that…
Panos Rontogiannis
  • 4,154
  • 1
  • 24
  • 29
0
votes
2 answers

DCL sort - different start positions

I have a DCL script that creates a .txt file that looks something like this something,somethingelse,00000004 somethingdifferent,somethingelse1,00000002 anotherline,line,00000015 I need to sort the file by the 3rd column highest to…
user1943219
  • 396
  • 2
  • 5
  • 19
0
votes
2 answers

trapping SIGABRT from perl on VMS

Given kill.pl: $SIG{INT} = sub { print "int\n" }; $SIG{TERM} = sub { print "term\n" }; $SIG{ABRT} = sub { print "abort\n" }; print "sleeping...\n"; sleep 60; And kill.com: $ perl kill.pl And launching+aborting like so: submit /log_file=kill.log…
Jason
  • 681
  • 1
  • 9
  • 19
0
votes
2 answers

Openvms C++ - how to pass values to the environment

I am trying to pass values from a C++ program on VMS. $DESCRIPTOR( lname, (char*) "A" ); $DESCRIPTOR( lvalue, (char *) "Hello World" ); lib$set_logical( &lname, &lvalue ); lib$set_symbol (&lname,&lvalue); Should it work? If Not how do I correct…
user1987442
  • 128
  • 1
  • 2
  • 9
1 2 3
10
11