0

I'm trying to run multiple statements at once. When I run each of the following 3 statements on its own, I get no issues. However, when I run all 3 at once, I get this error. What am I doing wrong?

My server is v12 and I am using DBeaver Community as the client with a JDBC connection.

Screenshot of stuff

mustaccio
  • 18,234
  • 16
  • 48
  • 57
Ray
  • 5
  • 2
  • This depends on how you execute these statements. If you run them with `Ctrl+Enter`, it tries to run all these statements as a single one, but such a "compound" statement is not supported by DB2 for Z/OS. If you want to run them as a script (a sequence of independent statements), you should use `ALT+X`. – Mark Barinstein Aug 18 '21 at 08:12
  • That did it. Thank you so much! – Ray Aug 18 '21 at 14:21

0 Answers0