Hi,

I written one java application and wrapped it into single executable jar
file. Which send and receive web-service and request and response written
into log's files. I need to call these application through RPGLE where I
want to capture web response in RPGLE variable and display on AS400 display
file.

When I used STRQSH and call this web service the application it execute
properly and create Log folder [First time] and request and response
written into log files.

But When I call the main class using EXTPROC the application run
successfully and return the response to RPGLE variable but the logs goes
to STDOUT file. and file logger [LOG4J.jar Which is reference in single app
jar] is not working and the log files are not updating.

Also I have another problem with STDOUT is getting refresh whenever the
application is call. can I append the STDOUT and STDERR files so I can use
these for Auditing purpose.

I got some suggestion to use OVRPRTF command with OVRPRTF FILE(STDOUT)
TOFILE(QSYSPRT) HOLD(*YES)

Please advice on above problems...


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