Before replacing a segment in IMS, you must first retrieve it with a hold lock placed on it. The GHU (Get Hold Unique) call retrieves a unique segment and places a hold on it, enabling subsequent replacement with a REPL call. Other get calls (GU, GN) retrieve segments without placing holds, and REPL is the replace operation itself, not a retrieval call.