lengter_tgsgs commands in the database