|
venkatreddy puram wrote:
> ADDENVVAR ENVVAR(QIBM_RPG_JAVA_PROPERTIES) +
> VALUE('-Djava.version=1.5!-Dos400.stdout=fi+
> le:/home/VReddy/stdout.txt!-Dos400.stderr=f+
> ile:/home/VReddy/stderr.txt!')
I generally use OVRDBF to redirect stdout & stderr to a source pf.
CRTSRCPF FILE(QTEMP/STDOUT) MBR(STDOUT)
CRTSRCPF FILE(QTEMP/STDERR) MBR(STDERR)
OVRDBF FILE(STDOUT) TOFILE(QTEMP/STDOUT) OVRSCOPE(*JOB)
OVRDBF FILE(STDERR) TOFILE(QTEMP/STDERR) OVRSCOPE(*JOB)
david
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.