If I follow the Health Center's recommendations on Reorgs and allow it to create a scheduled job to perform reorgs it actually seems to write crap scrips for them.
Code:
CONNECT TO <DBname>;
REORG TABLE <Tablename>;
CONNECT RESET;
Which obviously gives a SQL0104N on the connect statement.
Is it me or DB2? I'm on 8.2 for Windows patched to 11.
What gives?