Looks like there is something wrong with the query below. Probably punctuation as the trace file isn't being created. Any thought on debugging this?
DBLOOKUP("SELECT min(col_x) WHERE col_y = '" +value_1+"' and col_z = '" +value_3+ "'", " -MDQ=idb_name.mdq -DB=db_name -trace trace_file.DBL")
DBLOOKUP("SELECT min(col_x) WHERE col_y = '" +value_1+"' and col_z = '" +value_3+ "'", " -MDQ=idb_name.mdq -DB=db_name -trace trace_file.DBL")