Parent and response docs

Is there a way to get a handle on a parent doc from a response document using Lotus Script

Subject: Parent and response docs

SET docParent = db.GetDocumentByUNID(docResponse.GetItemValue(“$Ref”)(0))

Subject: RE: Parent and response docs

or justSET docParent = db.GetDocumentByUNID(docResponse.parentunid)