Note that PDI can be doing more than just running a series of SQL statements, so the statements will not necessarily help you.
for example if you just get the SQL statements, you might end up with:
SELECT * FROM table1
INSERT value5 INTO table2
But unless you know the transform, there could be group by steps, or calculators, or many other things that change what those values are. There is also the possibility that one or the other SQL statement is looping - which also changes the process.
In short, runnning pan is likely your easiest solution.
I'm no expert.
Take my comments at your own risk.
PDI user since PDI 3.1