I have a question which seems to be basic but I was not able to get to it in the documentation.
I wanted to know how to initialize a dataset to null(may be null is wrong vocabulary,basically I want the dataset to have zero observations) . Because, looks like I am having one extra empty row(observation) in my dataset before I do any processing on the dataset.
1) use the STOP; command in a DATA step (at least before an OUTPUT, if coded).
2) use OPTIONS OBS=0; -- this statement's positioning will depend on the overall SAS program execution objective (considering handling of input and output SAS and external files).