This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: . ; IF Y = 9999 THEN Y = . ; IF Z = 9999 THEN Z = . ; PUT X Y Z; RUN ; ***To check the contents of the output file, bring it into an application like Notebook or use FSLIST as below; PROC FSLIST FILE= 'C:\BOOKS\APPLIED_5TH\OUTPUT.DAT' ; RUN ; ***Problem 13-8; LIBNAME RON 'C:\BOOKS\APPLIED_5TH' ; OPTIONS FMTSEARCH=(RON); PROC FORMAT LIBRARY =RON; VALUE $GENDER 'M' = 'Male' 'F' = 'Female' ; VALUE YESNO 1 = 'Yes' = 'No' ; RUN ; DATA RON.SURVEY; INFILE 'C:\BOOKS\APPLIED_5TH\SURVEY.DAT' FIRSTOBS = 2 ; LENGTH GENDER $ 1 ; INPUT GENDER $ Q1-Q5; FORMAT GENDER $GENDER. Q1-Q5 YESNO. ; RUN ;...
View Full Document
This note was uploaded on 02/27/2008 for the course ECON 4838 taught by Professor Kremenaplatikanova during the Spring '08 term at Colorado.
- Spring '08