You don't have to install anything else on your iSeries.

But if you want to run your Java program from another computer, e.g. from
s PC, then you will need to place 2 jar files in your classpath:
jt400.jar and x4j400.jar
You can download both files from your iSeries from IFS-directory:
/QIBM/ProdData/HTTP/Public/jt400/lib




From: "Anjali, Bisht (CTR)" <Anjali.Bisht@xxxxxxxxx>
To: "COBOL Programming on the iSeries/AS400" <cobol400-l@xxxxxxxxxxxx>
Date: 15.01.2010 07:26
Subject: Re: [COBOL400-L] JAVA calling cobol routines
Sent by: cobol400-l-bounces@xxxxxxxxxxxx



Ok another question would be do I need to install anything or run any
thing on my AS/400 server to get this PCML thing going?

As of now we have the IBM JAVA toolbox installed on our AS/400 server.

Please advice


Thank you,
Anjali Bisht
Confidential, unpublished property of CIGNA. Do not duplicate or
distribute. Use and distribution limited solely to authorized personnel.
(c) Copyright 2009 CIGNA
-----Original Message-----
From: cobol400-l-bounces@xxxxxxxxxxxx
[mailto:cobol400-l-bounces@xxxxxxxxxxxx] On Behalf Of David Gibbs
Sent: 14 January 2010 01:53
To: COBOL Programming on the iSeries/AS400
Subject: Re: [COBOL400-L] JAVA calling cobol routines

On 1/11/2010 11:39 PM, Anjali, Bisht (CTR) wrote:
I have a requirement in which my java programs are going to call
COBOL programs residing on AS/400.


I recommend using PCML to call ANY program on the i. RPG, COBOL, CL, C,
etc.

http://midurl.com/pcml or
http://publib.boulder.ibm.com/infocenter/iseries/v5r3/topic/rzahh/pcml.h
tm

The Create COBOL program commands even have an option to generate the
PCML needed to call the program for you.

JAVA program might have to send the copybooks (in form of structures
to COBOL)?

Data structures are not hard to specify in PCML.

david


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.