Example :
Data Test_Sample;
set Test;
employeedept = SUBSTR(dept,1,5);
run;
Result
employeedept
MATH
HINDI
I have dept 'SC' also with 2 bytes. Can if else statement work here?
some thing like:
Data Test_Sample;
set Test;
employeedept = SUBSTR(dept,1,5);
If employeedept = SUBSTR(dept,1,2)...
HI,
1. I need to compare 2 files which has same data in it.
To check the data for beofre and after runs.
I have 2 files:
File1 before run
File2 after run
both have same columns and i need to write SAS code to comapre and find out whether there are mismatches in the 2 files.
How many are...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.