InterviewSolution
Saved Bookmarks
| 1. |
Fetch 3 variables: height, weight, maxval(max of height or weight) with format=3.Dataset |
|
Answer» The PAD OPTION can be used to read the source DATA having the variable length records, so to read the variable length of records we can use the PAD option, the PAD option can be used with the infile statement; example data TEST; infile 'C:\Users\Anshu\Desktop\test.txt' PAD; input @1name $6. @10 SEX $1. @12 marks 3. @14 salary 8.; run; PROC print data=Test; run; |
|