Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Proc Compare with transposite

Status
Not open for further replies.
Jun 5, 2007
4
US
Hi have sas job like below i need the create the report like transpose ouput.i didn't know the syntex can you please look into this please.

below is the sas job.

libname prod '/sasdata/prod';
libname test '/sasdata/test';

%include '/sasdata/formats/s_smsloan';
run;

data prod.DEPARTMENT;
infile 'prod/DEPARTMENT.csv' dsd delimiter='Î' lrecl=2000 missover;
%stgDepartment;
title 'DEPARTMENT';
proc sort data=prod.DEPARTMENT;by orig_num;
run;
data test.DEPARTMENT;
infile 'test/DEPARTMENT.csv' dsd delimiter='Î' lrecl=2000 missover;
%stgDepartment;
proc sort data=test.DEPARTMENT;by orig_num;
run;
proc compare MAXPRINT=(10,1000) base=prod.DEPARTMENT compare=test.DEPARTMENT;id orig_num;
run;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top