how to handle in stream data containing semicolon in it?

Answers were Sorted based on User's Feedback



how to handle in stream data containing semicolon in it?..

Answer / prashanth

by using cards4 instead of cards.

Is This Answer Correct ?    7 Yes 0 No

how to handle in stream data containing semicolon in it?..

Answer / paul

data dummy;
input Name $ Remarks $15.;
cards4;
aaa 123;aaa;23;M
bbb 132;bbb;26;F
ccc 133;ccc;24;F
;;;;
run;

Is This Answer Correct ?    6 Yes 0 No

how to handle in stream data containing semicolon in it?..

Answer / n katepalli

we can also use datalines4 as well as cards4

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More SAS Interview Questions

what is snowflake schema? : Sas-di

0 Answers  


what is the SAS/ACCESS and SAS/CONNECT?

9 Answers   Accenture, iFlex, TCS,


What is the difference between class statement and by statement in proc means?

0 Answers  


what is the use of proc sql?

5 Answers   CitiGroup,


What are the ways to do a “table lookup” in sas?

0 Answers  






what is the difference between proc means and proc summary?

2 Answers   Accenture,


how do you want missing values handled? : Sas programming

0 Answers  


What is the purpose of _character_ and _numeric_?

0 Answers  


How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?

0 Answers  


what is sas data set?

0 Answers  


How can you put a "trace" in your program?

2 Answers   Quintiles,


You need to perform an analysis on a massive dataset by groups, but are unable to sort the data due to memory constraint. How would you accomplish the task?

2 Answers  


Categories