Checking which runtime options are in effect
Using the Language Environment runtime
option RPTOPTS, you can control whether a runtime options report is
produced; with the Language Environment runtime
option MSGFILE, you can control where report output is directed. RPTOPTS
generates a report of all the runtime options that are in effect when
your application begins to run. The IBM-supplied default for RPTOPTS
is OFF, meaning a report is not generated when your application finishes
running. If you override the default setting of RPTOPTS in any of
the ways described below, a report is sent to the default location:
- On MVS™, to the standard system data set SYSOUT. SYSOUT is dynamically allocated when needed, and is directed to whatever MSGCLASS you specified on the JOB card when you ran the application.
- Under z/OS UNIX, it goes to file descriptor 2.
- On TSO/E, to SYSOUT.
If you want to change the options report destination, you can alter the default setting of the MSGFILE runtime option, which specifies where all runtime diagnostics and messages are written. For example, if you specify MSGFILE(OPTRPRT), the storage report is written to a file whose ddname is OPTRPRT. You need to allocate a data set for OPTRPRT under batch and TSO/E.
For the syntax of RPTOPTS and MSGFILE, see z/OS Language Environment Programming Reference.