When generating a script in Toad to backup two tablespaces using TSM, the script (please see attachment) generates three distinct BACKUP statements followed by three #SYNC statements. The first backup completes successfully but after that the script fails with the following error message:
"SQL0104N An unexpected token #SYNC wsa found following BEGIN-OF-STATEMENT. Expected tokens may include: <values>."
Steps to reproduce:
WORKAROUND:
None.
STATUS:
Waiting for fix in a future release of Toad for DB2.
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center