You can't refer to a recordset value directly as a parameter in DW recordsets.
One technique I have used is to add code above the recordset like:
<?php
$_GET['tempitemid'] = $run_rsfrozen['itemid'];
?>
Then set the parameter runtime value to: $_GET['tempitemid']