connect Clearcase from unix box

Hi am using unix box and am always download code from clearcase. I need to connect clearcase server from my unix box using shell script.I need to create view baseline everything using the sript. am not mention I need a code. Just anyone help me start the concept to write a code.

Thanks,
Chelladurai

Quite a few example clearcase commands with brief notes here, that might get you started on what your scipt will need to do. Your best bet is to manually type the commands you need to get the job done and take notes of what you did. You can then start writing your script to automate these commands.