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



In V5R1 the 'resource' package was added to the Toolbox.  The resource
package includes the RJobLog class which can be used to read from and write
to job logs.  You would use the RJobLog.writeMessage() method to add to a
job log.  The important consideration is what job log is updated.  I don't
think this class can write to any random job's job log.  It can write only
to the job log of the job carrying out its request.  In  traditional
client/server mode, this is the ProgramCall/CommandCall server job.  If
running on the iSeries and you stay on thread, the job log of the Java
program can be updated.  Note ProgramCall and CommandCall now have methods
to get a RJob class that represents the iSeries job carrying out requests.


David Wall
553-5329
AS/400 Toolbox for Java




                      "Richards, Etienne
                      (CAP, PTL)"               To:       
"'java400-l@midrange.com'" <java400-l@midrange.com>
                      <Etienne.Richards@        cc:
                      penske.com>               Subject:  Job Log
                      Sent by:
                      java400-l-admin@mi
                      drange.com


                      01/15/2002 06:49
                      AM
                      Please respond to
                      java400-l





All,

Is it possible to add text to the job log of a program?

If this is possible how can it be done from Java?
Is there and API that one might call using ProgramCall or CommandCall to
write the entry?

Thanks,
Etienne
_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
or email: JAVA400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.







As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.