ok,nice! it works now
now i can start the real work: programming OMBPlus scripts for oracle warehouse builder,familiar with that?
my code to read my parameter file, connect to the repository and to give me a list of tables of a specific module (all thanks to you

)
set section "GLOBALE VARIABEL MAPPING VARIABEL"
# set section "GLOBALE VARIABEL"
global conf
array set conf {}
set needed 0
set fil [open "C:/parameter.txt" r]
while {![eof $fil]} {
set line [gets $fil]
puts $line
if {$line=="" || [string range $line 0 0]=="#"} { continue }
if {[string match {\[?*\]*} $line]} {
if {$section=={}} {
puts "Test2"
set needed 1
} else {
set needed 0
foreach one $section {
if {[string first $one $line]==1} { set needed 1 }
}
}
continue
}
if {$needed==0} { continue }
set part [split $line "="]
set conf([string trimright [lindex $part 0]]) [string trimleft [lindex $part 1]]
}
close $fil
set user $conf(user)
set host $conf(host)
set pass $conf(password)
set service $conf(service)
set project $conf(project)
set moduleA $conf(mod)
set port $conf(port)
OMBCONNECT $user/$pass@$host:$port:$service
puts "Connected"
OMBCC '//$project//$moduleA'
set Tablelist [OMBLIST TABLES]
set i 1
foreach tableName $Tablelist {
puts " inspecting: $tableName"
incr i
}
OMBDCC
#OMBCOMMIT
#OMBDISCONNECT