It's the .x file that needs to be included in SYSLIN. I've never heard of
SIDEFILE as a DD name. The .so file is the "shared object" or DLL file. 
That's only needed at run-time. If you're using some Apace SDK, I would
look for a side file that comes with it. Again, you'd also need the Apache
.so file available somewhere at run-time. Make sure you set the DYNAM(DLL)
binder option.

It sounds like you're trying to build a JNI program that hasn't been ported
to z/OS rather than just writing new code. This can be very complex and you
should probably start with getting a JNI "hello world" program working.

http://www.ibm.com/developerworks/java/tutorials/j-jni/j-jni.html

looks like it has some good info, but there's no JCL. Most people do this
from the shell I think, but the parts needed are the same. 


In article <[email protected]> you wrote:
> Don,

> That helped! I added
> //SIDEFILE DD PATH='/u/Java6_31/J6.0/bin/j9vm/libjvm.x',  
> //            PATHDISP=(KEEP,KEEP)                        
> //SYSLIN   DD  *                                          
>  INCLUDE   '/u/Java6_31/J6.0/bin/j9vm/libjvm.so'          
>  INCLUDE OBJECT                                           
>  NAME    CALLJAVA(R)  
> //*                   
> which adds the sidefile and the library

> Unfortunately this results in unresolved on things like atoe_printf which  
> gather are apache function in the apache version of stdio? ref 
> http://svn.apache.org/repos/asf/harmony/enhanced/java/trunk/classlib/modules/portlib/src/main/native/a2e/unix/headers/stdio.h

> Is there a manual on how to do this (i.e. Have LE C call Java on z/OS) and 
> resolve all my linkedit issues?

> Janet

> >That function lives in a DLL. So you just need the side file for the
> >ink. libjvm.x is the side file. Something like:

> >INCLUDE   '/java16_64/bin/j9vm/libjvm.x'  
> >ENTRY CELQSTRT                            
> >NAME MYPROG(R)

> >-- 
> >Don Poitras 

-- 
Don Poitras - SAS Development  -  SAS Institute Inc. - SAS Campus Drive
[email protected]           (919) 531-5637                Cary, NC 27513

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to