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



When I get that it usually means that STRSRVJOB is already running. Try
ENDSRVJOB first and maybe start over.

Jim

On Wed, Apr 2, 2008 at 4:11 PM, Dave Murvin <Dave.Murvin@xxxxxxxxxxxxxxxxx>
wrote:

I am trying to start a service job on one of our machines and I get the
message "Command STRSRVJOB not valid in this mode." Msg CPD0039. The
command definition looks the same as on another system we have where I
do not get this message.



Mode(s) in which valid . . . . . . . . : *PROD


Where allowed to run . . . . . . . . . : *IMOD *BMOD *IREXX


*BREXX *BPGM *IPGM


*EXEC *INTERACT *BATCH


Allow limited user . . . . . . . . . . : *NO




The only difference that I can think of is that I believe that the
problem machine is a zero interactive type of situation.



Any ideas?



The problem I am trying to solve is with a physical file trigger program
that checks the file changes and optionally writes an audit record to
another file on selected changes. When I change the physical file
manually with WRKDBF everything works correctly, including being able to
step through the program in debug.



The application programs are Java based and running in a JVM. The JVM
does not have a library list (other than QGPL and QTEMP) and the trigger
was blowing up because it could not find the output audit file. I have
changed the program to determine the correct library by the library the
trigger program is in, then override the audit file to the appropriate
library before opening the file. When I make a change to the file using
the Java application programs, nothing is written to the audit file by
the trigger program and it does not blow up.



I am trying to start a service job on the test system JVM, then put the
trigger program in debug so I can see what is happening within the
Trigger.



Suggestions would be appreciated.



Dave





--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



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.