PROC PRINT prints PROCLIB.STAFF. The FORMAT statement associates the
USCURR. format (created in
Creating a Picture Format ) with Salary, the $CITY. format (created
in
Creating a Format for Character Values )
with Site, and the BENEFIT. format with HireDate.
proc print data=proclib.staff noobs label;
label salary='Salary in U.S. Dollars';
format salary uscurr. site $city. hiredate benefit.;
title 'PROCLIB.STAFF with a Format for the Variables';
title2 'Salary, Site, and HireDate';
run;