How do I auto-checkin files on exit?

Problem

I want to make sure my edits are checked in/canceled when I exit Cadence.

Solution

The 'VSC_CHECKIN_ON_EXIT' and 'VSC_EXIT_ACTION' settings control checkin/cleanup on exit.  

;;;----------------------------------------------------------------------------
;;;             Preferences Form->Auto Ops->Checkin On Exit
;;;
;;; Automatically checkin/cancel checked out data on exit
;;; VSC_CHECKIN_ON_EXIT: Dynamic
;;;   "Off"|nil- disable auto-checkin on exit
;;;   "Always" - always checkin modified checkouts, cancel unmodified checkouts
;;;   "Unlock" - always cancel unmodified checkouts, ignore modified checkouts
;;;   "Prompt" - Run check, then prompt for checkin/cancel/ignore
;;;   "Pre-prompt" - Prompt before running exit check, then act as "Prompt";;;
;;; Set the default action for the dialog box if VSC_CHECKIN_ON_EXIT = "Prompt";;; VSC_EXIT_ACTION: Dynamic
;;;   1 - Checkin All modified, Cancel All unmodified checkouts (default)
;;;   2 - Checkpoint All modified, keep all unmodified checkouts
;;;   3 - Just Quit
;;;   4 - List Checkouts (Don't quit, show the Manage Checkouts form)
;;;----------------------------------------------------------------------------
VSC_CHECKIN_ON_EXIT = "Off"VSC_EXIT_ACTION = 1

Both variables are set in the 'versic.conf' file located under the path specified by the 'VSC_CONFIG_DIR' environment variable.