I have a couple of small java jobs that I need to call from an RPG program., I created a java driver program to test the java programs but I am having some issues with calling the same java programs from RPG. I have fixed all classpath issues and some days I get a valid test calling from RPG and some days, with no changes it does not work. I am trying to count the number of pages in a PDF. My count returns -1 if I encounter any errors or a valid number of pages. I need to see what the Java output is from the run to determine why the RPG call is not working. I know I am sometimes getting a java excerption but I cannot find the exception. It is not in the joblog and I have not found any documentation on where the java System.Out.Println output goes. Any help or assistance in pointing me to the correct resource would be greatly appreciated. When I call my java program to get page count from another java program it works 100% of the time but works occasionally when called from RPG. I retally need to see the java program output but I cannot find it anywhere,
------------------------------
Roger Hunt
------------------------------