× 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.



DLee@xxxxxxxx wrote:
...

I got the above error when running a POI api's to generate excel using rpg.

I only get it when I initially signon to the iSeries. If I cancel and call the program again, it works fine from then on.

Here is the java exception message behind the error. I'm running the program interactively, so I don't understand the "Read from stdin not allowed in batch" when calling method "<init>" with signature.
...

Darrell, the problem is that you need to have 3 file descriptors open in your job before you call that Java method. When you first start your job, there probably aren't any descriptors open. Later on, possibly as a result of the Java exception, there must be some open.

If you want to jump straight to the good part ... look at this post from Scott Klement from the archives. He posts a link to some code that will solve the problem.

To get the background for Scott's post, follow these two threads from the MIDRANGE-L archives (don't worry about the STRDBG/ENDDBG title of the thread - it's exactly on point for you)
http://archive.midrange.com/midrange-l/200605/threads.html#01505
http://archive.midrange.com/midrange-l/200606/threads.html#00087


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-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.