As featured in: Data Management Solutions Using SAS Hash Table Operations: A Business Intelligence Case Study , and built from this github repository.
Runs.sas
1 /* "Runs.sas" from the SAS Press book
2  Data Management Solutions Using SAS Hash Table Operations:
3  A Business Intelligence Case Study
4 */
5 
6 proc sql;
7  create table TEMPLATE.RUNS
8  (
9  Game_SK char(16) format=$HEX32. label = "Game Surrogate Key",
10  Date num format=YYMMDD10. label = "Game Date",
11  Batter_ID num label = "Batter ID",
12  Inning num label = "Inning",
13  Top_Bot char(1) label = "Which Half Inning",
14  AB_Number num label = "At Bat Number in Game",
15  Runner_ID num label = "ID of Runner Who Scored"
16  );
17 quit;