DATA Step, Macro, Functions and more

how to delete a table from the work through di studio

Reply
Frequent Contributor
Posts: 76

how to delete a table from the work through di studio

Kindly explain me how to delete a table from the work through di studio  if it is generated from the di studio transformation.

Thanks,

Regards,

Ashwin

Super User
Posts: 5,260

how to delete a table from the work through di studio

Well, why?

Do you mean the physical table created by the job, or the meta dataobject in the job flow?

/Linus

Data never sleeps
Frequent Contributor
Posts: 76

how to delete a table from the work through di studio

Dear Linus,

It is a physical table created by the job in work.

Thanks,

Regards,

Ashwini

Super User
Posts: 5,260

how to delete a table from the work through di studio

If you run that job in batch, the table will be removed after the competition.

Do I understand you right that you need to delete it during the execution of the job? And why is that?

And at what point do you need it removed (describe your job flow, data, transformations etc).

There is always a possibility to remove tables in pre or post steps in each transformation.

To keep the code dynamic, you would preferable relate to the DI Studio generated macro variables _input, _output or syslast in way. How depends on when/where you need to delete the table.

/Linus

Data never sleeps
Ask a Question
Discussion stats
  • 3 replies
  • 149 views
  • 0 likes
  • 2 in conversation