Date: Tue, 10 Nov 2009 15:09:35 -0500
Reply-To: Carol Thurman <erbcjt@LANGATE.GSU.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Carol Thurman <erbcjt@LANGATE.GSU.EDU>
Subject: Proc Format Question
Content-Type: text/plain; charset=UTF-8
Hi All,
How do I get my formats to work? I would like to see the formats for q1
and q2 in my output but they do not appear. Please see my code below.
Thanks,
Carol
>>>>>title1 'PAL Report';
>>>>>filename io 'J:\PAL Raw Data\';
>>>>>data P301;
>>>>>> infile io (P301.yyy) missover;
>>>>>> input @41 ID 3. @46 Job 1. @52 (q1-q78) ($1.);
>>>>>>proc transpose data=P301 Out=NewP301
>>>>>>name=Items
>>>>>>prefix=Response;
>>>>>run;
>>>>>Proc format;
>>>>> value $qfmt
>>>>>> q1='1. Exhibits an understanding of the curriculum'
>>>>>> q2='2. Facilitates teachers’ understanding of what is to be
taught and tested' ;
>>>>>> run;
>>>>>>data PAL; set NewP301;
>>>>>>format q1-q78 $qfmt.
>>>>>>run;