The extent can be opened when referencing an object, only. Open the object before opening the extent. The given extent name has to be a defined extent within the object or database.