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



I'm not sure if this is the right list or not - this one has me stumped. 

We've got a Notes/Domino application that calls a program on the AS/400
using stored procedures and ODBC (I think I have that right - I'm not the
expert on that end). The AS/400 program (SQLRPGLE)  A does some things and
then calls another program B that produces a printout. So far so good -
everything has been working fine for a while.

Today, I made a change to program A so that it will write a log record
every time it's called. After I put it into production, I found that
printouts were being produced, but no log records were being written.
There's (always) the possibility of a program bug, but it's a pretty
simple program, and it writes the log right before calling program B.

Looking into it further, I discovered that the spool files that program B
is producing all think they're coming from a job that started back on
January 9th. This job is running under the profile that is used for the
ODBC connection. Most of the spool files are gone - printed & deleted -
but a few are still around (including today's), and they clearly go back
several months. So my first thought was that this is an active job that
was using the old version of program A, and if I simply ended and
restarted it everything would be fine.

Now comes the part that has me stumped: the job isn't active. It doesn't
have a job log, because it thinks it ended (although WRKJOB shows a start
time but no end time). It doesn't show up in work active jobs, and when I
try to end it it says it's already ended.  But, clearly, it continues to
produce spool files, as it has been doing for many months. We IPL every
weeek, so it's survived multiple IPLs (apparently). Domino is running on
an NT box (please, don't go there :-), and it also has been rebooted
several times recently. 

Does anyone have any clues? Any ideas about how I might debug this? Any
thoughts will be greatly appreciated!

TIA,

Mike Naughton
Senior Programmer/Analyst
Judd Wire, Inc.
124 Turnpike Road
Turners Falls, MA  01376
413-863-4357 x444
mnaughton@xxxxxxxxxxxx



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.