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



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.