sasdata-integration

SAS Data Integration - Create a physical table from metadata structure


i need to use a append object after a series of join that have a conditional run... So the join step may be not execute if the condition is not verified and his work physical dataset will not be created.

The problem is that the append step take an error if one o more input physical dataset are not created.

Is there a smart way to create a physical empty table from a metadata structure of the works table of the joins or to use the append with some non-created datasets?

The create table with the list of all field is not a real solution because i've to replicate it per 8 different joins and then replicate the job 10 times...

Thanks to all Roberto


Solution

  • At the end i've created another step that extract 0 row from the source table by the condition 1=0 in the where tab. In this way i have a empty table that i can use with a data/set in the post sql of the conditional run if the work table of the join does not exist.

    This is not a solution but a valid work around.