Returns the previous retained command record before recordId.
Prompt-only records are skipped. If recordId is not retained, no neighbor is inferred.
previous command record id, or 0 when none exists.
0
retained command record id.