the sentinel was input and the list is null, so the list name must be set to null and done to true

*plistname = setnull();

*pdone = TRUE;