%RC

Contains a return code whenever a z/OS® Debugger command ends.

%RC initially has a value of zero unless the log file cannot be opened, in which case it has a value of -1.

Note: The %RC return code is a z/OS Debugger variable. It is not related to the return code that can be found in Register 15.