The ODS SHOW statement writes to the SAS log the overall selection list, which now contains the two items that were specified in the ODS SELECT statement. (See [2] in The ODS SHOW Statement Writes the Current Selection List to the SAS Log..)
ods show;