Question 32 :
1---+----10---+----20---+
Jose,47,210
Sue,,108
The following program is submitted using the raw data file above as input:
data employeestats;
(insert INFILE statement here)
input name $ age weight;
run;
The following output is desired:
name age weightJose 47 210Sue . 108
Which of the following INFILE statement completes the program and accesses the data correctly?
- infile 'file-specification' pad;
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering SAS Certification Material
Correct Answer : 2
Exp : The PAD option specifies that SAS pad variable length records with blanks. The MISSOVER option prevents SAS from reading past the end of the line when reading free formatted
You can access to full explanation to question and answer from this page.