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
- VMS 8.4
- Java 1.5
- C 7.3
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 SYSTEM_SERVICE_INVOKE_DEMO.SAV
- @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
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.