×
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.
CRPence skrev den 18-02-2008 16:43:
Since the CPF3CF2 is a generic "API failed" failure condition, I
think the best approach might be to locate the full details of the
joblog for the host error, to see if there are preceding error
conditions which give rise to the generic "API failed" message. Having
just reviewed the text for that message, it seems to suggest doing that
[and the parameters specified, which would not be too easy given it is a
system debugger feature calling the API], and reporting the problem to
your service provider.
Thanks for your answer. I asked our sysop to see if he could help me
locate said details, but he could not locate anything. He mentioned
that apparently nothing was being logged.
I did a quick test and could attach the RSE debugger to a non-java job,
so apparently something works.
If there is anybody out there willing to help me on this please just run
the attached Java jar - e.g. with "java -jar count.jar 10000" in qsh -
and locate it under "My Active Jobs" in Remote System Explorer, and
right click "Debug as" -> "iSeries job. I have also tried various
unpacked variations as this might be a "the debugger only supports a
class file" issue, but cannot identify any which works.
To avoid any suspicions of trojans, the meat of the class in the jar
file is:
public static void main(String[] args) throws InterruptedException {
int i = Integer.parseInt(args[0],10);
while (i > 0) {
System.out.println("i = " + i);
Thread.sleep(1000);
i = i - 1;
}
}
Thanks in advance for any help on this. If I get it to work I'll write
a summarizing article.
--
Thorbjørn
As an Amazon Associate we earn from qualifying purchases.
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.