I have a macro that I am using to load a table in a database. I want to Truncate a staging table using Pre Create Sql Statement, then Append the data from the data input stream into the staging table. When that is complete execute a stored procedure in the Post Create Sql Statement that will actually load my database table (it does a bunch of other work as well).
In my Preprod gallery environment this works fine, but when I moved it to production gallery, it appears that the Post Create SQL Statement is executing prior to the "Append Existing" into the staging table is complete.
The big difference I see in Preprod and Prod is the volume of data that is being processed. In Preprod it is 1M - 2M rows, but 40+M in Prod.
I have also verified that the user has permissions to execute the procedure.
Should the Post Create SQL Statement wait for the Append Existing data to complete before executing?
Is there a way to do further work after the Data Output tool?

