U can implement clock gating using DC depending on ur requirements .. if ur a beginner and just want to know the concepts of clock gating then use the simple clock gating steps .
The best way to make a scrips is by first trying line by line and then make a script if it works perfectly
please refer the manual of power compiler .. i am sure u can find best examples of clock gating scripts . else please let us kno wat exactly is ur prorb following the manual ..
if u have synopsys solvnet login access .. use this link https://solvnet.synopsys.com/dow_retrieve/Y-2006.09/pwcug/pwc_7.html