Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Calling PLI program from Java

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
Appu

New User


Joined: 26 Apr 2010
Posts: 74
Location: India

PostPosted: Tue Sep 08, 2015 11:12 am    Post subject: Calling PLI program from Java
Reply with quote

Hello Team,

I am trying to call a PLI program from Java and I am following the IBM link :
http://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

Active Member


Joined: 07 Feb 2009
Posts: 984
Location: Oostende, Belgium

PostPosted: Tue Sep 08, 2015 11:37 am    Post subject:
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: 74
Location: India

PostPosted: Tue Sep 08, 2015 12:15 pm    Post subject:
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

Active Member


Joined: 07 Feb 2009
Posts: 984
Location: Oostende, Belgium

PostPosted: Tue Sep 08, 2015 12:24 pm    Post subject:
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: 74
Location: India

PostPosted: Tue Sep 08, 2015 12:30 pm    Post subject:
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

Active Member


Joined: 07 Feb 2009
Posts: 984
Location: Oostende, Belgium

PostPosted: Tue Sep 08, 2015 12:36 pm    Post subject:
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: 74
Location: India

PostPosted: Tue Sep 08, 2015 12:42 pm    Post subject:
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

Active Member


Joined: 07 Feb 2009
Posts: 984
Location: Oostende, Belgium

PostPosted: Tue Sep 08, 2015 12:49 pm    Post subject:
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: 74
Location: India

PostPosted: Wed Sep 09, 2015 9:21 am    Post subject:
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 :

http://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: 74
Location: India

PostPosted: Wed Sep 09, 2015 3:01 pm    Post subject:
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: 74
Location: India

PostPosted: Wed Sep 16, 2015 4:55 pm    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Sep 16, 2015 5:20 pm    Post subject: Reply to: Calling PLI program from Java
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Wed Sep 16, 2015 6:18 pm    Post subject: Reply to: Calling PLI program from Java
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts A sample of exit program for exit XMN... lind sh CICS 2 Mon Oct 03, 2016 5:07 pm
No new posts Need points to tune IMS Checkpoint Pr... satish.ms10 IMS DB/DC 2 Fri Sep 30, 2016 4:12 pm
No new posts ISPF program to set SCRNAME prino TSO/ISPF 5 Fri Sep 30, 2016 2:18 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us