<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setname(self, dim_name):
 """Set the dimension name. Args:: dim_name dimension name; setting 2 dimensions to the same name make the dimensions "shared"; in order to be shared, the dimesions must be deined similarly. Returns:: None C library equivalent : SDsetdimname """


        status = _C.SDsetdimname(self._id, dim_name)
        _checkErr('setname', status, 'cannot execute')