We just upgraded to V5R1 and now find that a Java program that used
to run now fails, apparently without even throwing an exception.
I took it in the debugger to trace through it, but at a certain
point, it just dumps me out with a CPF3532 "Job being serviced ended."
The line it exits on is a CommandCall.run() with the argument
"CALL PGM(LIBNAME/PGMNAME)". The called program starts up FTP to
read commands from a text member. I changed this to SBMJOB... and
it ran, but I need to wait for it to complete, because the next
line fires off a QShell script that moves the FTP'd files to a
backup area (which I obviously don't want to do before I have
finished FTPing them!).
Anybody have any ideas on how I can better deal with this?
P.S. I haven't used the debugger before and have some questions:
1) How do I search for text in the displayed source? If I put the
cursor on the debug prompt, type in some text, and hit F16, nothing
happens.
2) How can I view stdout? When the program starts running, I see
its output, but once I hit a breakpoint, I hit F23 and get a blank
screen.
I am starting the debug session with:
RUNJVA CLASS(com.weycogroup.weborder.PdfToWeb)
OPTIMIZE(*INTERPRET) OPTION(*DEBUG)
after compiling with javac -g.
--
____________________________________________________________
Glenn Holmer gholmer@weycogroup.com
Programmer/Analyst phone: 414.908.1809
Weyco Group, Inc. fax: 414.908.1601