What is the length assigned to the target variable by the scan function?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More SAS Interview Questions

libname deepak 'C:\SAS Files'; proc format; invalue convert 'A+' = 100 'A' = 96 'A-' = 92 'B+' = 88 'B' = 84 'B-' = 80 'C+' = 76 'C' = 72 'F' = 65; data deepak.grades; input ID $3. Grade convert.; *format Grade convert. ; datalines; 001 A- 002 B+ 003 F 004 C+ 005 A ; proc print data = deepak.grades; run; I get the following output Obs ID Grade 1 001 . 2 002 . 3 003 . 4 004 . 5 005 . I don’t understand why Grade shows up as a missing value. Everything seems fine, including ID $3. Now, in case I use ID : $3. Or use column input, I get the desired output. Kindly help Deepak

7 Answers  


what are system option ? give few examples ? what are dataset options and dataset statements ? if there is a keep option and keep statement ? which one is executed first ? Difference between a WHERE statement and IF statement ? what is the advantage of using WHERE statement option on the dataset ?

1 Answers   Satyam,


name the scheduler for scheduling job and explain the scheduler? : Sas-di

0 Answers  


Hello Friends, am new to this forum and am not good at sas progarmming. please can any one of you send me couple of sample large sample SAS Jobs which can you use 200 MB of data and other sas job upto 25GB of data. am doing a performance testing on our legacy systems and new upgraded system. I would really appreciate if you can do me this favor Thank you Priya

0 Answers  


what do the pad and dim functions do? : Sas programming

0 Answers  






How to convert .xls file into CSV format?

6 Answers   Quintiles,


what is validvarname and varnum? why we are using this options; explain with a syntax for this options?

1 Answers   Max India,


What is a post baseline?

1 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 set to a second data set, and the non-matches of the right-most data set to a third data set.

10 Answers   Accenture,


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

0 Answers   Oracle,


What are the implications?

0 Answers   Quintiles,


What do the mod and int function do? : Sas programming

0 Answers  


Categories