Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:13

0001 #!/bin/sh
0002 
0003 # Look for the first of the next new L1 keys which has not been validated.
0004 # Reference ~l1emulator/o2o/scripts/getRecentKeys.sh
0005 
0006 lastID=$1
0007 
0008 DB="cms_omds_lb"
0009 USER="cms_trg_r"
0010 PASSWORD_FILE=/nfshome0/centraltspro/secure/$USER.txt
0011 PASSWORD=`cat $PASSWORD_FILE`
0012 
0013 sqlplus -S ${USER}/${PASSWORD}@${DB} <<EOF
0014 set linesize 500
0015 set wrap on
0016 set heading off
0017 set pagesize 0
0018 set feedback off
0019 select TSC_KEY from cms_l1_hlt.L1_HLT_CONF_LATEST_VALID_VIEW;
0020 EOF
0021 
0022 exit