Using output redirection in a JVM profile
You can update the JVM profile to redirect output to a specific location.
There are a number of ways to specify different destinations for STDOUT, STDERR and JVMTRACE output.
Use of JOBLOG will result in STDOUT and JVMTRACE
redirecting to SYSPRINT if defined or to a dynamic SYSnnn if
not. STDERR will redirect to SYSOUT if defined or
to a dynamic SYSnnn if not. For example:
STDOUT=JOBLOG
STDERR=JOBLOG
JVMTRACE=JOBLOG
Output can be sent to a DD (data definition) card in your CICS
JCL. DD cards must be correctly defined or a startup error might occur.
For example:
STDOUT=//DD:STDOUT
STDERR=//DD:STDERR
JVMTRACE=//DD:TRACE
In order to establish the origin of the output, entries are written
with an IDENTITY_PREFIX
or JVMSERVER name, as JVMSERVERS
can write to the same location. If the output is JOBLOG or //DD: the
parameter will be IDENTITY_PREFIX=TRUE|FALSE
and
you can choose whether to turn it ON or OFF.
If you choose not to specify a destination the output will redirect to the zFS default file, however you can set it to send to specific zFS files. See Activating and managing tracing for JVM servers.