VMS Call
Introduction:
This is a Java library for calling functions in VMS shareable images using
VMS calling convention.
Including nice wrappers for for VMS RTL and system services.
Caveat
This is only tested with:
- Alpha, HP VMS 8.4 & VSI VMS 8.4-L2, Java 1.5 and C 7.3
- I64, VSI VMS 8.4-L3, Java 8 and C 7.4
This is not tested with any other combination.
Requirements:
- Java
- C [to build JNI code]
- VMS Script package [optional - only for using JavaScript or Python for processing]
Install:
- unzip vmscall-bin.zip
- unzip -aa temp.zip
- @fixup
- copy SCAN_GLOBALS_FOR_OPTION.COM and JAVA$BUILD_OPTION.EXE from wherever they are to dir
- @build
Use
From Java:
- @setup
- put /vmsjavacallpath/vmscall.jar and /vmsjavacallpath/record.jar in classpath
of your application
From JVM JavaScript (Rhino):
- @setup
- put load("vmsjavacallpath:vms.js"); in top of .js files
- run with jsshell command
From JVM Python (JPython):
- @setup
- put from vms import * in top of .py files
- run with jpython command
From JVM Python (Jython):
- @setup
- put from vms import * in top of .py files
- run with jython command
Layers:
The library is structured in different layers for different usage scenarios:
Yes. The many layers and especially the context switch between JVM and native
come with a performance penalty.
License:
- All of my code is available under Apache 2.0 license.
- JUnit is available under EPL license -
see web site.
Java Doc:
See documentation here.
Feedback:
For questions and comments send email to author arne@vajhoej.dk.
Contribute:
If you want to constribute then see here.