BookmarkSubscribeRSS Feed
Bulleride
Obsidian | Level 7

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'

2 REPLIES 2
ChrisNZ
Tourmaline | Level 20

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

Bulleride
Obsidian | Level 7
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.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 890 views
  • 0 likes
  • 2 in conversation