In Data Mover, you can copy views, macros, and stored procedures definition, and create those objects on the target system using DSA. It does not required the underlying dependent object of the copied objects in the target system. You can also use SQL instead of DSA, but it requires the underlying dependent object of the copied objects in the target system.
To copy these objects using DSA, specify the force_utility element value as dsa in the job. For example:
<dmCreate> ... <force_utility>dsa</force_utility> ... <views> <view selection="included"> <name>view1</name> <database>database1</database> </view> </views> <macros> <macro selection="included"> <name>macro1</name> <database>database1</database> </macro> </macros> <stored_procedures> <stored_procedure selection="included"> <name>storedprocedure1</name> <database>database1</database> </stored_procedure> </stored_procedures> ... </dmCreate>
If you do not specify the force_utility element value, then it uses SQL for copying objects.