× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



We can call the program from the command line passing in the parms and
getting a result.

The physical file is in another library. The library list is set using
edtlibl.

I don't have the code in front of me but it is a simple F spec to define a
file for input within the RPG.

If I use PCML will the call adopt the library list of the user signed on or
must I set the library list some other way?

I go into QSH, set the classpath to jt400Native.jar and to my jar. I then
use the java command to call the program.

It is successful if it is a plain RPG without the F spec.

Kristen

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of David Gibbs
Sent: Wednesday, May 09, 2007 3:07 PM
To: Java Programming on and around the iSeries / AS400
Subject: Re: PCML Problem

Kristen Henry wrote:
If I remove the F Spec it runs to completion and I see the resulting
values
output.

Can you call the program from the green screen?

What's the F spec look like?

david


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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.