PROC PRINTTO routes the SAS log to a SAS catalog entry named SASUSER.PROFILE.TEST.LOG. The PRINTTO procedure uses the default libref and catalog SASUSER.PROFILE because only the entry name and type are specified. LABEL= assigns a description for the catalog entry. See SAS Log Routed to SAS Catalog Entry SASUSER.PROFILE.TEST.LOG. .
proc printto log=test.log label='Inventory program' new;