Hi, I am looking for a way for a MAL user function to return more than one BAT without success. Could you give me some help? I tried the following way: user.test(X_1:bat[:oid,:oid], X_2:bat[:oid,:int]):void; sql.init(); X_0 := sql.mvc(); X_1 := sql.bind(...); X_2 := sql.bind(...); end test; X1:bat[:oid,:oid] := bat.new(:oid,:oid); X2:bat[:oid,:int] := bat.new(:oid,:int); X_1:str := remote.put(url, X1); X_2:str := remote.put(url, X2); X_3:str := remote.exec(url, "user", "test", X_1, X_2); X3:bat[:oid,:oid] := remote.get(url, X_1); X4:bat[:oid,:int] := remote.get(url, X_2); io.print(X3); io.print(X4);