I want to use db2batch to measure the performance of single sql queries and I can't find any explanation on how to use db2batch without sql-file.
I tried: db2batch '[SQL QUERY]' -d [DATABASE_NAME]
but I don't get any response, except: ** All arguments before the first command line option are being ignored * Timestamp: Wed Jan 24 2018 15:33:36 CET
And it seems like something is calculating but I never get a response, even for the most simple queries (select * from table).
Can someone please help me? Thank you very much!