SAS Programming 1: Essentials LESSON 6: Practice Level 2

Reply
New Contributor
Posts: 2

SAS Programming 1: Essentials LESSON 6: Practice Level 2

SAS Programming 1: Essentials LESSON 6:

Adding permanent attributes : Practice Level 2

I am having problem in this exercise.The after submitting the following program

data work.delays;

  set orion.orders;

run;

the output should be :

work.delays contains 490 observations and 6 variables.


My Output: The data set WORK.DELAYS has 75 observations and 6 variables.


I believe I made mistake while doing previous exercise and modified the file.


Is there any wayI can replace the orion.orders file in my library so that I will get the proper result.

Frequent Contributor
Posts: 144

Re: SAS Programming 1: Essentials LESSON 6: Practice Level 2

You can download again the dataset and replaced, try to avoid save over library dataset working in the WORK library

New Contributor
Posts: 2

Re: SAS Programming 1: Essentials LESSON 6: Practice Level 2

Thanks for the help. But is there any way that I can replace only specific dat file. Because I am using SAS university Edition and for the course I am using Orion library. The library is generated by the code file and it cannot be downloaded. Please let me if that is possible.I have included a screenshot of the file from which the library is created.  1.PNG

Frequent Contributor
Posts: 144

Re: SAS Programming 1: Essentials LESSON 6: Practice Level 2

Hi,

The data ORION.Charities generate the dataset charities, I guess that in some line there is a block with DATA ORION.ORDERS that generate this dataset. Datalines line introduce the data in the dataset.

So search data ORION.orders and generate this dataset again and look for the number of observations.

Ask a Question
Discussion stats
  • 3 replies
  • 322 views
  • 0 likes
  • 2 in conversation