Menu
  • HOME
  • TAGS

Java BufferedReader openvms

java,openvms

You are running a DCL script, aka command procedure. That is, the input is redirected to your command file. It looks like the java command is the last line in the command file, so readLine() gets EOF. Try to enter the java command from the DCL command line, the terminal,...

Perl encounters “out of memory” in openvms system

out-of-memory,perl-data-structures,openvms,vms

(edited: Pmis-spelled GFLQUOTA ) Where is that output coming from? To OpenVMS folks it suggests files in directories, which the code might suck in? There would typically be considerable malloc/align overhead per element saved. Anyway the available ADDRESSABLE memory when strictly using 32 pointers on OpenVMS is 1GB: 0x0 .....

OpenVMS (VAX) Fortran function returning a character*(*) to C

c,fortran,openvms,vax

Example 3-5 in this (old?) C User's Guide probably explains how to do this: you need the already mentioned hidden argument. An example would be: #include <stdio.h> #include <descrip.h> extern void forfunc(); main() { auto $DESCRIPTOR(in_string, "VMS fortran function return to c."); char buffer[64]; struct dsc$descriptor_s out_string = { sizeof...

Getting “Invalid URL” when uploading file using FtpWebRequest

c#,ftp,ftpwebrequest,openvms

The URL does not have a form ftp://192.168.xx.xx:FILE.TAB but ftp://192.168.xx.xx/FILE.TAB See https://en.wikipedia.org/wiki/Uniform_resource_locator...

OpenVMS - batch to check if running latest version of script

openvms,dcl

f$environment and f$search are the lexical functions you may want to use. My example strips off the version with f$extract, but you may want to use f$parse. $ this = f$environment("PROCEDURE") $ write sys$output "This is ", this $ noversion = f$extract (0,f$locate(";",this),this) $ write sys$output "without version it is...