get_tocomid function

Get tocomid