IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Calling PLI program from Java


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Appu

New User


Joined: 26 Apr 2010
Posts: 73
Location: India

PostPosted: Tue Sep 08, 2015 11:12 am
Reply with quote

Hello Team,

I am trying to call a PLI program from Java and I am following the IBM link :
www-01.ibm.com/support/knowledgecenter/SSQ2R2_8.0.3/com.ibm.ent.pl1.zos.doc/topics/javsmp-yyy.htm%23javsmp

But while developing PLI program, I need the IBMZJNI copybook. But I couldn't find that in our system.

Searched for getting the contents of this include file ; but didn't get any.

Please help.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Tue Sep 08, 2015 11:37 am
Reply with quote

You obviously didn't look good enough. It's in a dataset that quite likely looks like
Code:
IELxxx.SIBMZSAM

so doing a 3.4 search on
Code:
IEL*.SIBMZSAM

should find it.
Back to top
View user's profile Send private message
Appu

New User


Joined: 26 Apr 2010
Posts: 73
Location: India

PostPosted: Tue Sep 08, 2015 12:15 pm
Reply with quote

Hi Prino,

Thanks for the quick response. But I had already checked that and didnt get any positive results.

The only SIBMZSAM file at my System contains only the members -> IBMZMIVP, IBMZMIV1, IBMZMIV2, IBMZMSO1
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Tue Sep 08, 2015 12:24 pm
Reply with quote

Then your site has very obviously screwed up big time, or you're using a totally out-of-date PL/I compiler...

Anyway, you should be able to find a copy on "that" site.
Back to top
View user's profile Send private message
Appu

New User


Joined: 26 Apr 2010
Posts: 73
Location: India

PostPosted: Tue Sep 08, 2015 12:30 pm
Reply with quote

I am using Enterprise PLI Compiler 3.9
From the IBM site I couldnt get the code of copybook IBMZJNI.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Tue Sep 08, 2015 12:36 pm
Reply with quote

Appu wrote:
I am using Enterprise PLI Compiler 3.9

Which, if I'm correct, is no longer supported...
Appu wrote:
From the IBM site I couldnt get the code of copybook IBMZJNI.

But you didn't look on "that" system.
Back to top
View user's profile Send private message
Appu

New User


Joined: 26 Apr 2010
Posts: 73
Location: India

PostPosted: Tue Sep 08, 2015 12:42 pm
Reply with quote

Since the copybook IBMZJNI is not available in my System, thought of creating that by copying the code from IBM references. But couldnt get the code of IBMZJNI include member.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Tue Sep 08, 2015 12:49 pm
Reply with quote

Final time: You can find it on "that" system, and if you search some of my recent posts, you will know what I mean!
Back to top
View user's profile Send private message
Appu

New User


Joined: 26 Apr 2010
Posts: 73
Location: India

PostPosted: Wed Sep 09, 2015 9:21 am
Reply with quote

Hello Team,

I managed to get that copybooks from another LPAR and my compilation went fine.
My requirement is to call a PLI program from Java. I was following the below link :

www-01.ibm.com/support/knowledgecenter/SSQ2R2_8.0.3/com.ibm.ent.pl1.zos.doc/topics/javsmp-yyy.htm%23javsmp

But there they want a .SO file ( shared object ) to be created out of PLI compilation and then link to the Java class. I am using a PLI compile JCL whose Output is a normal NCAL. So was doubting how can I create a .SO file from the compilation process in ZOS.
Back to top
View user's profile Send private message
Appu

New User


Joined: 26 Apr 2010
Posts: 73
Location: India

PostPosted: Wed Sep 09, 2015 3:01 pm
Reply with quote

Did anyone tried this before ? 'Creation of .SO files from PLI compilation ?
Back to top
View user's profile Send private message
Appu

New User


Joined: 26 Apr 2010
Posts: 73
Location: India

PostPosted: Wed Sep 16, 2015 4:55 pm
Reply with quote

Hello Team,

Can anyone guide on how to call a PLI program from Java.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Wed Sep 16, 2015 5:20 pm
Reply with quote

You should be contacting your local IBM Technical Representative and have him/her contact their resources.

That's about all that can be offered.... icon_wink.gif
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed Sep 16, 2015 6:18 pm
Reply with quote

'cept Prino has pointed out that that particular compiler is out of service.

Appu,

You have to consult the documentation to see if it is possible.

Or upgrade your PL/I.

Or try another way around it.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Calling an Open C library function in... CICS 1
No new posts DB2 Event passed to the Application P... DB2 1
Search our Forums:

Back to Top