Suggest using the DATA step logic you have, creating a new file (or adding variables to the same input file, as preferred), then in the DATA step, assign your SAS variables based on the logic you have already coded.
The output will be a file that is suitable to use with PROC PRINT, while seeing that you will need likely to code some LABEL, FORMAT, VAR statements to replicate as close as possible your DATA step code.
Suggest you give the idea a try, then post back to the forum with a modified SAS routine for feedback/guidance, if needed.
Scott Barry
SBBWorks, Inc.
Suggested Google advanced search argument, this topic / post:
proc print documentation site:sas.com