Changeset 31


Ignore:
Timestamp:
30.10.2008 22:35:35 (11 years ago)
Author:
marcus
Message:

r16 | svn | 2008-01-25 16:30:13 +0100 (Fr, 25 Jan 2008) | 1 line

replaced fixed name szpc35 by environment variable SFDBHOST

Location:
SH_SHM/trunk/source/seed_io
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • SH_SHM/trunk/source/seed_io/seed_copy.csh

    r16 r31  
    44#      ============= 
    55# 
    6 # version 8, 9-May-2007 
     6# $Revision: 16 $, $Date: 2008-01-25 16:30:13 +0100 (Fr, 25 Jan 2008) $ 
    77# 
    88# copies Mini-SEED files to output directory 
     
    139139                set f_pathcache=/tmp/seed_pathcache_$$.000 
    140140                if  (-e $f_pathcache)  \rm $f_pathcache 
    141                 $SH_UTIL/sol_sql_call.csh szpc35 "select * from pathtab order by id" >$f_pathcache 
     141                $SH_UTIL/sol_sql_call.csh $SFDBHOST "select * from pathtab order by id" >$f_pathcache 
    142142                set pathcache="-pathcache=$f_pathcache" 
    143143        endif 
  • SH_SHM/trunk/source/seed_io/sfd_from_sfdb.csh

    r16 r31  
    44#      ================= 
    55# 
    6 # version 2, 23-Feb-7 
     6# $Revision: 16 $, $Date: 2008-01-25 16:30:13 +0100 (Fr, 25 Jan 2008) $ 
    77# 
    88# Create sfdfile (db type) for given time window 
     
    4848set etime=`printf "%02d%02d%02d.%03d" $hour $min $sec $ms` 
    4949 
    50 $SH_UTIL/sol_sql_call.csh szpc35 "select * from sftab where ((sdate = $edate and stime <= $etime ) or sdate < $edate) and ((edate = $sdate and etime >= $stime) or edate > $sdate)" 
     50$SH_UTIL/sol_sql_call.csh $SFDBHOST "select * from sftab where ((sdate = $edate and stime <= $etime ) or sdate < $edate) and ((edate = $sdate and etime >= $stime) or edate > $sdate)" 
Note: See TracChangeset for help on using the changeset viewer.