Create View giving SQL7029
Found the problem.

The view already existed in both the original library and the target library, but with different system names.

Adding this line fixed the problem:

SYSTEM_NAME_OPTION =&gt; '0',