The DATA step creates the CTRL data set from PROCLIB.SCALE. RENAME= renames BEGIN and AMOUNT as START and LABEL, respectively. The END= option specifies a variable whose value is an end-of-file flag.
data ctrl(rename=(begin=start amount=label));
   set proclib.scale end=last;