8 format Distance Count comma5.;
10 mode.defineKey(
"Distance");
11 mode.defineData(
"Distance",
"Count");
13 dcl hiter iterM(
"mode");
15 set dw.AtBats(keep=Distance) end=lr;
17 if mode.find() ne 0 then Count = 0;
20 maxCount = max(Count,maxCount);
22 do i = 1 to mode.num_items;
24 if Count = maxCount then output;