Previous Topic: TIME Function—Returns Current or Elapsed Time

Next Topic: POI Command Processors

TRACE Function

Like standard REXX, the TRACE function returns the current value of the TRACE setting and optionally changes it to the value specified for setting.

Unlike standard REXX, program lines consisting solely of comments do not appear in OPS/REXX TRACE output.

For details on the OPS/REXX TRACE instruction, see the chapter “Using OPS/REXX” in the User Guide.

This function has the following format:

var = TRACE(setting)
setting

Supports all values for setting that are supported by standard REXX, except:

Setting

Function

!

Inhibit host command execution

?

Control interactive tracing

n or -n

Set interactive trace counts

S

Scan TRACE (without execution)