Hi,
In input file the first SQL should be:
select current timestamp from sysibm.sysdummy1;
In input file the last SQL should be the same as above SQL. Then manualy calculate the difference between secound and first SQL.
You can also create a table and insert two values into table and then write SQL to calculate difference.
Hope this helps,
Grofaty