Making an empty dataset in SAS

The code below shows you how to make an empty dataset in SAS.
If you omit the if-sentence  and below, then you will get an empty row in the dataset.

data StatusTable;
 length Dataset $100 Message $150 Status $10;
 call missing(Dataset, Message, Status);
 if _N_ = 0 then output;

This can also be done a bit easier in SQL.

proc sql noprint;
create table Dataset
Dataset char 100,
Message char 150,
Status char 10