Get config file from command line
-#!/usr/local/bin/dpwish -f
+#!./daq_xmanage
+
source cmds.tcl
-source ht98.tcl
+source [lindex $argv 0]
set runInfo(name) {}
set runInfo(user) {}
# distrFile slowctrl.tcl
worker addopts $evtbuildWorker -o $runInfo(output) -d $runInfo(outputType)
if {$runInfo(outputType) == "tape"} {
- set tapeInfo(hdr1) [format "%-11s ULTRIX00010001000100 98342 99366 000000DECULTRIX0000 " $runInfo(name)]
+ set tapeInfo(hdr1) [format "%-12s ULTRIX00010001000100 98342 99366 000000DECULTRIX0000 " [string toupper $runInfo(name)]]
set tapeInfo(hdr2) "F0819208192 M 00 "
set f [open /tmp/ansitape.tmp w]
puts -nonewline $f "$tapeInfo(vol)HDR1$tapeInfo(hdr1)HDR2$tapeInfo(hdr2)"