/* This program will create a SAS data set for the */ /* Sceening data from the 1996 National Survey of Fishing, */ /* Hunting, and Wildlife-Associated Recreation */ /* Before running this program, you will need to change */ /* the libname statement to identify where the SAS data */ /* set that will be created should be stored on your work */ /* station. You will also need to change the infile */ /* statement to specify where the program will find the */ /* screening ASCII data set "FH2.dat". */ /* Do not change the record length statement on the */ /* infile statement line. It should remain lrecl=102 */ /* Given the way the program is written now, a SAS data set */ /* with the name "screener" will be created from the ASCII */ /* data set fh2.dat and stored in the base "c" directory. */ libname fhwar 'c:\'; data fhwar.screener; infile 'c:\fh2.dat' lrecl=102; /* DO NOT CHANGE ANYTHING BELOW THIS LINE */ /* THESE LINES SPECIFY VARIABLE NAMES AND */ /* LOCATIONS FOR THE SAS DATA SET */ input SEX 1-1 SCHOOL 2-3 RACE 4-4 ADD_ST $5-6 LINENUM 7-8 ID 9-13 MODE_A 14-14 HOUSEHLD 15-16 PLACE $17-17 INCOME 18-19 MSAS 20-20 FARM 21-21 /* PERSWGT 22-29 */ MILITARY 30-30 HISPANIC 31-31 DISABLED 32-32 EVERHUNT 33-33 EVERFISH 34-34 OBSERVE 35-35 FEED 36-36 PHOTO 37-37 PLANT 38-38 NTRIP95 39-39 NTRIP96 40-40 SPECINT 41-41 AGE 42-44 RELATION 45-45 MARITAL 46-46 COMPLETE 47-47 COLLEGE 48-48 JOB 49-49 RETIRE 50-50 DISTYPE1 51-51 DISTYPE2 52-52 DISTYPE3 53-53 DISTYPE4 54-54 HUNT95 55-55 H95FIRST 56-56 HDAY95 57-57 HSPEND95 58-58 HUNT96 59-59 HUNTYEAR 60-60 HLIKLY96 61-61 FISH95 62-62 F95FIRST 63-63 FDAY95 64-64 FSPEND95 65-65 SWFISH95 66-66 FWFISH95 67-67 FISH96 68-68 FISHYEAR 69-69 FLIKLY96 70-70 NLIKLY96 71-71 NDAY95 72-72 NSPEND95 73-73 NLIKLY96 74-74 RESSTATE $75-76 LETTER_A 77-77 STATE 78-79 CENDIV 80-82 PERSONID 83-89 PERSWGT 90-101 ; run;