Checking out docs from clearcase


In our project we use Clearcase to store the documents. We generally checkout the doucment update and then checkin the document manually. We are planning automate it using wm 7.1.2. Using VCS we can maintain packages, folders, elements that are in wm but can someone suggest me how to checkin our checkout docs from clearcase ?