CH2 exercise

CH2 exercise - STAT1303 Data Management 2. Introduction to...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: STAT1303 Data Management 2. Introduction to SAS Exercise 2 1. Enter and submit the following program. data ex; input id $ x1 x2; cards; A 1 2 3 3 4 B 2 3 ; run; proc print data=ex; run; (a) Explore the Log. Any notes? Any error messages? (b) Explore the Output. What is the output? (c) Explore the WORK library. What is stored in the library? (d) Save the Log to a &le ¡EX.LOG¢ , the Output to a &le ¡EX.LST¢ , the SAS program to a &le ¡EX.SAS¢ . (e) End and restart SAS. Open the &le ¡EX.SAS¢ . Before submitting the program, are there any messages in Log, any output in Output, any &les in WORK library? Submit the program and check again. (f) Start a new Editor window and enter the following program. What do you expect in the output after the program has been submitted? Submit the program and check if it is what you expect. Save the program in a &le ¡EX_1.SAS¢ . proc contents data=ex; run; (g) Start a new Editor window and enter the following program. What do you expect in the output after the program has been submitted? Submit theexpect in the output after the program has been submitted?...
View Full Document

This document was uploaded on 05/04/2011.

Page1 / 3

CH2 exercise - STAT1303 Data Management 2. Introduction to...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online