Changeset 7482 for trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
- Timestamp:
- 02/07/06 10:53:42 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
r7479 r7482 50 50 51 51 52 #failed codes 53 #sequence build status 54 Fbuildsequ=1 55 Fdoexcl=2 56 #run process status 57 Ftimecorr=3 58 Ffillraw=4 59 Fsinope=5 60 Ffillsinope=6 61 Fresetexcl=7 62 #sequence process status 63 Fwritesequfile=8 64 Ffilesavail=9 65 Fnoccfile=10 66 Fnocacofile=11 67 Fmerppcc=12 68 Fmerppcaco=13 69 Fcallisto=14 70 Ffillcalib=15 71 Ffillsignal=16 72 Fstar=17 73 Ffillstar=18 74 #dataset process status 75 Fstardone=19 76 Fganymed=20 77 Ffillganymed=21 78 79 80 52 81 function finish() 53 82 { … … 97 126 statustime=NULL 98 127 starttime=NULL 128 returncode=NULL 99 129 failedcode=NULL 100 failedco mment=NULL130 failedcodeadd=NULL 101 131 failedtime=NULL 102 132 } … … 107 137 echo " statustime=$statustime" 108 138 echo " starttime=$starttime" 139 echo " returncode=$returncode" 109 140 echo " failedcode=$failedcode" 110 echo " failedco mment=$failedcomment"141 echo " failedcodeadd=$failedcodeadd" 111 142 echo " failedtime=$failedtime" 112 143 echo "-- check: -$check-" … … 129 160 *) echo " failed" 130 161 starttime=noreset 131 failedcode=$check 132 failedcomment=$com 162 returncode=$check 163 failedcode=$com 164 failedcodeadd=$comadd 133 165 failedtime="Now()" 134 166 ;; … … 145 177 makedir $setstatuslogpath 146 178 setstatuslog=$setstatuslogpath/setstatus-$@-$program-$var2.log 147 checkstatus=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"$statustime\""\,"\"$ failedcode\""\,"\"$failedcomment\""\,"\"$starttime\""\,"\"$failedtime\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'`179 checkstatus=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"$statustime\""\,"\"$returncode\""\,"\"$failedcode\""\,"\"$failedcodeadd\""\,"\"$starttime\""\,"\"$failedtime\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'` 148 180 case $checkstatus in 149 181 1) echo "checkstatus=$checkstatus -> everything ok, status has been set";;
Note:
See TracChangeset
for help on using the changeset viewer.