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

How are the analysis data sets structured?

3 Answers  


what is program data vector? : Sas-administrator

0 Answers  


How do you add a prefix to some or all variables in a dataset using a SAS macro?

2 Answers  


Describe the function and utility of the most difficult SAS macro that you have written?

0 Answers   Oracle,


Define run-group processing?

0 Answers  






Give some examples where proc report’s defaults are different than proc print’s defaults?

0 Answers  


explain the main difference between the nodup and nodupkey options? : Sas-administrator

0 Answers  


Name statements that are execution only?

7 Answers  


How do you debug and test your SAS programs? What can you learn from the SAS log when debugging? How do you test for missing values? How would you create multiple observations from a single observation? What are some good SAS programming practices for processing very large data sets? Briefly describe 5 ways to do a "table lookup" in SAS. Why is SAS considered self-documenting? Are you sensitive to code walk-throughs, peer review, or QC review? What other SAS features do you use for error trapping and data validation? How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?

2 Answers  


What is the purpose of using the N=PS option?

2 Answers   Oracle,


What would you change about your job?

0 Answers   Oracle,


Name any two sas spawners? : sas-grid-administration

0 Answers  


Categories