Accessing Dataset Libraries from the Unix Shell via jni?

General discussion on the JZOS batch launcher and toolkit
Post Reply
alexp42
Posts: 4
Joined: Wed Apr 04, 2007 6:05 pm

Accessing Dataset Libraries from the Unix Shell via jni?

Post by alexp42 »

Hello all, I'm working on an IBM z/OS Host in Unix Shell Mode and need to call some libraries in Datasets via JNI - <HLQ>.XYZ.XYZ.

Any ideas how to accomplish that? Is there a direct mapping from Z/OS Datasets to the UNIX interface? Maybe with JZOS?

The command System.Load("HQL.ABC.XYZ") leads to an unsatisfied Link error.

Any help appreciated! Thanks, Alex
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

As far as I know, JNI native libraries must be in DLLs (unix .so libraries).
Orlov_O
Posts: 3
Joined: Mon Apr 16, 2007 6:59 am

Post by Orlov_O »

A HFS file can be link to MVS resource. The file should be marked some bit in it's permissions. I don't know any details, but we uses this.
Cogito-Ergo-Sum
Posts: 30
Joined: Thu Jan 25, 2007 8:31 am
Location: Bengaluru, India

Post by Cogito-Ergo-Sum »

er...I maybe off the target here. But, the shouldn't the Sysyem.load specify the PDS member also ?
Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
--Sherlock Holmes
Post Reply