Create the data component. This DATA step does not create a data set. Instead, it creates a data component and, eventually, an output object.
The SET statement reads the data set Grain_Production. The WHERE statement subsets the data set so that the output object contains information only for rice and corn production in 1996.
data _null_; set grain_production; where type in ("Rice", "Corn") and year=1996;