DATA Step, Macro, Functions and more

Input/Infile Statements

Reply
Contributor
Posts: 31

Input/Infile Statements

The following SAS program is submitted:
libname rawdata1 'location of SAS data library';
data work.testdata;
infile <insert item here>
input sales1 sales 2;
run;
Which one of the following is needed to complete the program correctly?

A. rawdata1
B. rawdata2
C. 'rawdata1'
D. 'rawdata2'

PROC Star
Posts: 1,760

Re: Input/Infile Statements

Posted in reply to Bulleride

This looks like it is an exercise coming after a lesson. Study the lesson and you'll  know the answer. Smiley Happy

Contributor
Posts: 31

Re: Input/Infile Statements

I studied all the lessons and now am just asking my doubts.
I have a reason for this (below) but I doubt if i'm thinking it right way and thus asked it here.
My reason:
quotes are not accepted and so options C and D rejected.
But then now we have rawdata1 and rawdata2 and am having problem choosing. I thought that this is an incomplete question but then wanted to clarify. I found this question in a question bank.
Ask a Question
Discussion stats
  • 2 replies
  • 202 views
  • 0 likes
  • 2 in conversation