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 data access? : Sas-di

0 Answers  


how many types of prompts are there? : Sas-bi

0 Answers  


How did you use the round function?give an example(don't say it will round to the nearest intger) eg1:round(84.55,.1) =84.6 eg2:round(92.64,.1)=92.6,How it is happening like this tell me the logic,that is how the round function works when we have deimal values?

2 Answers   BoA,


how do u validate sas program

3 Answers   Accenture,


what are informats in sas? : Sas-administrator

0 Answers  






How would you identify a macro variable?

0 Answers  


hi all, I need the SAS DI DUMP(A00 260) for attending the certification. if any one have, pls provide it.Please Email to vrpotluri@hotmail.com. Thanks - Ramana

0 Answers   SAS,


Describe a time when you were really stuck on a problem and how you solved it?

1 Answers  


What are SAS/ACCESS and SAS/CONNECT?

0 Answers  


how does sas handle missing values in a merge? : Sas programming

0 Answers  


Differentiate between ceil and floor functions.

0 Answers  


What is interleaving in SAS?

0 Answers  


Categories