set heading off;
set feedback off;
remark Following removes blank lines from output.
set pagesize 0;
set verify off;
spool runsMissingPasstable;
select 
 lorun
from
 passcalibs 
where
 pass_index = (select pass_index from passes where process_name = 'PROD_PHYSICS_CDF' and passname = '&1' and retired is null) and
 lorun = &2;
quit;
