The z/OS UNIX ipsec command global options

-d
Generates debug information during command execution. You can specify an optional debuglevel value when you use the -d option. Debug output is sent to stderr or to stdout, determined by the debug level. Debug information accumulates with the higher levels (for example debug level 3 also includes the information from level 1 and level 2).
debuglevel
The following debug levels are available:
1
Generate functional level debug information in stdout in a formatted form.

The functional level debug can be specified with any option. If there is functional level debug information for that report, it is displayed in addition to the base report (such as -o report). If not, only the base report is displayed.

2
Generate general debug information in stderr in an unformatted form for criteria that was specified when the command was issued.

You can specify the selective level debug with any option. Selective debug information is available only for -f, -F, -m, -y (without -b), and -o reports. For other reports, only the base report is displayed.

3
Generate operational level debug information in stderr in an unformatted form. This is the default debug level.