PROC PRINT prints PROCLIB.STAFF. The LABEL statement associates the
label with Salary. The FORMAT statement associates the USCURR. format (created
in
Creating a Picture Format )
with Salary and the $CITY. format with Site. The labels and formats are not
permanently assigned.
proc print data=proclib.staff noobs label;
label salary='Salary in U.S. Dollars';
format salary uscurr. site $city.;
title 'PROCLIB.STAFF with a Format for the Variables';
title2 'Salary and Site';
run;