Hi All,
I have a below requirement. Could anyone help me!!. Thanks.
data temp;
input name$ details $ dlm='|';
datalines;
name1|sex1;dob1
name2|sex2;dob2
name3|sex3;dob3
.
.
.
so,on
;
run;
Use DATALINES4 (aka CARDS4) statement instead. That requires a line with four semicolons to signal the end of the data.
data temp;
input name$ details $ dlm='|';
datalines4;
name1|sex1;dob1
name2|sex2;dob2
name3|sex3;dob3
.
.
.
so,on
;;;;
Use DATALINES4 (aka CARDS4) statement instead. That requires a line with four semicolons to signal the end of the data.
data temp;
input name$ details $ dlm='|';
datalines4;
name1|sex1;dob1
name2|sex2;dob2
name3|sex3;dob3
.
.
.
so,on
;;;;
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.